How ihp-gmbh/ihp-open-pdk works
Purpose and entry points
This is the SG13G2 130 nm BiCMOS open PDK: a distributable technology package for analog, RF, mixed-signal, and digital IC design, not an application service. Users install the PDK into supported EDA environments, then consume its layout technology, device models, libraries, and verification decks. Primary operational entry points are README.md, Makefile, and tool-specific launch/install scripts such as ihp-sg13g2/libs.tech/klayout/tech/drc/run_drc.py and ihp-sg13g2/libs.tech/klayout/tech/lvs/run_lvs.py.
Technology and layout-authoring layer
KLayout is the central layout-facing integration: technology/layer mappings, macros, Python PCells, and netlist import are packaged together. Native and Python PCells generate geometry for MOS, HBT, passives, vias, ESD, pads, and inductors from technology parameters.
• ihp-sg13g2/libs.tech/klayout/tech/sg13g2.lyt
• ihp-sg13g2/libs.tech/klayout/python/sg13g2_pycell_lib/sg13_tech.py
• ihp-sg13g2/libs.tech/klayout/python/import_netlist/import_netlist.py
Physical verification pipeline
Layout data (GDS/OAS) is checked by KLayout DRC, then extracted and compared against schematic/netlist inputs by LVS. The top decks compose technology-specific FEOL/BEOL/device rules; Python runners provide batch execution. This is the principal correctness boundary between editable layout and signoff-style physical consistency.
• ihp-sg13g2/libs.tech/klayout/tech/drc/ihp-sg13g2.drc
• ihp-sg13g2/libs.tech/klayout/tech/lvs/sg13g2.lvs
• ihp-sg13g2/libs.tech/klayout/tech/lvs/run_lvs.py
Simulation-model layer
Foundational compact models and corner selectors support ngspice and Xyce simulation, including MOS, HBT, capacitors, diodes, resistors, ESD, mismatch, and statistical variants. Verilog-A sources support compiled behavioral/device-model workflows where simulator support requires it.
• ihp-sg13g2/libs.tech/ngspice/models
• ihp-sg13g2/libs.tech/xyce/models
• ihp-sg13g2/libs.tech/verilog-a
Schematic and simulation integrations
Xschem and Qucs-S expose primitive symbols, component libraries, setup, and executable examples that bind schematics to the supplied simulation models. Xschem additionally includes Monte Carlo/sweep helpers and testbench collections. These are user-facing authoring adapters rather than sources of physical truth.
• ihp-sg13g2/libs.tech/xschem/xschemrc
• ihp-sg13g2/libs.tech/xschem/sg13g2_pr
• ihp-sg13g2/libs.tech/qucs-s/user_lib
Digital implementation and reference IP
Reference standard-cell, I/O, and SRAM deliverables provide correlated physical, logical, timing, and circuit representations: GDS, LEF, Liberty, CDL/SPICE, and Verilog. Digital-flow adapters configure LibreLane/OpenROAD and parasitic extraction inputs around these assets.
• ihp-sg13g2/libs.ref/sg13g2_stdcell
• ihp-sg13g2/libs.ref/sg13g2_io
• ihp-sg13g2/libs.ref/sg13g2_sram
• ihp-sg13g2/libs.tech/librelane/config.tcl
Alternate physical-design integrations
Magic supplies technology, DRC, extraction, and layout-generation Tcl; Netgen setup supports netlist comparison; OpenRCX and ITF assets provide parasitic/extraction flow inputs. These parallel KLayout-centered flows and must remain aligned on layer/device semantics.
• ihp-sg13g2/libs.tech/magic/ihp-sg13g2.tech
• ihp-sg13g2/libs.tech/netgen/ihp-sg13g2_setup.tcl
• ihp-sg13g2/libs.tech/parasitics/itf/sg13g2_typ.itf
Validation, characterization, and delivery controls
Measured MOS/HBT/PNP data and reports substantiate model/device characterization; QA GDS fixtures exercise layout rules. GitHub Actions run DRC and LVS regressions, making deck/PCell/library changes subject to automated physical-verification checks.
• ihp-sg13g2/libs.doc/meas
• ihp-sg13g2/libs.qa/drc
• .github/workflows/drc_regression.yml
• .github/workflows/lvs_regression.yml
Main entry points: sg13g2.lvs KLayout LVS deck · ihp-sg13g2.drc KLayout DRC deck · sg13g2.lyt KLayout technology · models ngspice models
Components 26
Layout authoring
- KLayout technology · Layer mappings and KLayout technology definition.
ihp-sg13g2/libs.tech/klayout/tech/sg13g2.lyt - Python PCells · Generates layout geometry for process devices and passives.
ihp-sg13g2/libs.tech/klayout/python/sg13g2_pycell_lib/sg13_tech.py - Netlist import
ihp-sg13g2/libs.tech/klayout/python/import_netlist/import_netlist.py - Editable layout
- Magic technology · Technology, DRC, extraction, and layout-generation support.
ihp-sg13g2/libs.tech/magic/ihp-sg13g2.tech
Physical verification
- KLayout DRC deck · Composes process FEOL, BEOL, and device rules.
ihp-sg13g2/libs.tech/klayout/tech/drc/ihp-sg13g2.drc - KLayout LVS deck
ihp-sg13g2/libs.tech/klayout/tech/lvs/sg13g2.lvs - LVS batch runner
ihp-sg13g2/libs.tech/klayout/tech/lvs/run_lvs.py - Schematic netlist
- Netgen setup
ihp-sg13g2/libs.tech/netgen/ihp-sg13g2_setup.tcl
Simulation integration
- ngspice models · Corner-selected device and statistical models.
ihp-sg13g2/libs.tech/ngspice/models - Xyce models
ihp-sg13g2/libs.tech/xyce/models - Verilog-A models
ihp-sg13g2/libs.tech/verilog-a - Xschem integration · Symbols, testbenches, sweeps, and Monte Carlo helpers.
ihp-sg13g2/libs.tech/xschem/sg13g2_pr - Qucs-S library
ihp-sg13g2/libs.tech/qucs-s/user_lib
Reference IP & digital flow
- Standard-cell library · Correlated physical, logical, timing, and circuit views.
ihp-sg13g2/libs.ref/sg13g2_stdcell - I/O library
ihp-sg13g2/libs.ref/sg13g2_io - SRAM library
ihp-sg13g2/libs.ref/sg13g2_sram - LibreLane adapter
ihp-sg13g2/libs.tech/librelane/config.tcl - Parasitic ITF
ihp-sg13g2/libs.tech/parasitics/itf/sg13g2_typ.itf
Validation & delivery
- PDK documentation · Installation and supported-tool guidance.
README.md - Build entry point
Makefile - Measured characterization · MOS, HBT, and PNP measurements and reports.
ihp-sg13g2/libs.doc/meas - DRC QA fixtures
ihp-sg13g2/libs.qa/drc - DRC regression CI
.github/workflows/drc_regression.yml - LVS regression CI
.github/workflows/lvs_regression.yml
Connections 30
- PDK documentation → Build entry point: guides
- KLayout technology → Python PCells: parameters
- KLayout technology → Netlist import: defines layers
- Python PCells → Editable layout: generates
- Netlist import → Editable layout: creates
- KLayout technology → KLayout DRC deck: shared semantics
- KLayout technology → KLayout LVS deck: shared semantics
- Editable layout → KLayout DRC deck: checked by
- KLayout DRC deck → KLayout LVS deck: clean layout proceeds to
- Editable layout → KLayout LVS deck: extracts from
- Schematic netlist → KLayout LVS deck: compared against
- LVS batch runner → KLayout LVS deck: runs
- Xschem integration → Schematic netlist: produces
- Qucs-S library → Schematic netlist: produces
- Xschem integration → ngspice models: simulates with
- Qucs-S library → ngspice models: simulates with
- Xschem integration → Xyce models: simulates with
- ngspice models → Verilog-A models: extended by
- Xyce models → Verilog-A models: extended by
- Measured characterization → ngspice models: characterizes
- Measured characterization → Xyce models: characterizes
- Standard-cell library → LibreLane adapter: implementation views
- I/O library → LibreLane adapter: implementation views
- SRAM library → LibreLane adapter: implementation views
- Parasitic ITF → LibreLane adapter: parasitic input
- Magic technology → KLayout DRC deck: aligned rules
- Netgen setup → KLayout LVS deck: aligned comparison
- DRC QA fixtures → DRC regression CI: test layouts
- DRC regression CI → KLayout DRC deck: regresses
- LVS regression CI → LVS batch runner: regresses