Every physical design run starts by reading a set of files into one database. If one file is missing, from the wrong release or in the wrong units, the run may still finish, but the floorplan, timing and sign-off results describe something that is not your chip.
This guide explains the physical design inputs: what each file contains, who supplies it, how the tool ties them together, and the checks to run before you start the floorplan. The examples use real open data: the ASAP7 predictive 7 nm library and the gcd design from OpenROAD-flow-scripts (ORFS), which you can download and check yourself. Calculations that are not taken directly from those files are labelled illustrative.
What are physical design inputs?
Place and route turns a gate-level netlist into a layout. The tool needs five kinds of information:
- Logical: what to build (the netlist).
- Timing and power: how fast each cell is and how much power it uses (Liberty
.lib). - Physical: how big each cell is, where its pins are, and what the metal stack allows (LEF).
- Intent: the timing constraints (SDC) and the power intent (UPF).
- Parasitic: how resistive and capacitive the wires are (RC rules or extraction tech files).

| Input | Format | Usually supplied by | Used for |
|---|---|---|---|
| Gate-level netlist | Verilog (.v) | Synthesis / front-end team | The design to implement |
| Timing libraries | Liberty (.lib, or compiled .db) | Library vendor or foundry kit | Delay, slew, setup/hold, power, cell function |
| Technology LEF | LEF | Foundry kit / library vendor | Layers, pitches, vias, routing rules, units |
| Cell and macro LEF | LEF | Library vendor, memory compiler, IP owner | Cell size, site, pins, blockages |
| Constraints | SDC | Front-end / timing owner | Clocks, I/O delays, exceptions, limits |
| Power intent | UPF (IEEE 1801) | Front-end / low-power owner | Domains, supplies, isolation, level shifting, retention |
| Parasitic data | Extraction tech files per RC corner; per-layer RC values | Foundry kit | Wire delay estimates and extraction |
| Floorplan or scan DEF (optional) | DEF | Earlier run, full-chip owner, DFT | Die, pins, macros, scan chain order |
| Sign-off data | GDS, CDL/SPICE netlists, DRC/LVS rule decks | Foundry and library vendor | Merging the layout, DRC, LVS |
The physical design flow shows where each step uses these files. Here we go through them one at a time.
1. Gate-level netlist
The netlist is the output of synthesis: instances of library cells and the nets that connect them. It can be flat (one module) or hierarchical (modules that instantiate other modules). Each instance line names a cell (which must exist in the libraries) and an instance (unique within its module), and maps cell pins to nets.
To get a real example, we ran Yosys on the ORFS gcd RTL with the ASAP7 RVT FF libraries (a short script, not the full ORFS synthesis recipe, so ORFS’s own result will differ). A fragment of the output:
INVx1_ASAP7_75t_R _246_ (
.A(\dpath.a_lt_b$in0[15] ),
.Y(_035_)
);
DFFHQx4_ASAP7_75t_R _509_ (
.CLK(clk),
.D(_032_),
.Q(\dpath.a_lt_b$in0[0] )
);
INVx1_ASAP7_75t_R is the cell, _246_ the instance, and .A(...) / .Y(...) the pin-to-net connections. Names starting with a backslash are escaped identifiers that keep . and $ from the RTL hierarchy; SDC and scripts must quote them correctly or they match nothing.
What physical design expects from the netlist:
- Every cell resolves to a library cell. Unresolved references become black boxes.
- No
assignstatements or constant nets where the flow does not allow them. Constants should be driven by tie cells; ORFS, for example, namesTIEHIx1andTIELOx1for ASAP7 in its platform config. - Unique modules if hierarchy is kept, and scan connected with a matching scan DEF for scan chain reordering.
- Only allowed cells. ORFS’s ASAP7 config sets
DONT_USE_CELLS = *x1p*_ASAP7* *xp*_ASAP7*plusSDF*(andICG*unless clock gating is inferred). When we re-ran our Yosys script with those patterns excluded, the cell area went from 32.061 µm² (295 cells) to 37.923 µm² (298 cells), about 18% more, because the small “xp” variants were gone. Don’t-use lists change the netlist, so implementation must use the same list as synthesis.
The final netlist has 298 instances, of which 35 are DFFHQx4_ASAP7_75t_R flip-flops (12.758 µm², 33.6% of the cell area). The older Synthesized Netlist post walks through the Verilog syntax line by line.
2. Timing libraries (.lib)
A Liberty file describes each cell’s function, timing arcs, constraints (setup, hold, recovery, removal, min pulse width), power and pin capacitance at one PVT corner. A project has one set of libraries per corner and threshold-voltage flavour. ASAP7 in ORFS, for example, has FF, TT and SS corners, split into INVBUF, SIMPLE, AO, OA and SEQ files per VT.
Things to read in the header before you trust a library:
library (asap7sc7p5t_INVBUF_RVT_FF_nldm_211120) {
delay_model : table_lookup;
capacitive_load_unit (1,ff);
time_unit : "1ps";
voltage_map (VDD, 0.77);
operating_conditions (PVT_0P77V_0C) { ... }
- Units: ps and fF here; the Nangate45 library in ORFS uses ns. Know which library sets the units for your commands (see the SDC section).
- PVT: here 0.77 V and 0 °C, the FF corner.
- Thresholds for delay and slew measurement, and the delay model (NLDM tables here). The models are explained in NLDM vs CCS vs ECSM.
- The internal library name. This file is called
asap7sc7p5t_INVBUF_RVT_FF_nldm_220122.lib, but the name inside it is..._211120. Tools refer to the internal name, for example inlib_name/cell_namepatterns for don’t-use or for library sets, so read it from the file, not the filename.
For each cell, the library also gives area, pg_pin definitions (VDD, VSS) and related_power_pin per signal pin, which UPF-aware tools use to check supply connections. More detail is in Timing Library (.lib).
3. Technology LEF
The technology LEF describes the process to the router:
- Units and grid: ASAP7’s tech LEF has
DATABASE MICRONS 1000andMANUFACTURINGGRID 0.001, so every coordinate is a multiple of 1 nm. - Layers: routing layers with direction, pitch, width, spacing and, often, area and end-of-line rules; cut layers (vias) with their size and spacing. In ASAP7, M1 is vertical with a 36 nm pitch, M4 and M5 have a 48 nm pitch, M6 and M7 64 nm, and M8 and M9 80 nm.
- Via definitions and rules used to build connections between layers.
The tech LEF is a simplified view of the rules; the full deck is checked in sign-off DRC (see technology DRCs). Both must come from the same PDK release, or the router creates violations it does not know about.
4. Cell and macro LEF
The cell LEF is an abstract of every standard cell and macro: its outline, its pins and the areas the router must avoid. It contains no transistors and no internal wiring. Here is the real ASAP7 inverter, drawn from its LEF:

MACRO INVx1_ASAP7_75t_R
CLASS CORE ;
SIZE 0.162 BY 0.27 ;
SYMMETRY X Y ;
SITE asap7sc7p5t ;
PIN A DIRECTION INPUT ; ... LAYER M1 ; RECT ...
PIN VDD DIRECTION INOUT ; USE POWER ; SHAPE ABUTMENT ; ...
- CLASS: CORE for standard cells, BLOCK for macros, PAD for I/O cells.
- SIZE and SITE: the cell is 0.162 µm wide, which is three 0.054 µm sites, and one 0.270 µm row high. In this library the site is defined in the cell LEF, not the tech LEF. Rows are built from it, so the floorplan script must use the same name (ORFS sets
PLACE_SITE = asap7sc7p5t). - PIN: direction, use (signal, power, ground, clock) and the metal shapes where the router may connect.
- OBS: obstructions the router must avoid. Here they are only on implant layers; macros usually have large OBS areas on lower metals.
Macro LEFs come from memory compilers or IP providers (ORFS includes “fakeram” LEFs for teaching). A macro LEF without a matching .lib model, or the other way round, is a very common import problem.
Real example A: cross-checking .lib against LEF
The libraries and LEFs have to describe the same cells. Two quick checks on the real ASAP7 RVT files show what to look for:

- Area: the LEF size gives 0.162 × 0.27 = 0.04374 µm², and the Liberty
areaforINVx1_ASAP7_75t_Ris 0.04374. ForDFFHQx4_ASAP7_75t_R, the LEF size of 1.35 × 0.27 = 0.3645 µm² matches the Liberty area of 0.3645. If these differ, synthesis area and placement utilization will disagree. - Cell lists: the RVT cell LEF has 212 MACROs. The five RVT FF Liberty files (INVBUF, SIMPLE, AO, OA, SEQ) together have 202 cells. Every Liberty cell has a LEF, and the 10 LEF-only cells are all physical-only: six DECAP sizes, two FILLER cells,
TAPCELLandTAPCELL_WITH_FILLER. That is expected, as these cells have no logic to time (see physical-only cells). Any other LEF-only or Liberty-only cell would be a problem to investigate.
A short script that compares MACRO names, pins and sizes in the LEF with cell (...) names, pins and areas in the libraries is worth keeping in every project.
5. Timing constraints (SDC)
The SDC file defines clocks, generated clocks, I/O delays, exceptions and design rule limits. It is covered in depth in SDC Constraints in VLSI. From the inputs point of view, two things matter.
Real example B: units. The ORFS gcd design has two SDC files for two platforms:
# nangate45/gcd/constraint.sdc # asap7/gcd/constraint.sdc
set clk_period 0.25 set clk_period 310
Both are plain numbers. They mean 0.25 ns (250 ps) for Nangate45 and 310 ps for ASAP7, because SDC values are read in the time units of the library, and the libraries use ns and ps respectively. In OpenROAD and OpenSTA, command units come from the first Liberty file read. Load the wrong library first and a 310 ps clock becomes a 310 ns clock, with no error message. That is why “huge positive slack everywhere” is one of the checks in the debug flowchart below.
Names. SDC refers to objects by name. If the netlist changed after the SDC was written (ungrouping, renaming), commands silently match nothing, so read every SDC warning before running timing.
6. Power intent (UPF)
For multi-voltage or power-gated designs, the UPF file describes power domains, supply nets and ports, power switches, isolation, level shifting and retention. Implementation uses it to insert and place the special cells, and to check that every cell is connected to the right supply. The Liberty pg_pin names and the UPF supply names have to line up. The UPF post, power gating and level shifters cover the details.
7. Parasitic (RC) data
Before routing, the tool estimates wire delay from per-unit-length resistance and capacitance. After routing, the extraction tool computes full parasitics using the foundry’s extraction tech files, one per RC corner, and writes SPEF (see Parasitic Extraction and SPEF).
ORFS keeps the early-estimate values in a setRC.tcl per platform. For ASAP7:
set_wire_rc -signal -resistance 2.65684E-02 -capacitance 1.65790E-01
set_wire_rc -clock -resistance 2.14161E-02 -capacitance 1.45426E-01
According to the OpenROAD documentation, these are per-unit-length values in the units of the first Liberty file read. For ASAP7 that means kΩ and fF per µm: about 26.6 Ω/µm and 0.166 fF/µm for signal nets.
Worked example C (illustrative): a 20 µm signal net driving one INVx1 input (pin capacitance 0.684 fF from the ASAP7 FF library):
- Wire: R = 20 × 0.0266 = 0.531 kΩ, C = 20 × 0.166 = 3.32 fF.
- Elmore delay of the wire to the pin: R × (C/2 + C_pin) = 0.531 kΩ × (1.66 + 0.684) fF ≈ 1.2 ps.
The driver sees about 4.0 fF of load. A unit slip in these values would scale every net delay, so compare pre-route and post-route net delays for sanity.
8. DEF and other optional inputs
- Floorplan DEF: die, rows, I/O pins and fixed macros, often from the full-chip owner (DEF).
- Scan DEF: scan chain end points and reorderable segments.
- MMMC view setup: library set, RC corner and SDC mode per view (MMMC in STA).
- Block budgets: I/O delays and pin positions from the top level (time budgeting).
- Sign-off views: GDS, CDL netlists for LVS, and the DRC/LVS rule decks.
Worked example D: first floorplan size from the netlist (illustrative)
Inputs also set your first floorplan. Using our Yosys netlist (37.923 µm² of cells) and the ORFS gcd ASAP7 settings CORE_UTILIZATION = 65 and CORE_ASPECT_RATIO = 1:
- Core area = 37.923 / 0.65 = 58.34 µm², so a square core is about 7.64 µm on each side.
- Rows: 7.64 / 0.270 = 28.3, so 28 rows (7.56 µm of height) if the tool rounds down.
- Row width in sites: 7.64 / 0.054 = 141.4, so about 141 sites.
ORFS’s own synthesis gives a different area, so its die will differ. The point is that cell area, site and row height all come from the inputs; if Liberty and LEF areas disagree, this is wrong from the start. Floorplanning continues from here.
Design import and sanity checks
Most tools follow the same order: physical libraries, then timing libraries, then the netlist and link, then power intent, constraints and parasitic setup.

A minimal OpenROAD import for gcd on ASAP7 looks like this (file paths shortened):
read_lef asap7_tech_1x_201209.lef
read_lef asap7sc7p5t_28_R_1x_220121a.lef
read_liberty asap7sc7p5t_INVBUF_RVT_FF_nldm_220122.lib
# ... the other RVT FF libraries ...
read_verilog gcd_netlist.v
link_design gcd
read_sdc constraint.sdc
source setRC.tcl
After loading, check:
| Check | What a problem looks like |
|---|---|
| Link / unresolved references | Black boxes, “module not found”, missing macro models |
| Library vs LEF consistency | Cells in one but not the other; pin or area mismatch |
| Units | Time, capacitance and resistance units as expected; clock period sensible |
Constraint check (check_setup / check_timing style reports) |
Unclocked registers, unconstrained endpoints, loops, multiple clocks on a register |
| SDC warnings | “No objects matched”, ignored commands |
| UPF | Unresolved supplies, cells without a domain, missing strategies |
| Baseline timing | Zero-wire-load timing far worse than synthesis means an input mismatch, not a design problem |
| Netlist quality | Assign statements, floating inputs, multi-driven nets, don’t-use cells |
The older Pre Placement Sanity Checks post lists more netlist-side checks.
Debug flowchart: design import problems

Work from the top: unresolved cells hide every other problem. Re-run the full import after each fix rather than patching the database.
Interview questions and answers
1. What are the inputs to physical design?
Gate-level netlist, timing libraries (.lib), technology LEF, cell and macro LEF, SDC, UPF for multi-voltage designs, and RC or extraction tech files per corner. Optional inputs include floorplan DEF, scan DEF, MMMC view setup and block budgets; GDS, CDL and rule decks are needed for sign-off.
2. What is the difference between the technology LEF and the cell LEF?
The tech LEF describes the process: units, layers, pitches, widths, spacing and vias. The cell LEF describes each cell or macro: size, site, pins and obstructions.
3. Why does PD need both .lib and LEF for a cell?
The .lib gives timing, power and function; the LEF gives the outline and pin shapes. They are linked by cell and pin name.
4. What happens if a cell is in the netlist but not in the libraries?
It stays unresolved and becomes a black box. It has no size or timing, so placement and timing are wrong. The fix is to load the missing library or LEF, or correct the cell name.
5. Why do filler and tap cells appear in LEF but not in .lib?
They have no logic and no timing arcs, so many libraries do not model them in Liberty. ASAP7 is an example: its 10 LEF-only cells are all decaps, fillers and taps.
6. How do SDC units get decided?
In most STA tools, SDC numbers are read in the units of the library, typically the first library loaded. The same 310 means 310 ps with ASAP7 libraries and would mean 310 ns with a library in ns.
7. What is a site in LEF?
The basic placement unit of a row. Cell widths are multiples of the site width; ASAP7’s site is 0.054 × 0.270 µm.
8. What checks do you run after import?
Link status, lib vs LEF consistency, units, unclocked or unconstrained paths, SDC and UPF warnings, and baseline timing compared with synthesis.
More questions are in the floorplan interview questions and STA guides.
FAQ
Is the RTL an input to physical design?
No. Place and route starts from the synthesized gate-level netlist. RTL is the input to synthesis, and physical synthesis flows combine the two steps.
Do I need a different LEF for each corner?
Usually not. Physical views do not change with PVT. The .lib files and RC corners change per corner.
Where can I practise with real input files?
OpenROAD-flow-scripts ships complete platforms (ASAP7, Nangate45, Sky130 and others) with LEF, Liberty, RC settings, example designs and SDC. These are for learning, not production.
Summary
Physical design inputs fall into five groups: the netlist (what to build), Liberty (timing and power), LEF (physical abstracts and the metal stack), SDC and UPF (timing and power intent), and RC data (wires). The tool binds them by name, so cell, pin, site, layer and supply names must match across files, and areas and units must agree. Before the floorplan, link with no black boxes, compare Liberty and LEF cell lists and areas, confirm units, clear SDC and UPF warnings and compare baseline timing with synthesis. A clean import saves days spent on problems that look like design issues but are really input issues.
References
- OpenROAD-flow-scripts, ASAP7 platform (tech and cell LEF, Liberty,
config.mk,setRC.tcl): https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/tree/master/flow/platforms/asap7 - OpenROAD-flow-scripts,
gcddesign (RTL and ASAP7 / Nangate45 SDC and config): https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/tree/master/flow/designs - OpenROAD documentation, parasitics estimation (
set_wire_rcunits): https://openroad.readthedocs.io/en/latest/main/openroad/est/README.html - OpenROAD-flow-scripts documentation, Correlating RC Values for PDKs: https://openroad-flow-scripts.readthedocs.io/en/latest/tutorials/SetRC.html
- L. T. Clark, V. Vashishtha, L. Shifren, A. Gujja, S. Sinha, B. Cline, C. Ramamurthy and G. Yeric, “ASAP7: A 7-nm finFET predictive process design kit,” Microelectronics Journal, vol. 53, pp. 105–115, 2016.
- Yosys Open SYnthesis Suite (used for the example netlist): https://github.com/YosysHQ/yosys
- IEEE 1801, Standard for Design and Verification of Low-Power, Energy-Aware Electronic Systems (UPF): https://standards.ieee.org/ieee/1801/7146/






