IHP GDSFactory PDK
IHP's SG13G2 is an open-source 130nm SiGe BiCMOS technology for RF/mmWave electronics.
A GDSFactory-based Process Design Kit for the IHP SG13G2 130nm BiCMOS open-source technology. It provides parametric layout cells, design rule constants, simulation models, and example designs for tape-out-ready integrated circuits.
Quick start
Use Python 3.11, 3.12 or 3.13. We recommend VSCode as an IDE.
uv pip install ihp-gdsfactory --upgrade
Then you need to restart Klayout to make sure the new technology installed appears and start generating IHP-SG13G2 GDSII immediately!
import gdsfactory as gf
from ihp import PDK
from ihp.cells import nmos, rfnmos, npn13G2, rsil, cmim
PDK.activate()
# Create a parametric NMOS transistor
c = nmos(width=1.0, length=0.13, nf=4)
c.write_gds("my_nmos.gds")
c.show() # opens in KLayout
Available devices
| Category | Device | Function |
|---|---|---|
| FET | nmos | nmos |
| pmos | pmos |
|
| nmos_hv | nmos_hv |
|
| pmos_hv | pmos_hv |
|
| RF FET | rfnmos | rfnmos |
| rfpmos | rfpmos |
|
| rfnmos_hv | rfnmos_hv |
|
| rfpmos_hv | rfpmos_hv |
|
| Bipolar | npn13G2 | npn13G2 |
| npn13G2L | npn13G2L |
|
| npn13G2V | npn13G2V |
|
| pnpMPA | pnpMPA |
|
| Resistor | rsil (silicided poly) | rsil |
| rppd (p-poly) | rppd |
|
| rhigh (high-R) | rhigh |
|
| Capacitor | cmim (MIM) | cmim |
| rfcmim (RF MIM) | rfcmim |
|
| cmom (MOM) | cmom |
|
| Inductor | inductor2 | inductor2 |
| inductor3 | inductor3 |
|
| Passive | svaricap (MOS varicap) | svaricap |
| ESD protection | esd_nmos |
|
| ntap1 / ptap1 | ntap1 / ptap1 |
|
| guard_ring | guard_ring |
|
| sealring | sealring |
|
| Diode | diodevdd 2kV/4kV | diodevdd_2kv / diodevdd_4kv |
| diodevss 2kV/4kV | diodevss_2kv / diodevss_4kv |
|
| schottky_nbl1 | schottky_nbl1 |
|
| Antenna | dantenna / dpantenna | dantenna / dpantenna |
| Bondpad | bondpad | bondpad |
Project structure
ihp/
├── cells/ # Pure GDSFactory parametric layout cells
│ ├── fet_transistors.py # NMOS/PMOS (standard & HV)
│ ├── rf_transistors.py # RF-MOSFETs with guard/gate rings
│ ├── bjt_transistors.py # SiGe HBTs (npn13G2, npn13G2L, npn13G2V, pnpMPA)
│ ├── resistors.py # Polysilicon & metal resistors
│ ├── capacitors.py # MIM & MOS capacitors
│ ├── inductors.py # Spiral inductors
│ ├── passives.py # Diodes, varactors, guard rings
│ ├── via_stacks.py # Via stack generators
│ └── bondpads.py # Bondpad cells
├── models/ # Compact models & SAX S-parameter models
├── gds/ # Pre-built GDS files for some cells
├── tech.py # Layer map, design rules, technology parameters
├── layers.yaml # Layer properties and colors for KLayout LYP
└── config.py # Paths and PDK configuration
tests/
├── test_cells.py # GDS regression & settings tests for all cells
└── gds_ref/ # Golden reference GDS files
docs/ # Documentation
Key architectural concepts:
cells/contains pure GDSFactory implementations — each@gf.cellfunction builds geometry from scratch usingadd_polygonand design rule constants fromtech.py. No external layout tools are needed at runtime.models/provides SAX-compatible S-parameter models for circuit simulation.
Installation
We recommend uv
# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Installation for contributors
git clone https://github.com/gdsfactory/ihp.git
cd ihp
uv venv --python 3.12
uv sync --extra docs --extra dev
python install_tech.py
Running tests
make test # run full test suite
make test-force # run tests and regenerate reference GDS files
To run specific test subsets:
uv run pytest tests/test_cells.py -v # GDS regression + settings tests
Documentation
- RF material cards and sources
- gdsfactory docs
- IHP docs from GDSFactory and code
- IHP documentation
- IHP component diagrams
License
Pre-commit
Pre-commit hooks are centrally maintained in pdk-ci-workflow-public. make dev fetches the canonical config and installs the git hook.
make dev
Release
-
Bump the version:
tbump 0.0.1
-
Push the tag:
git push --tags
This triggers the release workflow that builds wheels and uploads them.
-
Create a pull request with the updated changelog since last release.
Metadata
Release files for ihp-gdsfactory 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ihp_gdsfactory-2.0.1.tar.gz | 10.2 MB | Without provenance | Details for ihp_gdsfactory-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ihp_gdsfactory-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for ihp_gdsfactory-2.0.1-py3-none-any.whl |
Total release size: 12.4 MB
Release files / ihp_gdsfactory-2.0.1.tar.gz
| Download URL | ihp_gdsfactory-2.0.1.tar.gz |
|---|---|
| Size | 10.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c73a71b73766572bb79382a2a219a26fe495f3bf854efd3b0de867a2987d65b
|
|
BLAKE2b-256 checksum How to use checksums |
4a7a740ca11ed659fc87c255ab1f17c3690874a6b8a5466f055ed72837baa5d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / ihp_gdsfactory-2.0.1-py3-none-any.whl
| Download URL | ihp_gdsfactory-2.0.1-py3-none-any.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5731d5e3cea186b8ad026b8057a2be31eec20e007d838bda9d9d6a31578d2d63
|
|
BLAKE2b-256 checksum How to use checksums |
0a054fe1d64a56e6f2c3d592b113de85e5fbe3f172510dce0d5c1e0f10f45884
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for ihp-gdsfactory 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.