Metadata-Version: 2.4
Name: pdksetup
Version: 0.3.0
Summary: CLI for installing and managing open-source Process Design Kits (PDKs) for IC design
Author-email: Levant Labs <info@levant-labs.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/levantlabs/pdksetup
Project-URL: Repository, https://github.com/levantlabs/pdksetup
Project-URL: Issues, https://github.com/levantlabs/pdksetup/issues
Keywords: pdk,asic,vlsi,eda,open-source-silicon,sky130,gf180mcu
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: System :: Installation/Setup
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.1
Requires-Dist: rich>=13.0
Requires-Dist: requests>=2.31
Requires-Dist: volare>=0.16
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-mock>=3.12; extra == "dev"
Requires-Dist: responses>=0.25; extra == "dev"
Dynamic: license-file

# PDK Setup

A CLI tool for installing and managing 10 open-source Process Design Kits (PDKs): 7 fabricatable PDKs (which can produce real silicon) plus 3 simulation-only / predictive PDKs (for flow development, PPA studies, and education).

## Quick Start

**Prerequisites:** Python 3.11+, `git`

```bash
pip install -e .
pdk install --all
```

**Recommended for SKY130, GF180MCU, and IHP SG13G2:** Use [IIC-OSIC-TOOLS](https://github.com/iic-jku/IIC-OSIC-TOOLS), a Docker image that ships all three with their full EDA tool stacks pre-installed. This tool complements it by covering the remaining PDKs and providing unified status/update commands across all ten (seven fabricatable plus three simulation-only).

---

## PDK Reference

### SkyWater SKY130 — 130nm Bulk CMOS
- **Foundry:** SkyWater Technology
- **Status:** Stable
- **Shuttle access:** [ChipFoundry.io](https://chipfoundry.io), Cadence/SkyWater MPW
- **Runtime tools:** magic, klayout, xschem, ngspice, netgen, openroad
- **Source:** https://github.com/google/skywater-pdk (archived read-only Apr 2026; data intact)
- **License:** Apache-2.0

### GlobalFoundries GF180MCU — 180nm Bulk CMOS
- **Foundry:** GlobalFoundries
- **Status:** Stable
- **Shuttle access:** [Wafer.Space](https://wafer.space)
- **Runtime tools:** magic, klayout, xschem, ngspice, netgen, openroad
- **Source:** https://github.com/google/gf180mcu-pdk (archived read-only Apr 2026; data intact)
- **License:** Apache-2.0

### IHP SG13G2 — 130nm BiCMOS + SiGe HBT
- **Foundry:** IHP – Leibniz-Institut für innovative Mikroelektronik
- **Status:** Stable (active alpha; production release in progress)
- **Shuttle access:** IHP MPW shuttles (https://www.ihp-microelectronics.com)
- **Runtime tools:** klayout (≥0.28), ngspice, xschem, openroad
- **Source:** https://github.com/IHP-GmbH/IHP-Open-PDK
- **License:** Apache-2.0
- **Notes:** Only open PDK with a real SiGe BiCMOS process (fT up to 350 GHz). Best choice for RF/mmWave design.
- **OSDI models:** ngspice simulation of MOSFETs, resistors, and varactors requires OSDI-compiled Verilog-A models (PSP 103.6 has no built-in SPICE equivalent), which are not shipped as binaries. `pdk install` compiles them automatically whenever an OpenVAF compiler (`openvaf-r` or `openvaf`) is on PATH — including recompiling after a PDK update. Installing [OpenVAF-Reloaded](https://github.com/OpenVAF/OpenVAF-Reloaded) is the only manual step: prebuilt archives for Linux, macOS (Apple Silicon and Intel), and Windows are on the project's [releases page](https://github.com/OpenVAF/OpenVAF-Reloaded/releases); extract the whole archive (`bin/` needs its `lib/` sibling; on Linux also the LLVM 21 runtime) and put `bin/openvaf-r` on PATH — the post-install note prints exact per-platform steps. Simulating the resulting OSDI v0.4 models requires **ngspice ≥ 44** (Ubuntu 24.04's apt ships ngspice-42, which is too old).
- **Linux libLLVM recipe (no root):** the current OpenVAF-Reloaded Linux archive needs `libLLVM.so.21.1` but ships only a dangling symlink to it ([fix submitted upstream](https://github.com/OpenVAF/OpenVAF-Reloaded/pull/32)), and most distros don't package LLVM 21 yet. If `ldconfig -p | grep libLLVM.so.21` finds nothing, extract the library from apt.llvm.org without root:

  ```bash
  OVR=~/.local/opt/openvaf-r-v24.0.1mob-linux-x86_64   # wherever you extracted the archive
  POOL=https://apt.llvm.org/noble/pool/main/l/llvm-toolchain-21   # noble = Ubuntu 24.04; use your codename
  curl -sLo /tmp/libllvm21.deb "$POOL/$(curl -s $POOL/ | grep -o 'libllvm21[^"]*amd64\.deb' | head -1)"
  dpkg-deb -x /tmp/libllvm21.deb /tmp/llvm21
  rm "$OVR/lib/libLLVM.so.21.1"    # dangling symlink — remove it before copying, or cp follows it
  cp /tmp/llvm21/usr/lib/x86_64-linux-gnu/libLLVM.so.21.1 "$OVR/lib/"
  ln -sf "$OVR/bin/openvaf-r" ~/.local/bin/openvaf-r
  openvaf-r --version    # prints "OpenVAF-reloaded unknown" on success
  ```

  Once the upstream fix ships in a release, the archive will be self-contained and this step disappears. HBT-only simulation (native VBIC) and layout tools work without this step. `pdk status` reports whether the models are compiled (`OSDI models: compiled` / `OSDI models: MISSING`), and flags them as `STALE` if a PDK update has changed the Verilog-A sources since they were compiled. The installer also maintains a `$PDK_ROOT/ihp-sg13g2` symlink so the PDK's `.spiceinit`, `xschemrc`, and upstream docs resolve with the same `PDK_ROOT` used for every other PDK (set `PDK=ihp-sg13g2` for simulation).

<a id="getting-a-newer-ngspice"></a>
#### Getting a newer ngspice

IHP SG13G2 and ASAP7 need **ngspice ≥ 44**, and `pdk install` flags an older one on PATH. Distro packages often lag: Ubuntu 24.04 ships 42, and conda-forge is at 41.

- **macOS:** `brew install ngspice` (Homebrew core ships 47).
- **Linux:** build the official release from source. It takes about 1.5 minutes, needs no root apart from the build dependencies, and OSDI is enabled by default:

  ```bash
  sudo apt install build-essential bison flex libreadline-dev libxaw7-dev   # Debian/Ubuntu
  curl -L -o ngspice-47.tar.gz https://sourceforge.net/projects/ngspice/files/ng-spice-rework/47/ngspice-47.tar.gz/download
  tar xzf ngspice-47.tar.gz && cd ngspice-47
  mkdir build && cd build
  ../configure --prefix=$HOME/.local/opt/ngspice-47 --with-readline=yes --disable-debug
  make -j"$(nproc)" && make install
  ```

**Put it ahead of the system one on PATH.** The shell runs the first `ngspice` it finds in `$PATH`. Linking the new one into `~/.local/bin`, which comes before `/usr/bin` on most distros, makes it the default and leaves the system copy installed:

```bash
ln -s ~/.local/opt/ngspice-47/bin/ngspice ~/.local/bin/ngspice
hash -r && ngspice --version    # should print ngspice-47
```

If it still prints the old version, `~/.local/bin` isn't early enough in your `PATH`. Check with `type -a ngspice`. To undo, `rm ~/.local/bin/ngspice`.

### SkyWater SKY90FD — 90nm FDSOI CMOS ⚠️ EXPERIMENTAL
- **Foundry:** SkyWater Technology
- **Status:** Alpha — silicon validation ongoing; not yet production-proven
- **Shuttle access:** TBD (SkyWater direct)
- **Runtime tools:** magic, klayout, xschem, ngspice
- **Source:** https://github.com/google/sky90fd-pdk
- **License:** Apache-2.0

### ICsprout 55nm — 55nm Bulk CMOS ⚠️ EXPERIMENTAL
- **Foundry:** ICsprout Integrated Circuit Co., Ltd.
- **Status:** Preview (Oct 2025) — silicon validation pending; not approved for production tapeout
- **Shuttle access:** ICsprout direct (China)
- **Runtime tools:** klayout, openroad, yosys
- **Source:** https://github.com/openecos-projects/icsprout55-pdk
- **License:** Apache-2.0

### ICPS Minimal Fab — 5–6µm SOI CMOS (1-metal)
- **Foundry:** AIST, Japan (Minimal Fab program)
- **Status:** Stable
- **Shuttle access:** AIST Minimal Fab (~10-day turnaround, 0.5-inch wafers)
- **Runtime tools:** klayout, xschem, ngspice
- **Source:** https://github.com/mineda-support/ICPS2023_5
- **License:** Apache-2.0
- **Notes:** No formal version tags; install tracks latest main commit.

### SiEPIC EBeam PDK — Silicon Photonics
- **Foundry:** SiEPICfab / University of British Columbia
- **Status:** Stable
- **Shuttle access:** OpenEBL MPW runs (multiple per year, worldwide academic access)
- **Runtime tools:** klayout (≥0.28)
- **Source:** https://github.com/SiEPIC/SiEPIC_EBeam_PDK
- **License:** MIT
- **Notes:** Install via this tool or via KLayout Package Manager. No formal version tags; tracks latest commit.

### Simulation-only PDKs (predictive)

These are flagged `SIMULATION` in `pdk status`. They're **excluded** from `pdk install --all` by default — pass `--include-simulation` to include them, or install by name (`pdk install asap7`) anytime. No foundry offers real silicon on them; they exist for flow development, PPA studies, and education.

#### ASAP7 — 7nm FinFET predictive 🧪 SIMULATION
- **Maintainer:** Arizona State University with Arm Research (PDK); install recipe by [IIC-OSIC-TOOLS](https://github.com/iic-jku/IIC-OSIC-TOOLS) (JKU)
- **Runtime tools:** ngspice (≥ 44), Xyce, klayout, openroad, yosys
- **License:** BSD-3-Clause (ASAP7); see [ASAP7 licences](#asap7-licences) for the other parts
- **What you get:** a simulation-ready `$PDK_ROOT/asap7` (~114 MB, about a minute to build) with the eight core FinFETs (`nmos_`/`pmos_` × `lvt`, `rvt`, `slvt`, `sram`) in `tt`/`ff`/`ss` corners for ngspice (BSIM-CMG 107 via OSDI), Xyce (built-in BSIM-CMG 107) and VACASK; the 7.5-track standard cells (LEF, GDS, NLDM Liberty, CDL, Verilog); KLayout tech, DRC and LVS; LibreLane, xschem and pygmid setup.
- **How it's built:** upstream ASAP7 ships only HSPICE level-72 cards, which ngspice and Xyce can't run as-is. `pdk install asap7` runs IIC-OSIC-TOOLS' own install recipe (`install_asap7.sh`) outside Docker: it fetches pinned slices of `asap7_pdk_r1p7`, `asap7sc7p5t_28`, OpenROAD-flow-scripts, ASAP7_for_KLayout and CMC.jl, converts the cards, and compiles BSIM-CMG 107 with your OpenVAF. **The install executes that third-party script** (one line is patched: its temp directory). It builds in a staging directory and only replaces `$PDK_ROOT/asap7` once the build has fully succeeded. The upstream revisions it used are recorded in `$PDK_ROOT/asap7/SOURCES`.
- **Requirements (checked before anything is changed):** Linux or macOS (Windows: use WSL), `bash`, `python3`, `gzip`, **git ≥ 2.35** (Ubuntu 22.04 ships 2.34; use the [git PPA](https://launchpad.net/~git-core/+archive/ubuntu/ppa) or a newer distro), and a working OpenVAF-Reloaded on PATH (see the OpenVAF and libLLVM steps in the IHP section above; pdksetup runs `openvaf-r --version` to confirm it starts).
- **Tested:** Linux x86_64 (Ubuntu 24.04) with ngspice 47: `nmos_rvt`, `nfin=3`, `l=20n`, Vgs = Vds = 0.7 V, `tt` gives 37.80 µA per fin, against 37.85 µA in the ASAP7 paper (Clark et al. 2016). macOS is expected to work but is untested.
- **Simulating:** `export PDK_ROOT=...`, copy or symlink `$PDK_ROOT/asap7/libs.tech/ngspice/.spiceinit` into your simulation directory (it loads the BSIM-CMG plugin), then `.lib $PDK_ROOT/asap7/libs.tech/ngspice/models/asap7.lib tt`. Size devices with integer `nfin`; ASAP7 has a single drawn gate length, `l=20n`. ngspice must be **≥ 44**: older versions can't load the OSDI v0.4 plugin, and `pdk install` flags an older ngspice on PATH (see [Getting a newer ngspice](#getting-a-newer-ngspice)). For Xyce, use `$PDK_ROOT/asap7/libs.tech/xyce/models/asap7.lib`; no plugin is needed.
- **Not pure ASAP7:** IIC adds metal resistors, a MOM capacitor, a thin-film resistor, diodes, a PNP, 1.8 V IO FinFETs and extra gate lengths, all with **assumed parameters**. They are useful for analog exploration but are not part of ASAP7. ASAP7 itself defines only the eight FinFETs at one gate length.
- **Not included:** the 6-track library (`asap7sc6t_26`), the SRAM macros, CCS Liberty files, and the Calibre decks (not redistributable; available from ASU at http://asap.asu.edu/asap/).
- **Versions and updates:** the default install is the IIC commit verified above (`46c9966b` on `next_release`, the branch that moved ngspice to BSIM-CMG 107). `pdk check-updates` compares the content of the recipe on `next_release` (scripts, overlay, source pins) with what you installed, so unrelated IIC commits, or the same recipe merged onto `main`, don't show as updates. To install something else: `pdk install asap7 --version next_release` (branch head) or `--version <commit>`.
- **Upgrading from pdksetup ≤ 0.2.0:** older versions cloned the raw 19 GB upstream repo into the same directory, and `pdk install asap7` refuses to overwrite it. Run `pdk uninstall asap7` first.

<a id="asap7-licences"></a>
**ASAP7 licences.** ASAP7 PDK and cell libraries: BSD-3-Clause (© 2020 L. T. Clark, V. Vashishtha, Arizona State University). IIC-OSIC-TOOLS recipe and overlay: Apache-2.0 (H. Pretl, JKU). ASAP7_for_KLayout: BSD-2-Clause. OpenROAD-flow-scripts files: see `libs.tech/librelane/common/LICENSE.orfs`. **BSIM-CMG 107.0.0** (compiled on your machine from CedarEDA/CMC.jl): © 2012 Regents of the University of California, royalty-free with conditions. No charge for the UC code itself. Acknowledge UC in documentation of products based on it. Obey U.S. export rules. Reproduce its copyright notices. The full text is in `$PDK_ROOT/asap7/libs.tech/verilog-a/bsimcmg/`. BSIM-CMG was developed by the BSIM Group at the University of California, Berkeley (Prof. Chenming Hu). This summary is not legal advice.

#### ASAP5 — 5nm FinFET predictive 🧪 SIMULATION
- **Source:** https://github.com/The-OpenROAD-Project-Attic/ASAP5
- **Maintainer:** Arizona State University
- **Runtime tools:** klayout, openroad, yosys
- **License:** BSD-3-Clause
- **Notes:** Follow-on to ASAP7 at 5nm. Less broadly used than ASAP7; "attic" repo status.

#### FreePDK45 — 45nm Bulk CMOS predictive 🧪 SIMULATION
- **Source:** https://github.com/mflowgen/freepdk-45nm
- **Maintainer:** mflowgen repackage of NCSU FreePDK45
- **Runtime tools:** klayout, ngspice, openroad, yosys
- **License:** BSD
- **Notes:** Classic teaching/research PDK. Pairs with the Nangate45 standard-cell library.

---

## CLI Reference

Global options available on every command (can be placed before OR after the subcommand):

- `--pdk-root PATH` — override where PDKs are installed for this invocation. `~`, `$VAR`, and relative paths are all expanded.
- `--here` — shorthand for `--pdk-root $PWD`. Install into (or query) the current working directory.
- `--config PATH` — read/write config from a custom TOML file instead of `~/.config/pdksetup/config.toml`

Quick install-here example:
```bash
cd /work/my_chip_project
pdk install sky130 --here          # installs under /work/my_chip_project/
pdk status --here                  # check what's there
```

### `pdk install [PDK_NAME]`
Install a PDK, or install many with `--all`.

| Option | Description |
|---|---|
| `--all` | Install every **fabricatable** PDK in the registry. Simulation-only PDKs (ASAP7, ASAP5, FreePDK45) are excluded unless `--include-simulation` is also passed |
| `--skip-experimental` | With `--all`, skip SKY90FD and ICsprout 55nm |
| `--include-simulation` | With `--all`, also install simulation-only PDKs |
| `--version TEXT` | Pin a specific version: a volare version for sky130/gf180mcu, or an IIC-OSIC-TOOLS commit or branch for asap7. Errors if combined with any other PDK |

Examples:
```bash
pdk install sky130                                # single fabricatable PDK
pdk install asap7                                 # single simulation PDK (no flag needed)
pdk install sky130 --version 0.0.486              # pin a version (volare)
pdk install asap7 --version next_release          # asap7 from the IIC branch head
pdk install --all                                 # all fabricatable PDKs (7 total)
pdk install --all --skip-experimental             # stable fabricatable only
pdk install --all --include-simulation            # fabricatable + ASAP7/ASAP5/FreePDK45
pdk install --all --skip-experimental --include-simulation   # stable fab + simulation
pdk install sky130 --pdk-root /opt/pdks           # install into a different root
```

After each successful install the CLI prints the runtime tools needed to use the PDK (KLayout, Magic, ngspice, etc.) — these are **not** auto-installed; see [IIC-OSIC-TOOLS](https://github.com/iic-jku/IIC-OSIC-TOOLS) for a ready-made container.

### `pdk uninstall PDK_NAME`
Remove an installed PDK from scratch-friendly state: deletes its directory under `$PDK_ROOT`, any symlinks the tool maintains for it (e.g. IHP's `ihp-sg13g2` layout link), and its entry in the state file. Asks for confirmation unless `--yes` is passed. Anything at a link path that isn't a symlink is never touched.

```bash
pdk uninstall ihp_sg13g2          # prompts before deleting
pdk uninstall ihp_sg13g2 --yes    # no prompt
```

Volare-managed PDKs (sky130, gf180mcu) are refused — volare owns those files; remove them with `volare rm`.

### `pdk status [PDK_NAME]`
Show installation status for every known PDK, or for one specific PDK. Experimental PDKs are flagged in a separate column.

```bash
pdk status                # table of all 10 PDKs (fabricatable + simulation)
pdk status sky130         # just one row
```

### `pdk check-updates [PDK_NAME]`
Query each PDK's version source and compare to what's recorded in the local state file. PDKs that aren't installed are shown as "not installed" without a remote query.

```bash
pdk check-updates          # all installed PDKs
pdk check-updates sky130   # one PDK
```

Version sources per PDK:
- **sky130, gf180mcu** — volare release list
- **ihp_sg13g2, sky90fd** — GitHub tags
- **icsprout55** — GitHub releases (falls back to tags)
- **icps_minifab, siepic_ebeam** — latest commit SHA on the repo's default branch (no formal versioning)

HTTP errors (rate-limits, timeouts, 404s) degrade gracefully per PDK — one failed lookup does not abort the sweep.

### `pdk config show` / `pdk config set KEY VALUE`
Print or modify the persistent config at `~/.config/pdksetup/config.toml`.

```bash
pdk config show
pdk config set pdk_root /opt/pdks
pdk config set volare_root /opt/volare
```

Valid keys: `pdk_root`, `volare_root`. Unknown keys are rejected.

---

## Configuration

Where PDKs get installed is resolved from four sources. **Higher wins:**

1. **CLI flag** — `--pdk-root /path` (highest priority; applies only to that invocation)
2. **Environment variable** — `PDK_ROOT=/path`
3. **Config file** — `~/.config/pdksetup/config.toml` (edit via `pdk config set`)
4. **Default** — `~/.pdk` (lowest priority)

Same ordering applies to `volare_root` (env var `VOLARE_ROOT`, default `~/.volare`).

**Path expansion:** `~`, `$VAR`, and `${VAR}` are expanded on every path value — config file, env var, or CLI flag. Relative paths are resolved against the current working directory at the moment the command runs. So `pdk_root = "~/pdk"` in the config file and `PDK_ROOT=~/pdk` on the shell both end up at `/home/you/pdk`.

`PDK_ROOT` is the same variable Magic, Xschem, OpenROAD, and other EDA tools read from the environment, so once set it's picked up by the whole flow.

Check what's currently resolved:
```bash
pdk config show
```

### The config file

- **Default path:** `~/.config/pdksetup/config.toml`
- **Created lazily** — the file and its parent directory don't exist until you run `pdk config set` for the first time. Until then, the CLI just falls through to env var / default.
- **Plain TOML** — hand-editable. Example contents after setting both keys:
  ```toml
  [pdksetup]
  pdk_root = "/opt/pdks"
  volare_root = "/opt/volare"
  ```
- **Valid keys:** `pdk_root`, `volare_root`. Unknown keys are rejected by `pdk config set`.
- After a successful `pdk config set`, the CLI echoes the file it wrote to so you know where to find it.
- `pdk config show` prints the resolved config file path on the first line of output.

### Using a custom config file location

Pass `--config PATH` on any command to read/write from a different TOML file:

```bash
# Start from the template shipped with the repo
cp examples/config.toml /opt/pdks/mypdk.toml
# Edit /opt/pdks/mypdk.toml as needed, then use it everywhere:
pdk --config /opt/pdks/mypdk.toml install sky130
pdk install sky130 --config /opt/pdks/mypdk.toml       # position doesn't matter
pdk config show --config /opt/pdks/mypdk.toml
pdk config set pdk_root /opt/pdks --config /opt/pdks/mypdk.toml
```

An annotated starting template lives at [`examples/config.toml`](examples/config.toml). It documents every supported key and is safe to copy anywhere on disk.

If you want the custom file to be picked up *without* typing `--config` every time, the cleanest options are:

- Set a shell alias: `alias pdk='pdk --config /opt/pdks/mypdk.toml'`
- Put the file at the default path instead: `mv /opt/pdks/mypdk.toml ~/.config/pdksetup/config.toml`

### Pointing at an existing install

Installs and queries (`status`, `check-updates`) each use the `pdk_root` that's
resolved *at that moment*. If you install into one root and later run `pdk
status` with a different resolved root, status will show everything as "not
installed" — it's looking in the wrong place, not a bug.

Every install writes a state file at `$PDK_ROOT/.pdksetup/state.json`. `status`
and `check-updates` read that same file, so they must see the same `pdk_root`
the install used.

Find state files on disk:
```bash
find / -name state.json -path "*/.pdksetup/*" 2>/dev/null
```

The `pdk status` command prints its resolved `pdk_root` at the top of the
output as `Scanning: <path>` — use that to confirm it matches where you
installed. If it doesn't, re-run with the right root (one of the forms below).

Examples:
```bash
PDK_ROOT=/opt/pdks pdk install sky130         # env var, one shot
pdk install sky130 --pdk-root /opt/pdks       # CLI flag, one shot
pdk config set pdk_root /opt/pdks             # persist to config file
```

---

## Tool Compatibility Matrix

Fabricatable PDKs:

| Tool | sky130 | gf180mcu | ihp_sg13g2 | sky90fd | icsprout55 | icps_minifab | siepic_ebeam |
|---|---|---|---|---|---|---|---|
| Magic | ✓ | ✓ | — | ✓ | — | — | — |
| KLayout | ✓ | ✓ | ✓ (primary) | ✓ | ✓ | ✓ | ✓ (primary) |
| Xschem | ✓ | ✓ | ✓ | ✓ | — | ✓ | — |
| ngspice | ✓ | ✓ | ✓ | ✓ | — | ✓ | — |
| Netgen | ✓ | ✓ | — | — | — | — | — |
| OpenROAD | ✓ | ✓ | ✓ | — | ✓ | — | — |
| Yosys | ✓ | ✓ | ✓ | — | ✓ | — | — |

Simulation-only PDKs:

| Tool | asap7 | asap5 | freepdk45 |
|---|---|---|---|
| KLayout | ✓ | ✓ | ✓ |
| ngspice | ✓ (≥ 44) | — | ✓ |
| Xyce | ✓ | — | — |
| OpenROAD | ✓ (primary) | ✓ (primary) | ✓ |
| Yosys | ✓ | ✓ | ✓ |

---

## Experimental PDKs

**SKY90FD** and **ICsprout 55nm** are included but flagged as experimental. This means:
- Silicon has not been fully validated at the time of this writing
- DRC/LVS rule decks may be incomplete or change without notice
- They should not be used for production tapeouts without verifying current upstream status
- Track upstream status at their source repos (linked above)

Install experimental PDKs explicitly:
```bash
pdk install sky90fd         # one at a time, always works
pdk install --all           # includes experimental
pdk install --all --skip-experimental  # exclude them
```
