r/chipdesign • u/BaykalSarioglu • 2h ago
I built a free, zero-install browser CMOS layout, DRC, GDSII (.gds), 3D cross-section & SPICE simulator for teaching VLSI — looking for feedback!
Hi everyone,
I teach undergraduate/grad CMOS VLSI design, and every semester we lose the first couple of weeks helping students debug Linux VMs, X11 forwarding, PDK paths, and license servers before they ever draw a single inverter.
To let students actually *play* with mask layout and device physics from Day 1, I built **VLSI Studio** — a free, client-side web app (no login, no install):
**Live link:** https://eeenhub.com/vlsi *(works best on desktop)*
### What it currently does in the browser:
* **2D Mask Layout Editor & Real Binary GDSII (`.gds`) I/O:** Multi-layer CMOS (N-Well, N+/P+ Diff, N/P-Tap, Poly, Contact, M1–M6, Via1–Via5), same-layer polygon merge, copy/paste, array duplicate, flip/rotate, 6-way align/distribute, smart guides, hierarchical **Subcircuit / Standard Cell Library** (`INV`, `NAND2`, `NOR2`, `TGATE`), `.mag` I/O, and **binary GDSII v6.0 (`.gds`) export & import** with real Sky130A / GF180MCU / IHP SG13G2 layer:datatype maps, implant masks (`nsdm`/`psdm`), and `SREF` hierarchy — opens directly in KLayout / Magic / Virtuoso.
* **Live DRC & Extraction:** Real-time lambda-based DRC, automatic MOSFET `W/L` and `AD/AS/PD/PS` extraction, area/fringe interconnect capacitance extraction, auto-generated **IEEE 4-terminal CMOS schematic** with 2-way layout cross-probing, and `.cir` (LTspice) / `.spice` (ngspice) export.
* **Interactive 3D Silicon Stack:** Real-time X/Y cross-section slicing showing diffusions buried inside N-Well / P-Sub (`xj`), gate oxide (`tox`/`Cox`), overlap & junction depletion caps (`Cgs0/Cgd0`, `Cj/Cjsw`), inversion channels, and animated electron/hole carrier flow.
* **Built-in Analog SPICE Simulator:** Client-side Level-1 + subthreshold/body-effect nodal solver for `.TRAN` waveforms (`tpHL`, `tpLH`, `tr/tf`, `I_DD(t)`), `.DC` VTC sweeps (`VM`, `VIL/VIH`, noise margins, crowbar current), `.OP` operating regions (`Id`, `gm`, `Vth`), and auto truth tables — all driven by the extracted layout geometry and parasitics.
* **Full-Chip Padframe View:** Shows students how their tiny core gate sits inside VDD/GND power rings, ESD clamp diodes, passivation glass-cut bond pads, 25um gold wirebonds, and a QFN/DIP package.
### Note on PDKs / Models:
All built-in presets are simplified educational lambda-rule approximations inspired by Apache-2.0 open-source PDKs (**SkyWater 130nm, GF180MCU, IHP SG13G2**), **FreePDK45/PTM**, and generic textbook SCMOS rules — zero proprietary/NDA foundry files. You can also load your own `.prm`/`.tech` deck locally in the browser (nothing leaves your machine).
Obviously this is a teaching/intuition tool and not a replacement for Cadence/Calibre or Magic/OpenLane for real tape-outs, but I'd really appreciate feedback, bug reports, or "what would make this more useful for your students / junior engineers?" ideas from folks here!
P.S. A few people assumed this was built with Claude. I actually built it using Google Gemini (in Antigravity) with high reasoning settings. Honestly, Gemini is very underrated for engineering and coding tools like this!