# google/skywater-pdk architecture

> Architecture diagram of the GitHub repository google/skywater-pdk, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/google/skywater-pdk
- Repository: https://github.com/google/skywater-pdk

## Overview

SkyWater Open Source PDK is a SKY130 process-design kit for creating manufacturable ASIC designs. A designer consults process and design-rule documentation, selects primitive or standard-cell libraries, then uses the supplied models and EDA support files in analog or digital design flows; verification and simulation guidance support checking the design. The Python API provides an internal layer for interpreting PDK paths, cells, corners, sizes, and Liberty data. The README documents the product capabilities and intended flow; source excerpts are partial, so implementation-level links are limited to indexed references.

Main entry points: [`scripts/python-skywater-pdk/skywater_pdk/utils.py`](https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/utils.py) (Shared utilities), [`scripts/python-skywater-pdk/skywater_pdk/corners.py`](https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/corners.py) (Corner parsing), [`scripts/python-skywater-pdk/skywater_pdk/liberty.py`](https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/liberty.py) (Liberty processing), [`scripts/python-skywater-pdk/skywater_pdk/base.py`](https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/base.py) (Path and cell models)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_design_rules["Process and rules"]
  node_rules["Design rules"]
  node_process["SKY130 process<br/>[background.rst]"]
end

subgraph group_libraries["Cell libraries"]
  node_primitive["Primitive cells"]
  node_standard["Standard cells"]
  node_io["I/O cells"]
end

subgraph group_flows["EDA flows"]
  node_eda_support["EDA support files"]
  node_digital["Digital design"]
  node_analog["Analog design"]
  node_verification["Design verification"]
  node_simulation["Circuit simulation"]
end

subgraph group_python_api["Python API"]
  node_path_parser["Path and cell models<br/>[base.py]"]
  node_corner_parser["Corner parsing<br/>[corners.py]"]
  node_size_models["Cell size models<br/>[sizes.py]"]
  node_liberty_tools["Liberty processing<br/>[liberty.py]"]
  node_shared_utils["Shared utilities<br/>[utils.py]"]
end

node_designer(("ASIC designer"))

node_designer -->|"consults"| node_rules
node_designer -->|"selects cells"| node_primitive
node_designer -->|"selects cells"| node_standard
node_designer -->|"selects cells"| node_io
node_designer -->|"uses in flows"| node_eda_support
node_designer -->|"checks design"| node_verification
node_designer -->|"simulates design"| node_simulation
node_designer -->|"follows guidance"| node_digital
node_designer -->|"follows guidance"| node_analog
node_corner_parser -->|"parses filenames"| node_path_parser
node_corner_parser -->|"uses utilities"| node_shared_utils
node_path_parser -->|"uses utilities"| node_shared_utils
node_liberty_tools -->|"uses size models"| node_size_models
node_liberty_tools -->|"uses utilities"| node_shared_utils

click node_rules "https://github.com/google/skywater-pdk/tree/main/docs/rules"
click node_process "https://github.com/google/skywater-pdk/blob/main/docs/rules/background.rst"
click node_primitive "https://github.com/google/skywater-pdk/tree/main/libraries/sky130_fd_pr"
click node_standard "https://github.com/google/skywater-pdk/tree/main/libraries/sky130_fd_sc_hd"
click node_io "https://github.com/google/skywater-pdk/tree/main/libraries/sky130_fd_io"
click node_eda_support "https://github.com/google/skywater-pdk/tree/main/docs"
click node_digital "https://github.com/google/skywater-pdk/tree/main/docs/digital"
click node_analog "https://github.com/google/skywater-pdk/tree/main/docs/analog"
click node_verification "https://github.com/google/skywater-pdk/tree/main/docs/verification"
click node_simulation "https://github.com/google/skywater-pdk/tree/main/docs/sim"
click node_path_parser "https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/base.py"
click node_corner_parser "https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/corners.py"
click node_size_models "https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/sizes.py"
click node_liberty_tools "https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/liberty.py"
click node_shared_utils "https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/utils.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_rules,node_process toneBlue
class node_primitive,node_standard,node_io toneAmber
class node_eda_support,node_digital,node_analog,node_verification,node_simulation toneMint
class node_path_parser,node_corner_parser,node_size_models,node_liberty_tools,node_shared_utils toneRose
class node_designer toneIndigo
```

## Components

### Process and rules

- [Design rules](https://github.com/google/skywater-pdk/tree/main/docs/rules): `docs/rules`
- [SKY130 process](https://github.com/google/skywater-pdk/blob/main/docs/rules/background.rst): `docs/rules/background.rst`

### Cell libraries

- [Primitive cells](https://github.com/google/skywater-pdk/tree/main/libraries/sky130_fd_pr): `libraries/sky130_fd_pr`
- [Standard cells](https://github.com/google/skywater-pdk/tree/main/libraries/sky130_fd_sc_hd): `libraries/sky130_fd_sc_hd`
- [I/O cells](https://github.com/google/skywater-pdk/tree/main/libraries/sky130_fd_io): `libraries/sky130_fd_io`

### EDA flows

- [EDA support files](https://github.com/google/skywater-pdk/tree/main/docs): `docs`
- [Digital design](https://github.com/google/skywater-pdk/tree/main/docs/digital): `docs/digital`
- [Analog design](https://github.com/google/skywater-pdk/tree/main/docs/analog): `docs/analog`
- [Design verification](https://github.com/google/skywater-pdk/tree/main/docs/verification): `docs/verification`
- [Circuit simulation](https://github.com/google/skywater-pdk/tree/main/docs/sim): `docs/sim`

### Python API

- [Path and cell models](https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/base.py): `scripts/python-skywater-pdk/skywater_pdk/base.py`
- [Corner parsing](https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/corners.py): `scripts/python-skywater-pdk/skywater_pdk/corners.py`
- [Cell size models](https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/sizes.py): `scripts/python-skywater-pdk/skywater_pdk/sizes.py`
- [Liberty processing](https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/liberty.py): `scripts/python-skywater-pdk/skywater_pdk/liberty.py`
- [Shared utilities](https://github.com/google/skywater-pdk/blob/main/scripts/python-skywater-pdk/skywater_pdk/utils.py): `scripts/python-skywater-pdk/skywater_pdk/utils.py`

### Other components

- **ASIC designer**

## Connections

- ASIC designer → Design rules: consults (evidence: `README.rst`)
- ASIC designer → Primitive cells: selects cells (evidence: `README.rst`)
- ASIC designer → Standard cells: selects cells (evidence: `README.rst`)
- ASIC designer → I/O cells: selects cells (evidence: `README.rst`)
- ASIC designer → EDA support files: uses in flows (evidence: `README.rst`)
- ASIC designer → Design verification: checks design (evidence: `README.rst`)
- ASIC designer → Circuit simulation: simulates design (evidence: `README.rst`)
- ASIC designer → Digital design: follows guidance (evidence: `README.rst`)
- ASIC designer → Analog design: follows guidance (evidence: `README.rst`)
- Corner parsing → Path and cell models: parses filenames (evidence: `scripts/python-skywater-pdk/skywater_pdk/corners.py`)
- Corner parsing → Shared utilities: uses utilities (evidence: `scripts/python-skywater-pdk/skywater_pdk/corners.py`)
- Path and cell models → Shared utilities: uses utilities (evidence: `scripts/python-skywater-pdk/skywater_pdk/base.py`)
- Liberty processing → Cell size models: uses size models (evidence: `scripts/python-skywater-pdk/skywater_pdk/liberty.py`)
- Liberty processing → Shared utilities: uses utilities (evidence: `scripts/python-skywater-pdk/skywater_pdk/liberty.py`)
