Question bank · Physical Design / STA Engineer
Physical Design and STA interview questions
The 100 questions physical design and STA interviewers really ask, picked from recent interview reports at chip product companies and implementation-service firms. Inputs and sanity checks, floorplan and power grid, placement and congestion, CTS, routing and sign-off, and a deep STA section with worked numericals, each answer explained step by step with the likely follow-up and diagrams.
How Physical Design and STA interviews actually run
From recent interview reports at product companies and design-service firms in India and abroad. Rounds vary by company; this is the common shape.
- Online testFor freshers: digital electronics MCQs, CMOS basics (inverter, delay, power), simple STA calculations, and aptitude. Some firms add basic Tcl or Linux commands.
- Technical round 1Fundamentals: the PD flow end to end, inputs and their contents (LIB, LEF, SDC), setup and hold equations, and a timing path numerical with arrival, required time and slack.
- Technical round 2Stage by stage: floorplan and macro placement, power planning and IR drop, placement and congestion, CTS targets and NDRs, routing, DRC/LVS, antenna and crosstalk. Experienced candidates get OCV, CRPR, MMMC corners and ECOs.
- Scenario roundOpen problems from real blocks: 'timing is not closing, what do you do?', 'how do you handle congestion?', 'thousands of hold violations after CTS', 'IR drop hot spot near a macro'.
- Project and toolsYour block in detail: size, frequency, cell count, utilisation, macros, the worst problem you fixed. Tool commands (Innovus, ICC2, PrimeTime, Tempus) and Tcl scripting come up for experienced roles.
- Manager and HROwnership of a block through tape-out, working with synthesis, DFT and STA teams, handling schedule pressure.
- Be able to draw the flow and say, for each stage, its inputs, its goal and the checks you run before moving on.
- Practise timing numericals with clock latency, uncertainty, OCV derates and CRPR until you can do them in two minutes.
- Know your project's numbers: area, utilisation, frequency, cell and macro count, WNS/TNS at each stage, final IR drop.
- For every problem (congestion, hold, IR drop, DRC), have an ordered list of fixes, cheapest first.
Flow, inputs and sanity checks
1Walk through the physical design flow from netlist to GDSII.
- Import and sanity checks: netlist, SDC, libraries, technology files; check the design and constraints are clean.
- Floorplan: die and core size, macro placement, I/O pins, blockages.
- Power planning: rings, straps and standard-cell rails, power switches if needed.
- Placement: place standard cells, optimise for timing and congestion, insert buffers for high-fanout nets.
- Clock tree synthesis (CTS): build the clock network to meet skew, latency and transition targets, then fix hold.
- Routing: global, track assignment and detailed routing, with timing and crosstalk optimisation.
- Sign-off: STA across all modes and corners, physical verification (DRC, LVS, antenna, density), IR drop and electromigration, logical equivalence (LEC), then fill and GDSII.
Any failure at sign-off is fixed with an ECO (engineering change order) and the checks are re-run.
2What are the inputs to physical design, and what does each one contain?
| Input | Contains |
|---|---|
| Gate-level netlist (Verilog) | Cells and how they connect, from synthesis |
| SDC | Clocks, I/O delays, exceptions, design rules (max transition, capacitance) |
| Liberty (.lib / .db) | Timing, power and pin capacitance of every cell, per PVT corner |
| Technology LEF / tech file | Layers, routing pitch, width and spacing rules, vias |
| Cell LEF | Size, pin shapes and blockages of each cell and macro (abstract view) |
| RC tech files (QRC / TLU+) | Parasitic models to extract wire R and C |
| UPF / CPF | Power domains, isolation, level shifters, retention (for low-power designs) |
| DEF (optional) | Floorplan or placement from an earlier run |
Sign-off also needs DRC/LVS rule decks from the foundry and the GDS of every cell and macro.
3What is the difference between LIB and LEF files?
- Liberty (.lib) is the timing and power view: cell functions, timing arcs with delay and output transition tables (indexed by input slew and output load), setup/hold constraint tables, pin capacitances, leakage and internal power. One file per PVT corner. Used by synthesis, placement optimisation and STA.
- LEF is the physical view: cell width and height, pin locations and layers, obstructions (blockages), and in the technology LEF the layers, pitches, design rules and vias. Used by the place-and-route tool.
In short: LIB says how fast a cell is, LEF says what shape it has and where it can be connected.
4What sanity checks do you run before starting floorplan and placement?
- Netlist: no floating inputs, no multiply driven nets, no unresolved references (missing cells or modules), no assign statements or tri-states the tool cannot handle.
- Libraries: every cell in the netlist has LIB and LEF views, consistent across corners; no “don’t use” cells instantiated.
- Constraints (
check_timing): every flop has a clock, no unconstrained endpoints, inputs and outputs have delays, no combinational loops, generated clocks defined, exceptions point to real objects. - Timing baseline: zero-wire-load timing report, so you know which violations already exist before placement.
- Design rules: max transition, capacitance and fanout limits set.
Problems caught here cost minutes; the same problems found after routing cost days.
5What are PVT corners, and which corner is worst for setup and for hold?
Cells are characterised at combinations of Process (slow, typical, fast transistors), Voltage and Temperature.
- Setup is usually worst at the slow corner: slow process, low voltage, and high temperature (cells and wires are slowest).
- Hold is usually worst at the fast corner: fast process, high voltage, low temperature (data arrives earliest).
Exception: temperature inversion. At advanced nodes with low supply voltage, transistor delay can increase at low temperature because the threshold voltage rises. Then the worst setup corner may be cold, and both hot and cold corners must be checked. Wire RC corners (Cworst, RCworst, Cbest, RCbest) are combined with the device corners too.
6What are physical-only cells? Explain tap, endcap, decap, filler and tie cells.
They have no logic function in the netlist but are needed for a manufacturable, reliable chip:
- Well tap cells: connect the n-well to VDD and the substrate to VSS at regular intervals, to prevent latch-up. Placed in a checkerboard pattern within the maximum distance the foundry allows.
- Endcap (boundary) cells: at the ends of each row and around macros, so the wells and implants end properly and DRC is clean.
- Decap cells: capacitors between VDD and VSS that supply charge during fast switching, reducing dynamic IR drop. They leak, so use them where needed.
- Filler cells: fill gaps in rows so wells and implant layers are continuous. Inserted after routing.
- Tie-high / tie-low cells: drive constant 1 or 0 to gate inputs, instead of connecting gates directly to the power rails, which protects the gate oxide from ESD and power-supply glitches.
7What is NLDM, and why were CCS and ECSM models introduced?
NLDM (non-linear delay model) describes each timing arc with 2D tables: delay and output transition as a function of input transition and output load capacitance. The output is modelled as a voltage source with a linear ramp.
At smaller nodes, wire resistance is large and waveforms are not simple ramps, so NLDM loses accuracy (often a few percent or more). CCS (Synopsys) and ECSM (Cadence) model the output as a current source or a set of voltage points over time. That handles resistive interconnect, the Miller effect and waveform shape better, and is used for sign-off at advanced nodes. They also model noise and power more accurately.
8What is the difference between ideal clocks and propagated clocks?
Before CTS, the clock network does not exist, so STA treats clocks as ideal: each clock arrives at every flop at the same time (plus any latency and uncertainty you set to mimic the future tree).
After CTS, you switch to propagated clocks (set_propagated_clock), and STA uses the real delays through the clock buffers and wires. Skew becomes real, and the uncertainty used before CTS (to model skew) is reduced to cover only jitter and margin.
9What is clock uncertainty, and why does its value change between stages?
set_clock_uncertainty is a margin subtracted from the setup requirement (and added to the hold requirement). It covers effects not modelled elsewhere:
- Before CTS: expected skew of the not-yet-built clock tree, plus jitter and extra margin. It is relatively large.
- After CTS: skew is now calculated from the real tree, so uncertainty is reduced to jitter (from the PLL spec) plus a design margin.
Typical mistake: leaving the pre-CTS uncertainty on after CTS, which double-counts skew and over-fixes timing, wasting area and power.
10What is logical equivalence checking (LEC/FEV), and when is it run?
LEC formally proves that two representations of a design implement the same logic, without simulation. It maps the state points (flops, latches) and compares the logic cones between them.
It is run:
- RTL vs synthesised netlist,
- netlist before vs after scan insertion (with scan mode constrained off),
- netlist after placement, CTS and routing (buffering, resizing and restructuring must not change function),
- after every ECO.
Common reasons for failure: wrong constraints for test mode, retimed or merged flops that need guidance, and unintended changes from manual ECOs.
11Write a minimal SDC for a block with one clock, inputs and outputs.
create_clock -name clk -period 2.0 [get_ports clk] ;# 500 MHz
set_clock_uncertainty -setup 0.10 [get_clocks clk] ;# pre-CTS skew + jitter
set_clock_uncertainty -hold 0.05 [get_clocks clk]
set_clock_transition 0.10 [get_clocks clk] ;# ideal clock slew before CTS
set_input_delay 0.8 -clock clk [remove_from_collection [all_inputs] [get_ports clk]]
set_output_delay 0.8 -clock clk [all_outputs]
set_driving_cell -lib_cell BUFX4 [all_inputs]
set_load 0.02 [all_outputs]
set_max_transition 0.25 [current_design]
set_false_path -from [get_ports rst_n] ;# only if reset is synchronised inside
Explain each line: the clock, the margin, how much of the cycle the outside world uses, the strength of what drives the inputs and the load on the outputs, and design rules. Interviewers often ask why the clock port is removed from the input delay list (it is the clock, not data) and whether the reset false path is safe (only if the reset is synchronised inside the block).
Floorplan and power planning
12How do you decide the die size, utilisation and aspect ratio?
- Core area ≈ (standard-cell area + macro area + halos and channels) / target utilisation.
- Utilisation = cell area / available core area. Typical starting points are about 60 to 75% for standard-cell logic: too high causes congestion and leaves no room for buffers, resizing and CTS; too low wastes silicon and lengthens wires.
- Aspect ratio = height / width. Usually close to 1, unless the package, I/O count or a top-level slot dictates otherwise. A very long, thin block lengthens wires in one direction and can starve routing in the other.
- I/O-limited vs core-limited: if the pad ring needs more perimeter than the core requires, the die is pad-limited and the core will have spare area.
For a block inside a chip, the top-level floorplan usually fixes the shape, and you must fit within it.
13What are the guidelines for placing macros?
- Place macros near the core boundary, leaving the centre as a large, continuous area for standard cells. This avoids fragmenting the placement region and makes routing easier.
- Face macro pins toward the core logic they connect to, and use flylines to place macros close to their connected logic or I/O.
- Leave channels between macros wide enough for the signals and power that must pass through, or abut them with no channel.
- Add a halo (keep-out margin) around each macro so standard cells do not crowd its pins.
- Group macros that talk to each other; follow the data flow.
- Respect orientation rules (some technologies allow only certain orientations for poly direction) and avoid notches and narrow gaps that become congestion hot spots.
14Why are macros usually placed at the boundary and not in the centre?
A macro in the middle splits the standard-cell area into pieces. Logic that should be together is pushed apart, wires go around the macro, and the regions next to it become congested. It also blocks routing tracks on the metal layers the macro uses.
At the boundary, the standard cells get one large, continuous region, timing paths stay shorter, and macro pins can face inward. The exception is when the data flow really requires a macro near some logic, or for very large designs where the floorplan follows the architecture.
15How do you estimate the channel width needed between two macros?
Count the signals that must route through the channel and divide by the routing capacity per micron.
Example: two facing macros each have 100 pins on that edge, so 200 nets must leave through the channel vertically. Two metal layers run in that direction with a pitch of 0.2 µm, so each micron of width offers 2 / 0.2 = 10 tracks.
Width ≈ 200 / 10 = 20 µm, plus room for the power straps that run through the channel and for buffers that may be needed on long nets. Add margin (often 20 to 30%) because detailed routing never reaches 100% track usage.
16What are placement blockages? Explain hard, soft and partial blockages.
- Hard blockage: no standard cells may be placed there at all. Used in narrow channels between macros, near macro corners, and in areas reserved for something else.
- Soft blockage: the initial placer will not put cells there, but optimisation (buffering, resizing, legalisation) may. Used in channels that should stay mostly free for routing but may need repeaters.
- Partial blockage: limits the cell density in an area to a percentage (for example 40%), to relieve congestion around pin-dense macros.
Routing blockages are separate: they stop routes on chosen layers in an area. A halo is a blockage that moves with its macro.
17Explain a power grid with rings, straps and rails.
- Rings: wide VDD and VSS wires around the core (and around large macros), connected to the power pads or bumps.
- Straps (stripes): a mesh of wide wires on upper metal layers across the core, connected to the rings. Their width, pitch and layers are chosen to meet IR-drop and EM limits.
- Rails (follow-pins): thin lines on the lowest metal along each standard-cell row. Cells in a row share them; alternate rows are flipped so they share a VDD or VSS rail with the neighbouring row.
- Vias stack down from the straps to the rails at every crossing.
Upper layers are thicker and less resistive, so they carry current across the chip; lower layers deliver it locally. Flip-chip designs feed power from bumps spread over the die instead of only from the edge, which reduces IR drop in the centre.
18What is IR drop? What is the difference between static and dynamic IR drop, and how do you fix it?
Current through the resistance of the power grid lowers the supply each cell actually sees: V_cell = VDD − I·R (and ground rises on the VSS side). Lower supply makes cells slower, so IR drop causes timing failures and, at worst, functional failures.
- Static IR drop uses average current. It shows whether the grid is strong enough overall.
- Dynamic IR drop uses switching activity in time (vector-based or vectorless). Simultaneous switching of many cells, like the clock edge or a bus, causes short deep dips.
Fixes: add or widen straps, add vias, use more upper metal; place decap cells near hot spots; spread high-activity cells out (lower local density); stagger clock arrival; add power pads or bumps. Designs are often given a budget such as around 5% of VDD for static drop and somewhat more for dynamic, but the exact number is set per project.
19What is electromigration, and how is it prevented?
Electromigration (EM) is the slow movement of metal atoms caused by high current density (electrons transferring momentum to atoms). Over time it creates voids (opens) and hillocks (shorts to neighbours), causing failures in the field after months or years.
- Power EM (DC current, one direction) is the main concern in power rails and straps.
- Signal EM (AC, bidirectional) matters for high-frequency, heavily loaded nets such as clocks.
Prevention: keep current density below the foundry limits, which are given per layer, width and temperature. Widen wires, add parallel straps, use multiple (redundant) vias, use non-default rules (wider wires) for clock and high-current nets, and reduce driver strength where possible.
20Why are decap cells needed, and what is their downside?
When many cells switch at once, the current spike cannot come quickly through the inductance of the package and the resistance of the grid. A decoupling capacitor next to the cells supplies that charge locally, reducing dynamic IR drop and supply noise.
Downsides: decaps leak (they are gate-oxide capacitors), take area, and can add to reliability concerns if over-used. So they are placed mainly near high-activity logic such as clock buffers and wide datapaths, after dynamic IR analysis shows where they help, and in the gaps that would otherwise get plain filler cells.
21What is power gating, and which special cells does it need in physical design?
Power gating switches off the supply to an idle block to remove its leakage, using power switch cells (header PMOS on VDD or footer NMOS on VSS) between the always-on supply and the block’s virtual supply.
It needs:
- Power switches, placed in rows or a grid inside the domain, often daisy-chained so they turn on gradually and limit rush current.
- Isolation cells on outputs of the powered-down domain, so floating values do not corrupt always-on logic.
- Retention flops if state must survive power-down.
- Level shifters where domains run at different voltages.
- Always-on buffers for control signals that pass through the switched domain.
All of this is described in the UPF/CPF file, and the tools check the domain crossings.
22How do you decide where the I/O pins of a block go?
- Follow the top-level floorplan: pins must face the blocks they connect to, to keep top-level wires short.
- Group pins of the same bus together and keep them in order.
- Put timing-critical pins close to the logic they drive inside the block.
- Spread pins out so they do not create congestion at one edge, and keep them on allowed layers and pitches.
- Avoid placing pins where macros sit against the edge.
In hierarchical flows, pin placement is agreed between the top-level and block owners and often refined after a first trial placement.
23What are multi-voltage design challenges in the floorplan?
- Each voltage area is a region with its own power grid, so its cells must be placed inside it, with its own rings and straps.
- Level shifters are placed at domain boundaries (usually in the receiving domain or at the boundary, as the UPF specifies).
- Isolation cells and always-on cells need an always-on supply inside a switchable domain, so the grid must provide both supplies there.
- Timing across domains must use the correct voltage corner for each side.
- Signals crossing from a lower to a higher voltage without a level shifter cause leakage or failure, so checks must catch every crossing.
24What is the difference between a hard macro and a soft macro?
- A hard macro has a fixed layout: memories (SRAMs from a memory compiler), PLLs, analog blocks, and pre-hardened IPs. You get LEF, LIB and GDS; you place it as a whole and cannot change its inside.
- A soft macro is delivered as RTL or a netlist, and is synthesised, placed and routed along with the rest of the design, so it can be optimised and shaped to fit.
Hard macros give predictable timing and area but constrain the floorplan; soft macros are flexible but must be closed by you.
25How does flip-chip packaging change power planning compared with wire bond?
- Wire bond: power enters only through pads on the periphery. Current must travel from the edges to the centre through the grid, so the centre has the worst IR drop, and wide rings and thick straps are needed.
- Flip-chip: solder bumps are spread over the whole die, with a redistribution layer (RDL) connecting them. Power enters close to where it is used, so IR drop is lower and more uniform, and the grid can be lighter.
With flip-chip, the floorplan must also respect the bump pattern: power and ground bumps are interleaved over the core, and macros and power switches are placed relative to them.
Placement and optimisation
26What happens during placement?
- Global (coarse) placement: cells are spread over the core to minimise wire length while respecting density, timing and congestion targets. Cells may overlap at this stage.
- Legalisation: cells snap onto rows and sites without overlap.
- Detailed placement: local swaps and moves to improve wire length and timing.
- Optimisation: buffering long nets, resizing cells, swapping threshold-voltage types, restructuring logic, and high-fanout net synthesis for nets like reset and scan enable.
Scan chains are often reordered after placement to shorten scan wiring. Spare cells are scattered for future ECOs.
27What causes congestion, and how do you fix it?
Congestion means more routes need to pass through an area than it has tracks, which shows up as overflow in global routing and later as DRC violations and detours that hurt timing.
Causes: high cell density, pin-dense cells (complex AOI/OAI, wide muxes), narrow channels between macros, macros with many pins facing a small area, poor macro placement, too high utilisation, and logic with heavy interconnect (crossbars, wide muxes).
Fixes, cheapest first:
- Look at the congestion map and find the reason before changing anything.
- Partial or soft blockages to lower density in the hot spot; cell padding for pin-dense cells.
- Improve the floorplan: widen channels, move or reorient macros, move pins.
- Lower overall utilisation or allow congestion-driven placement.
- Ask synthesis to avoid pin-dense cells in that logic, or restructure the RTL (for example split a huge mux).
28What is high-fanout net synthesis (HFNS), and why is it not done in synthesis?
Nets such as reset, scan enable and enable signals can drive thousands of pins. HFNS builds a buffer tree for such nets so every pin gets a sharp enough transition and the driver is not overloaded.
It is done in placement, not synthesis, because the right tree depends on where the loads are. Synthesis does not know cell locations, so a buffer tree built there would be wrong after placement, wasting area and creating long wires. In synthesis these nets are usually marked ideal (set_ideal_network) and left to PD. Clocks are excluded from HFNS; they are handled in CTS.
29What optimisation techniques does the tool use to fix setup timing during placement?
- Upsizing cells on the critical path (stronger drive).
- Vt swap to low-Vt cells (faster but leakier).
- Buffering long wires or splitting heavy loads; removing unnecessary buffers.
- Logic restructuring: moving late-arriving signals closer to the output, cloning (duplicating) drivers to split fanout.
- Pin swapping to put the late signal on the faster input pin of a cell.
- Moving cells closer together along the critical path (timing-driven placement), or using bounds to keep related logic together.
Each fix costs area, power or leakage, so the tool and the engineer choose the cheapest one that closes the path.
30What is scan chain reordering, and why is it done after placement?
Scan insertion in synthesis connects flops into chains in an order that ignores where they will be placed. After placement, the scan connections can criss-cross the whole block, wasting wires and adding congestion.
Reordering reconnects the flops within each chain (or between compatible chains) in placement order, using a SCANDEF file that tells the tool which reorderings are legal. Chain length and the shift order constraints from DFT must be kept, and the new order is written back so the ATPG patterns use it.
31What are bounds, regions and fences?
They constrain where the cells of a module or group may go:
- Region (soft bound / guide): the tool tries to place the group there, but may place cells elsewhere.
- Bound / region (hard): the group’s cells must be placed inside, but other cells may also go there.
- Fence (exclusive): the group’s cells must be inside, and no other cells may be placed there.
Uses: keeping tightly connected logic together to improve timing, keeping a voltage area’s cells inside it, and isolating sensitive blocks. Over-constraining with fences can raise congestion inside them.
32What are spare cells, and why are they placed?
Spare cells are unused gates and flops (NAND, NOR, inverters, flip-flops, sometimes configurable “ECO cells”) scattered across the design, with inputs tied off.
If a bug is found after the base layers are made, a metal-only ECO can connect spare cells to fix it by changing only metal and via masks, which is far cheaper and faster than a full re-spin. They are spread uniformly so a spare cell is always close to any logic that might need fixing.
33When would you use an inverter pair instead of a buffer, and vice versa?
A buffer is two inverters inside one cell. Using separate inverters gives the tool more freedom: they can be placed apart along a long wire, sized independently, and each stage drives a smaller load, often giving a lower total delay. For clock trees, inverters also balance rising and falling transitions, which helps keep the duty cycle (pulse width) intact.
Buffers keep the polarity in one cell, which is simpler for data nets and hold fixing (delay buffers), and easier to reason about in ECOs.
34What is the difference between multi-Vt cells, and how are they used to balance speed and leakage?
The same cell is offered with several threshold voltages: ultra-low Vt, low Vt, standard Vt, high Vt.
- Low Vt: faster, but leakage current is much higher (leakage rises roughly exponentially as Vt falls).
- High Vt: slower, but leaks much less.
Strategy: build the design mostly with high or standard Vt, then swap to low Vt only on critical paths. After timing closes, a leakage recovery step swaps back cells that have positive slack. Designs often limit low-Vt usage to a percentage of the cells.
35What is timing-driven placement, and what does “congestion vs timing trade-off” mean?
Timing-driven placement weights nets on critical paths so the placer pulls their cells closer together. Congestion-driven placement spreads cells out where routing demand is high.
They pull in opposite directions: packing critical logic tightly helps timing but can create a congestion hot spot, and spreading cells relieves congestion but lengthens critical wires. The engineer balances them with effort settings, density limits and guidance, and checks both the timing report and the congestion map after each run.
36Why might placement show good timing but the design fails timing after routing?
Placement estimates wire parasitics from virtual routes. After real routing:
- Detours around congestion make wires longer than estimated.
- Crosstalk adds delta delays that placement did not model.
- Routes go on thinner, more resistive lower layers than assumed.
- Via resistance and real coupling capacitance are higher than estimated.
- The clock tree added after placement brought real skew.
Good practice: correlate placement and route estimates early (compare a trial route with the virtual one), keep margins on critical paths, fix congestion early, and use layer promotion for long critical nets.
37What checks do you do after placement before moving to CTS?
- Timing: setup WNS/TNS with ideal clocks (hold is usually ignored until CTS); no huge violations that CTS cannot help with.
- Congestion: global route overflow within limits, no hot spots.
- Legal placement: no overlaps, all cells on rows, no cells in blockages.
- DRVs: max transition, max capacitance and fanout fixed.
- Utilisation and density within target, with room left for CTS buffers and hold buffers.
- Scan chains reordered and valid; tap and endcap cells in place.
- Power: cells connected to rails, power grid consistent.
38How does physical design reduce leakage and dynamic power?
Leakage: use high-Vt cells wherever timing allows and recover leakage after timing closes; avoid oversizing; power gating of idle blocks (from the UPF).
Dynamic power (α·C·V²·f):
- Reduce switched capacitance: shorter wires through good placement, smaller cells where timing allows, fewer buffers.
- Reduce clock power: clock gating close to the root, multi-bit flops, sensible skew targets, efficient clock tree cells.
- Keep transitions sharp (slow slews increase short-circuit power).
- Place high-activity nets on short routes and keep them away from long parallel runs (coupling capacitance).
Power-aware placement and optimisation use switching activity (SAIF or VCD) so the tool knows which nets matter.
Clock tree synthesis
39What is the goal of CTS, and what are its inputs?
CTS builds the network of buffers or inverters and wires that delivers the clock from its source to every sink (flop clock pins, macro clock pins), so that:
- skew between related sinks is within target,
- insertion delay (latency) is as low as practical,
- transitions are sharp and within limits, with a good duty cycle,
- power and area of the tree are reasonable.
Inputs: the placed design, clock definitions from SDC, a CTS specification (target skew, maximum latency, max transition and capacitance, list of allowed clock cells), non-default routing rules for clock nets, and lists of sinks to balance, ignore or exclude.
40Define skew, latency and insertion delay. Is zero skew the goal?
- Latency is the time for the clock to travel from its definition point to a sink. Source latency is from the real clock source (for example the PLL) to the clock definition point; network latency (insertion delay) is from the definition point through the tree to the sink.
- Skew is the difference in latency between two sinks. Local skew is between sinks that share a timing path; global skew is between any two sinks.
Zero skew is not the real goal. What matters is the timing of each path: a small, controlled amount of skew is acceptable, and useful skew (deliberately delaying a capture flop) can fix setup. Chasing zero global skew wastes buffers and power.
41Why are clock nets routed with non-default rules (NDR) and shielding?
- Double width lowers resistance, so the clock is faster and less sensitive to process variation, and lowers current density for electromigration.
- Double spacing lowers coupling capacitance to neighbours, reducing crosstalk that would add jitter-like delay changes to the clock.
- Shielding with VSS or VDD wires on each side removes coupling almost entirely for the most sensitive nets.
- Clock nets often use higher metal layers for lower resistance.
The cost is routing tracks, so NDRs are applied mainly to the trunk and upper levels of the tree, and sometimes relaxed at the leaves.
42What clock tree structures exist? Compare an H-tree, a conventional tree and a clock mesh.
- Conventional (balanced buffer tree): the tool clusters sinks and builds a tree with buffers. Lowest power and most flexible; skew depends on placement.
- H-tree: a symmetric structure where every endpoint is the same distance from the root, so skew is very low by construction. Used for the top levels of large, high-speed clocks.
- Clock mesh: a grid of wires driven by many drivers in parallel; sinks connect to the nearest mesh point. Very low skew and good tolerance to variation, but high power and needs special analysis (SPICE-like). Used in high-performance processors.
- Multi-source CTS combines an H-tree or mesh at the top with conventional trees at the bottom, a common compromise in modern high-speed blocks.
43Why is hold fixed after CTS and not before?
Hold depends heavily on clock skew: hold slack = (Tcq + Tdata_min) − (Thold + skew). Before CTS, clocks are ideal, so the real skew is unknown and hold numbers are meaningless. Fixing hold then would insert many buffers that may turn out unnecessary (or not enough) once the real tree exists, and those buffers would hurt setup and congestion.
After CTS, with propagated clocks and real skew, hold violations are real and can be fixed accurately, usually by inserting delay cells on the data path at the endpoint side. Final hold sign-off is still after routing, with extracted parasitics.
44What is useful skew, and what is concurrent clock and data optimisation (CCD)?
Useful skew deliberately delays the clock to the capture flop of a failing setup path (or advances the launch flop), giving the path more time, as long as the next path (where that flop launches) and all hold checks still have slack.
CCD (concurrent clock and data optimisation) is a tool step that optimises clock latencies and the data path together: for each flop it chooses a clock arrival that balances the slack on the paths into and out of it, instead of first building a zero-skew tree and then fixing data paths. It usually gives better timing and power than plain CTS followed by data optimisation, but the resulting skew is not “balanced”, so STA must be done with propagated clocks only.
45Which cells are used in clock trees, and how are they chosen?
Dedicated clock buffers and clock inverters from the library. They have balanced rise and fall delays (to keep the duty cycle), strong drive, and are often characterised more carefully. Integrated clock gating cells, clock muxes and dividers sit in the tree too.
Choices:
- Mid-strength cells usually give the best balance; very large cells add input capacitance and power, very small ones add stages and sensitivity to variation.
- Use inverters where the tool can balance them, because two inverters are often faster and better at preserving the duty cycle than a buffer.
- Exclude cells with poor variation behaviour, very low Vt (leakage) or very high Vt (slow, variable) according to the CTS spec.
46How do clock gating cells affect CTS and timing?
Integrated clock gating (ICG) cells sit inside the clock tree, between the root and groups of flops.
- CTS: the tool must build the tree through the ICGs, balancing the sinks behind each gate with the rest. ICGs are usually placed close to the flops they drive (to save clock power after them) or cloned/merged to balance fanout.
- Timing: the enable pin of the ICG has a clock gating setup check. Because the ICG is earlier in the tree than the flops it feeds, its clock arrives earlier, which takes time away from the enable path. Enables coming from far away can become critical paths after CTS.
47What are the main checks after CTS?
- Skew and latency per clock against targets, and the reports for each skew group.
- Clock transitions and capacitances within limits (max transition violations on the clock are serious).
- Setup and hold timing with propagated clocks; hold fixing done or planned.
- Duty cycle and pulse width checks for clocks feeding both edges or latches.
- Clock power and the number of clock cells.
- Congestion and utilisation after the new buffers.
- All clock nets have their NDRs and shielding; no clock net left unbuffered.
48What is a generated clock, and why must it be defined for CTS and STA?
A generated clock is derived from a master clock inside the design: a divider, a clock mux output, or a gated clock. It is declared with create_generated_clock -source <master pin> -divide_by 2 <output pin>.
Without the definition, STA would treat the divider output as an unclocked net, losing the timing relationship between the master and divided domains; CTS would not know the latency through the divider and could not balance flops on both sides. With it, STA computes the generated clock’s edges and latency from the master’s, including the delay through the divider.
49Why can clock skew be fixed but jitter cannot?
Skew is a spatial, deterministic difference: the clock reaches different flops at different times because of different paths. CTS can reduce it by balancing the tree.
Jitter is a temporal variation of the clock edge from cycle to cycle, caused by the PLL, supply noise and crosstalk. It is random from one edge to the next, so it cannot be balanced away; it is budgeted in the clock uncertainty, and reduced at its source with a cleaner PLL, quieter supplies and shielding.
50How do you reduce the power of the clock tree?
The clock tree switches every cycle and can be a large fraction of dynamic power, so:
- Push clock gating cells as close to the root as possible, so more of the tree is off when idle; merge or clone gates sensibly.
- Use a realistic skew target: tighter skew means more buffers.
- Cluster flops of the same gating group together so the leaf nets are short.
- Use multi-bit flip-flops (several flops sharing one clock pin), which cut clock pin capacitance and leaf wiring.
- Avoid oversized clock drivers; use the smallest cells that meet transition limits.
- Choose NDRs carefully: double spacing reduces coupling capacitance, but very wide wires add capacitance.
51Which pins are sink pins and which are ignore or exclude pins in CTS?
- Sink (stop) pins: where the tree ends and which must be balanced: flop and latch clock pins, macro clock pins.
- Ignore (exclude) pins: pins on the clock net that receive the clock but should not be balanced: a clock going into a divider’s data pin, an output port used only for observation, a mux used as data. The tool still drives them within transition limits.
- Float pins / macro models: for macros with internal clock trees, the CTS spec gives the internal delay so the tool can balance the macro’s sinks properly with the rest.
Defining these correctly is one of the main parts of a CTS specification.
52What are skew groups, and when do you balance different clocks together?
A skew group is a set of sinks whose skew the CTS tool balances against each other. By default, each clock’s sinks form one group.
- Sinks that only talk to each other through asynchronous paths do not need to be balanced; separate groups save buffers and power.
- Inter-clock balancing is needed when two clocks are synchronous and have timing paths between them, for example a clock and its divided-by-2 version. Their latencies must be matched, or the paths between them see large skew.
- Special groups are created for sinks with tight requirements, such as a source-synchronous interface where data and clock must leave together.
Routing and physical sign-off
53What are the stages of routing?
- Global routing: divide the chip into routing cells (tiles), assign each net a coarse path through them, and estimate congestion (overflow).
- Track assignment: assign each global route segment to actual routing tracks on specific layers.
- Detailed routing: draw the exact wires and vias, fixing all spacing, width and via rules (DRC), using search-and-repair iterations.
- Post-route optimisation: fix setup, hold and DRVs with real parasitics, and fix crosstalk (SI).
Special nets (power, clocks) are routed before the signal nets.
54What is the antenna effect, and how is it fixed?
During manufacturing, plasma etching charges metal wires. If a long wire connects to a transistor gate and is not yet connected to any diffusion (because the upper layers that complete the connection have not been built), the charge can only discharge through the thin gate oxide and can damage it.
The foundry limits the antenna ratio: the metal area connected to a gate (at each layer as it is manufactured) divided by the gate area.
Fixes:
- Jumper (layer hopping): break the long wire and route a piece on a higher layer, so the gate is only connected to a short lower segment until the top layer is built.
- Antenna diode: add a reverse-biased diode near the gate to give the charge a safe path to the substrate.
- Move the driver closer, or insert a buffer to split the net.
55What is crosstalk? Explain delta delay and glitch, and their fixes.
Neighbouring wires are coupled through coupling capacitance. When an aggressor switches, it disturbs the victim:
- Delta delay: if the victim is switching at the same time, the aggressor speeds it up (same direction) or slows it down (opposite direction). This can cause setup violations (slowed) or hold violations (sped up), and STA with SI enabled adds these deltas.
- Glitch (noise bump): if the victim is quiet, a switching aggressor creates a voltage bump. If it is large enough and reaches a flop, latch, or clock, it can flip a value.
Fixes: increase spacing, shield sensitive nets, move one net to another layer, upsize the victim driver (stronger holding), downsize the aggressor or slow its slew, insert buffers to shorten parallel runs, and avoid long parallel wires between timing-critical nets.
56What is LVS, and what errors does it report?
Layout versus schematic extracts devices and their connections from the layout and compares them with the netlist (the schematic).
Typical errors:
- Shorts: two different nets connected together in the layout.
- Opens: one net split into pieces.
- Device mismatches: missing or extra devices, wrong sizes (for custom layout).
- Pin and port mismatches: missing, extra or wrongly named pins.
- Unconnected wells or substrate, floating gates.
LVS must be clean for tape-out. Shorts are usually debugged first because one short can create many apparent mismatches.
57What kinds of DRC violations do you see after routing, and how do you fix them?
Common ones:
- Spacing between wires or vias too small.
- Width below minimum, minimum area of a metal shape (small stubs), end-of-line rules.
- Via enclosure (metal not covering the via enough).
- Short between nets, especially near pins of dense cells.
- Density too low or too high in a window (fixed by fill or spreading).
- Notch and jog rules; double-patterning coloring conflicts at advanced nodes.
Fixes: let the router run more search-and-repair iterations, then fix the cause: congestion (spread cells, add blockages), pin access problems (pad pin-dense cells), or manual edits for a few left over. Most violations come from congestion, so the real fix is often in placement.
58Why is metal fill (dummy fill) added, and what is its effect on timing?
Chemical mechanical polishing (CMP) flattens each layer. If metal density varies a lot, polishing is uneven: sparse areas dish and dense areas erode, changing wire thickness. Foundries therefore require metal density within a range in every window. Dummy metal shapes are added in empty areas to meet it.
Fill adds coupling capacitance to nearby signal wires, so timing should be checked with fill (or with fill effects modelled in extraction). Critical nets can have fill kept further away, and fill is often added before the final sign-off extraction.
59What is an ECO? Compare a pre-mask (full-layer) ECO and a metal-only ECO.
An engineering change order is a small, controlled change to an implemented design, for a functional bug fix or a timing fix, without rerunning the full flow.
- Pre-mask (all-layer) ECO: done before masks are made. Cells can be added, removed or moved freely, then placement is legalised and routing is patched.
- Metal-only (post-mask) ECO: the base layers (transistors) are already manufactured, so only metal and via layers can change. The fix must use existing spare cells or programmable ECO cells and rewiring. It saves the cost of most masks and much of the fabrication time.
After any ECO: run LEC, STA, DRC, LVS and the relevant power checks again.
60What is double patterning, and why does it affect routing at advanced nodes?
At nodes below about 20 nm, the minimum metal pitch on the tightest layers is smaller than what one lithography exposure can print. Double (multiple) patterning splits the shapes of one layer across two (or more) masks, called colours, so shapes that are too close on one mask are put on different masks.
For routing this means: adjacent shapes must be colourable (no odd cycles of too-close shapes), same-colour spacing rules are larger, and misalignment between masks adds variation in coupling capacitance. Routers handle colouring automatically, and extraction must consider colour-dependent parasitics.
61Which design-for-manufacturability (DFM) steps are done in routing?
- Redundant (double) vias: replace single vias with two where possible, because single vias are a common yield and reliability failure.
- Wire spreading: move wires apart where there is room to reduce the chance of shorts from particles.
- Wire widening in open areas to reduce opens.
- Litho-friendly routing to avoid patterns that print poorly (hotspot fixing).
- Metal fill for planarity.
These improve yield without changing function, but some add capacitance, so timing is rechecked.
62What is the difference between static and dynamic power analysis, and why does sign-off need both IR and EM checks?
- Static (average) analysis uses average power per instance from activity rates; it shows whether the power grid has enough metal on average, and is used for power EM and static IR drop.
- Dynamic analysis follows current waveforms over time, either from simulation vectors (vector-based) or estimated switching (vectorless). It finds short deep IR dips when many cells switch together.
IR drop affects timing and function now; EM affects lifetime. A design can pass IR drop and still fail EM on a narrow rail carrying high average current, so both are sign-off checks.
63Why are upper metal layers used for power, clocks and long global routes?
Upper metal layers are thicker and wider, so they have much lower resistance per unit length. That gives less IR drop for power, faster and less variable clocks, and lower delay for long nets.
Lower layers are thin with tight pitch: good for dense local connections between nearby cells, but too resistive for long distances. The usual stack is: M1 and M2 for cell pins and local routing, middle layers for most signal routing, top thick layers for power and long global wires.
64What is the difference between DRC in the PnR tool and sign-off DRC?
The place-and-route tool checks a simplified set of rules from the technology LEF while it routes, so it can fix violations quickly.
Sign-off DRC (Calibre, ICV, Pegasus) runs the foundry’s full rule deck on the final GDS, including cell internals, fill, density, antenna and the complex rules the router does not model. A clean router report does not guarantee clean sign-off, so sign-off DRC is run on the merged GDS before tape-out, and any remaining errors are fixed (often by ECO in the PnR tool).
65What are the main checks before tape-out?
- STA clean (setup, hold, transitions, capacitances, pulse widths, clock gating, recovery/removal) for all modes and corners, with SI.
- DRC, LVS, antenna, ERC clean on the final merged GDS; density and fill done.
- IR drop and EM within limits, static and dynamic.
- LEC between the final netlist and the synthesised (or RTL) reference.
- Low-power checks (isolation, level shifters, power switches) against the UPF.
- DFT checks: scan chains and test modes still correct; ATPG patterns validated on the final netlist.
- Gate-level simulation on key tests with SDF, if required by the project.
66What is a pin access problem, and how is it avoided?
At advanced nodes, standard-cell pins are tiny and close together, and the M1/M2 tracks above them are few. The router may not find a legal way to connect to every pin, especially when pin-dense cells (multi-input AOI, flops, muxes) sit next to each other. It shows up as DRC violations and opens clustered at certain cells.
Avoid it with: cell padding or spacing rules for problem cells, limiting their use in synthesis, placement that avoids abutting pin-dense cells, routing-aware legalisation, and libraries and tools that support pin-access-aware placement.
Static timing analysis
67What are the four types of timing paths?
- Input to register: from an input port to a flop’s data pin. Constrained by
set_input_delay. - Register to register: from a launching flop’s clock pin, through logic, to a capturing flop’s data pin. Fully internal.
- Register to output: from a flop to an output port. Constrained by
set_output_delay. - Input to output: pure combinational path from input port to output port. Constrained by both delays (or
set_max_delay).
Each path starts at a startpoint (input port or clock pin of a sequential cell) and ends at an endpoint (output port or data pin of a sequential cell).
68Using the diagram: find the setup and hold slack.
Setup (max delays):
- Arrival = launch clock latency + Tcq + logic max =
0.5 + 0.2 + 1.5 = 2.2 ns - Required = period + capture clock latency − setup − uncertainty =
2.0 + 0.7 − 0.1 − 0.05 = 2.55 ns - Setup slack = 2.55 − 2.2 = +0.35 ns (met)
Hold (min delays, same edge):
- Arrival =
0.5 + 0.2 + 0.3 = 1.0 ns - Required = capture clock latency + hold + uncertainty =
0.7 + 0.05 + 0.05 = 0.8 ns - Hold slack = 1.0 − 0.8 = +0.2 ns (met)
The 0.2 ns of positive skew (capture clock 0.7 vs launch 0.5) helped setup and cost hold margin. A good habit in interviews: write arrival and required time separately, then subtract. In a real tool the clock buffers also get different early and late delays, which is where OCV comes in.
69What is on-chip variation (OCV), and how are derates applied?
Even on one die, identical cells and wires have different delays because of local process, voltage and temperature variation. STA models this pessimistically with derates:
- Setup check: make the launch clock path and data path slower (late derate, for example ×1.05) and the capture clock path faster (early derate, for example ×0.95).
- Hold check: the opposite: launch and data faster, capture clock slower.
Flat OCV applies one derate everywhere, which is too pessimistic for long paths (random variation averages out over many stages) and too optimistic for short ones. AOCV (advanced OCV) varies the derate with the path depth and distance, and POCV/SOCV (parametric) models each cell’s delay as a mean and sigma, combining them statistically. POCV/SOCV is standard at advanced nodes.
70What is CRPR (clock reconvergence pessimism removal)?
With OCV, the launch clock path uses late delays and the capture clock path uses early delays. But the part of the clock tree shared by both paths is one physical set of wires and buffers. In a single clock edge it cannot be slow for the launch and fast for the capture at the same time, so the difference is artificial pessimism.
In the diagram the shared part has 1.00 ns late and 0.90 ns early delay. STA has subtracted 0.10 ns of margin that does not exist, so CRPR adds back 0.10 ns to the slack.
For hold checks, where launch and capture are the same edge, CRPR applies fully. For setup checks between different edges, tools only remove the pessimism that is truly common (some components, like jitter, are not removed). Missing CRPR makes timing look much worse than it is, especially for flops that share most of their clock tree.
71How do you fix setup violations after routing?
From least to most disruptive:
- Vt swap to faster cells on the critical path.
- Upsize drivers on the path, or downsize non-critical loads on its nets.
- Buffer long wires, or remove extra buffers; re-route long nets on higher layers (layer promotion), or use NDR to reduce resistance.
- Fix crosstalk on the path (spacing, shielding) if SI delta delay is a large part of it.
- Useful skew: delay the capture clock if the next stage has slack.
- Re-place or restructure the logic (cloning, pin swapping) in an ECO.
- If none of these is enough: go back to synthesis or the RTL for pipelining, or revisit the constraint (is it really a single-cycle path?).
Always check the fix does not break hold or DRVs on neighbouring paths.
72How do you fix hold violations, and why must hold be fixed at every corner?
Hold violations mean data arrives too early, so the fix is to add delay to the data path, usually near the capture flop so the delay does not affect other endpoints:
- insert delay cells or buffers,
- downsize cells on the path, or swap to higher Vt (slower),
- route a slightly longer wire (detour), rarely.
- Reducing clock skew (capture clock arriving later than launch) also helps.
Hold is checked at the fast corners (and with min delays), but the buffers you add also slow the path in the slow corner, so a hold fix can create a setup violation there. That is why hold fixing must consider all corners at once (MCMM). A hold violation on silicon cannot be fixed by lowering the frequency, so hold must be clean in every corner.
73What is a multicycle path, and why do you also need a hold multiplier?
A multicycle path is allowed N clock cycles instead of one, for example because the data is only sampled every second cycle (an enable controls both ends).
set_multicycle_path 2 -setup moves the setup capture edge from the next edge to the second edge. But STA places the hold check one cycle before the setup edge, so the hold check also moves forward by one cycle. Now hold requires the data to arrive after the first capture edge, which is impossible without huge delays.
set_multicycle_path 1 -hold (from the same start and end points) moves the hold check back to its normal edge. Rule: for a setup multiplier N, use a hold multiplier N − 1. Forgetting it is one of the most common SDC mistakes and causes massive, false hold violations.
74What is a false path? Give examples, and explain why false paths are risky.
A false path is a path STA should ignore because it can never cause a functional failure:
- Paths between asynchronous clock domains that go through proper synchronizers (better:
set_clock_groups -asynchronous). - Static configuration registers written only once at boot, before the logic using them starts.
- Paths that are logically impossible (mutually exclusive mux selects).
- Test-only paths in functional mode, and vice versa.
Risk: STA stops checking it completely. If the path is not truly false, the chip can fail silently. So every false path needs a written reason, reviews with the designer, and ideally checks in CDC tools or simulation. Use the narrowest form (-from/-through/-to specific pins), never broad wildcards.
75What do set_input_delay and set_output_delay mean?
They describe the timing of the world outside the block, relative to a clock.
set_input_delay 3 -clock clk [get_ports din]: the data ondinarrives 3 ns after the clock edge, because of logic in the block that drives it. So inside this block, the input-to-register path hasperiod − 3 ns(minus setup and uncertainty).set_output_delay 4 -clock clk [get_ports dout]: the external logic needs 4 ns of the next cycle (its own logic plus setup), so inside this block the register-to-output path must finish withinperiod − 4 ns.
With -min and -max options they also cover hold checks at the interface. In a hierarchical design these come from budgeting the top-level paths between blocks.
76What is a half-cycle path? How does it affect setup and hold?
A path that launches on one edge and captures on the opposite edge, for example from a positive-edge flop to a negative-edge flop.
With a 2 ns clock and 50% duty cycle, the launch is at 0 ns and the next falling edge is at 1 ns, so the path has only 1 ns for setup (half the period).
For hold, the capture edge used is the falling edge before the launch, at −1 ns. The data must not arrive before −1 ns + hold, which is always true, so hold is very relaxed.
Half-cycle paths are setup-critical, and duty-cycle distortion in the clock tree makes them worse, which is why duty cycle matters in CTS.
77What are max transition, max capacitance and max fanout violations, and why do they matter?
They are design rule (DRV) limits, from the library and the SDC:
- Max transition (slew): the input transition at a pin must not be slower than a limit. Slow transitions increase delay and short-circuit power, make cells more sensitive to noise, and may fall outside the library tables (delays become extrapolated and unreliable).
- Max capacitance: the load a driver sees must be below its limit, or its output transition and delay become unreliable, and EM can be a risk.
- Max fanout: a guideline limit on the number of loads.
DRVs are fixed with buffering and sizing, usually before timing, because timing numbers on a path with DRV violations are not trustworthy.
78What is time borrowing in latches, and how does STA handle it?
A positive-level latch is transparent while the clock is high. Data that arrives after the latch opens (but before it closes, minus setup) still passes through; the late part borrows time from the next stage.
STA checks the path to the latch against the opening edge first. If it is late, the tool computes how much time is borrowed (up to the closing edge minus setup), and that borrowed time is subtracted from the next path starting at the latch output. Reports show the “time borrowed from endpoint”. A set_max_time_borrow constraint can limit how much borrowing is allowed.
79What is a clock gating check?
When a clock passes through a logic gate controlled by an enable, STA checks that the enable does not change while the clock could pass through, or the gated clock would glitch.
- For an AND-type gate (clock passes when high), the enable must be stable while the clock is high: it must arrive before the rising edge (gating setup) and change only after the falling edge (gating hold).
- For an OR-type gate, the opposite edges apply.
Integrated clock gating cells have these checks built into their library model (setup/hold on the enable pin to the clock pin). STA reports them as clock_gating_setup and clock_gating_hold.
80What is MMMC (multi-mode multi-corner) analysis, and why is it needed?
A chip has several modes (functional at full speed, low-power mode at reduced voltage, scan shift, scan capture, test modes, each with different clocks and constraints) and must work at several corners (process, voltage, temperature, RC extraction).
An analysis view is one mode with one corner. MMMC analyses (and optimises) all relevant views at the same time. Otherwise fixing setup in one view could break hold in another, and the design would bounce between violations.
A typical sign-off can have dozens of views. Engineers choose a smaller set of dominant views for daily optimisation and run the full set at sign-off.
81What are recovery and removal checks?
They are the setup-like and hold-like checks for the de-assertion of an asynchronous reset (or set) relative to the clock.
- Recovery: the reset must be released at least the recovery time before the active clock edge, so the flop is ready to capture normally on that edge.
- Removal: the reset must stay asserted at least the removal time after the clock edge.
STA checks them on the reset network from the reset synchronizer to every flop’s reset pin. The reset tree is often a high-fanout net, so these checks can become critical after HFNS and CTS.
82What is the difference between graph-based analysis and path-based analysis?
Graph-based analysis (GBA) propagates the worst slew at each pin to all paths through it. It is fast but pessimistic: a path may be timed with a slew that actually came from a different, slower path.
Path-based analysis (PBA) re-times each path with the actual slews and derates along that specific path. It removes that pessimism, often recovering tens of picoseconds, but is much slower.
Typical flow: optimise with GBA, then use PBA on the remaining violating paths before deciding they need real fixes, so you do not over-fix.
83What is the difference between set_clock_groups -asynchronous, -logically_exclusive and -physically_exclusive?
All of them tell STA not to time paths between the clock groups, but they mean different things for signal integrity:
-asynchronous: the clocks are both active and unrelated. No timing paths between them, but crosstalk between their nets is analysed, with the worst alignment assumed.-logically_exclusive: the clocks can both exist on the chip but never interact logically (for example two clocks into a mux). Crosstalk between them is still considered.-physically_exclusive: the clocks can never exist at the same time (for example two definitions on the same pin for different modes). No crosstalk is computed between them either.
Choosing the wrong option can hide real crosstalk problems.
84How does input slew and output load affect cell delay? Read a value from a NLDM table.
Cell delay increases with both input transition (a slow input takes longer to cross the switching threshold) and output load (more capacitance to charge).
Example NLDM table (delay in ns):
| slew \ load | 0.01 pF | 0.05 pF |
|---|---|---|
| 0.05 ns | 0.10 | 0.20 |
| 0.20 ns | 0.14 | 0.26 |
For slew 0.05 ns and load 0.03 pF (halfway between the two load columns), the tool interpolates: (0.10 + 0.20) / 2 = 0.15 ns. For a point between both rows and columns it does bilinear interpolation. Outside the table it extrapolates, which is inaccurate, which is one reason for max transition and capacitance limits.
85What is the difference between a setup check and a hold check in terms of clock edges?
For a single-cycle path between flops on the same clock:
- Setup checks the data launched at edge n against the capture at edge n + 1. It makes sure the data is not too slow.
- Hold checks the data launched at edge n against the capture at the same edge n. It makes sure the new data is not too fast, so it does not overwrite the value being captured at edge n.
That is why setup depends on the clock period and hold does not. With different clocks, STA finds the closest pair of launch and capture edges for setup and derives the hold edges from them.
86Why does STA need an extracted parasitic file after routing? What is SPEF?
Before routing, wire delays are estimated. After routing, the real wires have resistance and capacitance (to ground and to neighbours) that depend on their exact layers, widths, lengths and surroundings. An extraction tool (StarRC, Quantus) computes them using the foundry’s RC models and writes SPEF (Standard Parasitic Exchange Format), a file of R and C networks for every net, including coupling capacitances.
Sign-off STA reads the netlist, libraries, SDC and SPEF for each RC corner. Without SPEF, timing is only an estimate and crosstalk cannot be analysed.
87Timing is clean in the PnR tool but fails in sign-off STA. Why?
- Different parasitics: the PnR tool uses fast internal extraction; sign-off uses StarRC/Quantus with more accurate models, metal fill and colour effects.
- Different analysis settings: SI enabled in sign-off but not in PnR, different OCV/POCV tables, PBA vs GBA, CRPR settings.
- Missing views: sign-off runs corners or modes not used during optimisation.
- Different constraints: a different SDC version, or exceptions applied differently.
- Library differences: CCS in sign-off vs NLDM in PnR.
The fix is correlation: compare the same path in both tools, find which component differs (cell delay, wire delay, SI delta, derate), and align settings so the PnR tool is slightly pessimistic relative to sign-off.
88What is the critical path, and how do you read a timing report?
The critical path is the path with the worst (most negative or smallest) slack for a check. A timing report lists, for one path:
- Startpoint and endpoint, the path group (clock), and the check type (max for setup, min for hold).
- The launch clock edge and latency.
- Each cell and net along the data path, with incremental delay, cumulative arrival time, transition and load.
- The capture clock edge, its latency, CRPR, setup or hold time and uncertainty, giving the required time.
- Slack = required − arrival.
When reading it, look for: big single delays (a weak driver or long wire), many logic levels, large transitions, large SI deltas, and a large difference between launch and capture clock latency.
89What is the WNS and TNS? Which matters more?
- WNS (worst negative slack): the slack of the single worst failing path.
- TNS (total negative slack): the sum of the negative slacks of all failing endpoints.
- The number of violating endpoints is reported too.
WNS shows how far the design is from the target frequency; TNS shows how widespread the problem is. A design with a WNS of −50 ps on one path is in a very different state from one with −50 ps WNS and 20,000 failing endpoints. For sign-off both must be zero (no violations); during optimisation, tracking both tells you whether to fix a few paths or rethink the floorplan.
90A flip-flop has setup 0.1 ns and hold 0.05 ns. It is wrapped in a cell with a 0.2 ns buffer on D and a 0.3 ns buffer on CLK. What are the setup and hold times of the new cell?
Data at the outer D pin reaches the inner flop 0.2 ns later; the clock reaches it 0.3 ns later.
- Setup: data must reach the inner D 0.1 ns before the inner clock edge. Inner edge is at
t + 0.3, data arrives att_D + 0.2, sot_D + 0.2 ≤ t + 0.3 − 0.1→t_D ≤ t. New setup = 0.1 + 0.2 − 0.3 = 0 ns. - Hold: data must stay until 0.05 ns after the inner edge:
t_D' + 0.2 ≥ t + 0.3 + 0.05→ new hold = 0.05 − 0.2 + 0.3 = 0.15 ns.
General rule: data delay adds to setup and subtracts from hold; clock delay does the opposite. This explains why a flop’s setup or hold can be negative in a library, and is a favourite fresher question.
91When several timing exceptions apply to the same path, which one wins?
Precedence by type, highest first:
set_false_pathset_max_delay/set_min_delayset_multicycle_path
Among exceptions of the same type, the more specific one wins: -from a pin is more specific than -from a clock, and -from/-to together are more specific than either alone (tools document the exact order).
This matters when a broad false path accidentally covers a path that a specific multicycle path was meant to constrain: the false path silently wins. report_exceptions and checks for ignored exceptions help catch it.
92What are minimum pulse width and minimum period checks?
- Minimum pulse width: the high and low phases of a clock at a pin must be at least as long as the library requires (for flops, latches, memories). Unequal rise and fall delays in the clock tree shrink one phase as the clock travels, so a clock that is 50% at the source may be 45/55 at the leaves.
- Minimum period: some cells (memories especially) specify the fastest clock they can accept.
These checks are reported separately from setup and hold (report_min_pulse_width), and they are a reason why CTS uses balanced clock cells and why duty-cycle distortion matters at high frequency.
93What is source latency, and when do you set it?
Total clock latency = source latency (from the real clock origin, such as the PLL output or a pin of the chip, to the point where the clock is defined) + network latency (from that point through the clock tree to the sink).
You set set_clock_latency -source when the clock is defined at a block’s port but has already travelled through a top-level tree or the package before arriving. It matters for paths between this clock and other clocks or I/O, where the relative arrival times change the check. For a reg-to-reg path within one clock, source latency is common to both sides and cancels out.
Scenarios and projects
94Timing is not closing on your block. What do you do?
- Analyse before fixing: group the violations. Are they in one area, one clock, one kind of path (in2reg, reg2out, through one macro)? Is it setup, hold or both?
- Check the constraints first: wrong clock definitions, missing multicycle or false paths, unrealistic I/O delays, too much uncertainty after CTS.
- Check data quality: correct libraries and corners, DRV violations, congestion causing detours, SI deltas.
- Physical causes: cells of a critical path spread across the block, macros or pins placed against the data flow. Fix the floorplan, add bounds, move pins.
- Optimisation: Vt swaps, sizing, buffering, useful skew, layer promotion.
- If still failing: feed back to synthesis (restructure, different cells) or to the RTL designer (pipeline, retime) with specific paths and numbers.
Interviewers want to hear this order: understand, check constraints, then fix the cheapest cause.
95After CTS you have thousands of hold violations. What do you check first?
Thousands of violations usually mean a systematic cause, not thousands of real paths:
- Uncertainty still set to the pre-CTS value (adds to the hold requirement on every path).
- Clocks still ideal in some views, or wrong latency settings.
- Missing CRPR.
- A missing hold multiplier on multicycle paths.
- Paths between asynchronous clocks not declared as such.
- Scan shift paths (flop to flop with no logic between) in test mode, which genuinely need hold buffers but are expected.
- Large real skew from a poorly built tree, for example an unbalanced skew group.
Fix the systematic cause first, then fix the remaining real violations with delay cells, checking setup in the slow corners.
96There is an IR-drop hot spot near a large memory. How do you fix it?
- Find what draws the current: the memory itself, a cluster of high-activity logic next to it, or clock buffers.
- Strengthen the grid locally: add straps over or around the memory, add vias, use extra layers, and make sure the memory’s own power pins connect to the grid on all sides it allows.
- Add decap cells near the switching logic.
- Spread high-activity cells away from the memory (lower local density, padding).
- Stagger activity: different clock latency for nearby groups, or avoid all memory banks switching on the same edge.
- Re-run dynamic IR with realistic vectors and check timing with the IR-drop-aware voltage.
97How should you describe your physical design project in an interview?
Give the numbers and decisions, then a problem you solved:
- Block: what it does, technology node, frequency, instance count, macro count, area, utilisation, number of clocks.
- Floorplan: how you placed the macros and pins, and why.
- Power plan: layers, strap width and pitch, IR-drop result.
- Placement and CTS: congestion, skew and latency achieved.
- Routing and sign-off: WNS/TNS at each stage, DRC/LVS status, final timing.
- One real problem (congestion near a macro, hold explosion, crosstalk) and exactly how you diagnosed and fixed it.
Interviewers often ask “why?” for every number. Know why your utilisation was 70% and why that strap pitch was chosen.
98Write a Tcl loop that reports the slack of the worst path to each output port.
In PrimeTime-style Tcl:
foreach_in_collection p [all_outputs] {
set name [get_object_name $p]
set path [get_timing_paths -to $p -delay_type max -max_paths 1]
if {[sizeof_collection $path] > 0} {
puts [format "%-30s %8.3f" $name [get_attribute $path slack]]
}
}
Points interviewers check: using foreach_in_collection for collections (not plain foreach), getting attributes with get_attribute, and handling unconstrained ports (no path returned). Scripting questions like this are common for experienced PD and STA roles.
99What is the difference between flat and hierarchical physical design, and what is timing budgeting?
- Flat: the whole chip is placed and routed as one design. Best quality of results, but run time and memory grow quickly with size.
- Hierarchical: the chip is split into blocks (partitions) implemented separately, then assembled at the top level as hard macros (with timing models such as ETM or ILM). It allows parallel teams and reuse, but needs careful interfaces.
Timing budgeting splits the time of each path that crosses a block boundary between the top level and the blocks, producing set_input_delay/set_output_delay constraints for each block. Poor budgets make one side fail while the other has plenty of slack, so budgets are refined as the blocks mature.
100Most of your DRC violations are clustered around the corners of a macro. Why, and what do you do?
Macro corners and edges are where routing is hardest: many nets turn there, the macro blocks some layers, its pins add access demand, and standard cells are often packed right up to it.
Fixes:
- Add or enlarge a halo and a hard blockage at the corners (corner blockages are common in floorplan guidelines).
- Add partial blockages along pin-dense edges.
- Check the macro’s routing blockages in its LEF and the layers above it; route over it only where allowed.
- Widen the channel if two macros meet there.
- Re-run placement and routing; the corners are almost always a floorplan issue rather than a routing one.