What a PDK Contains
Section 1.2 described the EDA tools. Section 1.3 describes the manufacturing data required by these tools.
Yosys requires standard cell definitions to synthesize gate-level netlists. OpenROAD requires physical footprints for placement and timing models for timing analysis. Magic requires spacing and width rules to execute design rule checks. The foundry supplies this data through a Process Design Kit (PDK).
A Process Design Kit Defines Manufacturing Constraints
A Process Design Kit (PDK) is a formal package supplied by a semiconductor foundry. It defines the physical structures that the foundry can manufacture. It also defines the file formats and design rules that engineers must use. The PDK functions as a technical contract between the design team and the fabrication facility. Every design rule and simulation model represents a physical manufacturing limit.
A standard PDK contains four primary categories of design files:
- SPICE device models: Electrical models for transistors, diodes, resistors, and capacitors used during analog circuit simulation.
- Standard cell libraries: Pre-designed logic gates, multiplexers, and flip-flops provided across multiple data views.
- Input/Output (I/O) cell libraries: Specialized cells containing electrostatic discharge (ESD) protection and pad drivers for off-chip communication.
- Physical verification rule decks: Automated rule files for Magic, KLayout, and Netgen to execute DRC and LVS checks.
Multiple Views of a Single Standard Cell
A standard cell library does not represent a gate with a single file. Instead, the library provides multiple views of each logic cell. Different EDA tools require distinct models of the same physical structure.
| View | File Type | Description | Consuming Tool |
|---|---|---|---|
| Timing | Liberty (.lib) |
Propagation delay, setup and hold limits, and power dissipation | Yosys (Synthesis), OpenSTA (Timing) |
| Physical Abstract | LEF (.lef) |
Cell boundaries and pin locations without internal layout details | OpenROAD (Floorplan, Placement, Routing) |
| Full Layout | GDSII (.gds) |
Complete mask polygon geometry for all fabrication layers | Magic, KLayout (DRC, GDS Streamout) |
| Schematic Netlist | SPICE (.spice) |
Transistor-level schematic netlist with device dimensions | Circuit simulators, Netgen (LVS Reference) |
These multiple views implement functional abstraction. Logic synthesis requires timing and power numbers, not polygon geometries. Placement and routing tools require boundary coordinates and pin locations, not internal transistor gates. Full layout files remain reserved for physical verification and mask generation.
Association of PDK Files with Flow Stages
A PDK directory contains files with extensions such as .lib, .lef, .gds, and .spice. Each tool stage consumes specific file types:
.libfiles: Yosys reads Liberty files during synthesis. OpenSTA evaluates Liberty files at timing checkpoints throughout the flow..leffiles: OpenROAD reads cell and technology LEF files during floorplanning, placement, and routing..gdsfiles: KLayout displays full polygon layouts. The final signoff stage writes out the completed chip GDSII file..spiceand.techrule decks: Netgen uses SPICE netlists for LVS comparisons. Magic and KLayout use rule decks for DRC validation.
Design teams must verify PDK paths when synthesis or placement fails. Missing .lib or .lef files prevent tool execution. Furthermore, all views must come from the same PDK release version. Mixing files across mismatched PDK versions creates subtle physical verification failures.
Practice Exercise
An engineer suggests using only the full GDSII file for placement and routing instead of a LEF abstract. Why is this suggestion inefficient?
Solution
A GDSII file contains all polygon details for every transistor and diffusion layer. Parsing full geometric details for hundreds of thousands of standard cells slows placement and routing significantly.
A LEF file provides a compact abstract. It includes only the cell boundary and pin locations required for routing connections. Omitting internal mask details reduces memory consumption and accelerates routing algorithms.
The next article examines the specific architecture of the SkyWater SKY130 process node.