Updated 4 min readASIC Signoff
Logic equivalence checking in signoff
Logic equivalence checking for ASIC signoff: compare points, mapping, clock gating and DFT setup, sequential checks, debug, and a Formality setup script.
By the SkyCadEda engineering teamHow these notes are written
On this page
Logic equivalence checking (LEC) proves that two versions of a design compute the same function: RTL against the synthesised netlist, one netlist against the next after an ECO, or a netlist before and after scan or low-power insertion. It is exhaustive over all inputs, so it is how teams move between design stages without re-running simulation, and a clean LEC report on the final netlist is a standard signoff item next to timing and physical verification.
What the tool actually proves
The checker reads a golden design (usually RTL) and a revised design (usually a netlist), breaks both into combinational logic between compare points, maps the compare points between the two, and proves that each mapped pair computes the same function of its inputs. Compare points are primary outputs, the inputs of registers and latches, and the inputs of black boxes. The result is a per-point verdict: equivalent, non-equivalent with a counterexample, or aborted. It is not a reachability proof; it relies on the register mapping being correct, which is why setup and mapping review matter as much as the final verdict.
A minimal run
Every run has the same shape: read the cell libraries for both sides, read the golden and revised designs, switch the tool into comparison mode so it maps compare points, run the comparison, and write the verification and unmapped-point reports. In Cadence Conformal LEC that is a short dofile; check the exact command spellings and options against the Conformal reference for your release.
Synopsys Formality, using the SVF file that synthesis wrote to guide matching:
set_svf top.svf
read_verilog -r rtl/top.v
set_top r:/WORK/top
read_db -i stdcells.db
read_verilog -i netlist/top.v
set_top i:/WORK/top
match
verify
report_failing_pointsThe SVF (or the equivalent guidance from Genus for Conformal) records what synthesis did: register merging, inversion pushing, FSM re-encoding, datapath restructuring. Without it, the tool has to rediscover those changes and mapping is slower and less reliable.
Setup that decides the result
- Clock gating: tell the tool to model gating cells, so gated registers compare against their RTL enable logic.
- Scan and DFT: constrain scan enable and test mode inactive when comparing against RTL that has no scan, and black-box or exclude test-only logic consistently.
- Low-power cells: with isolation and retention inserted from UPF, compare in the powered-on state or use the tool's low-power equivalence mode with the UPF loaded.
- Constants and undriven signals: tie-cells and constant propagation should match what synthesis assumed; mismatched settings create false non-equivalences.
- Black boxes: memories, analog macros and hard IP are black-boxed on both sides, with their pins compared.
Keep this setup in a script under revision control, used unchanged for every run on the same design, so a new non-equivalent point means the logic changed rather than the assumptions.
Combinational versus sequential
Combinational checking needs a one-to-one register mapping and scales to full-chip netlists. Retiming, register duplication across hierarchy, and FSM re-encoding break that mapping. The tools handle common cases with guidance from synthesis; where they cannot, sequential equivalence (Jasper SEC, VC Formal SEQ, or the sequential modes in Conformal and Formality) proves equivalence of the outputs without matched registers. It is slower, so it is usually confined to the blocks that need it.
Debugging non-equivalent points
Start with the mapping, not the logic: unmapped points, points mapped by name to the wrong register, and phase-inverted registers explain many failures. Then look at the counterexample, the input pattern under which the two cones differ, and the diagnosis report that narrows it to a few gates. In practice most mismatches come from setup (a missing constraint on test mode, an unmodelled clock gate), from a stale netlist or RTL, or from an ECO applied to one side only, rather than from a synthesis bug.
Where it runs in the flow
- After synthesis: RTL against the first netlist.
- After scan insertion: pre-scan against post-scan netlist with test mode off.
- After low-power insertion: with the UPF loaded.
- After place and route optimisation and after every functional ECO: previous netlist against the new one.
- At signoff: RTL against the final netlist that went through timing and physical verification.
Tie every run to the netlist revision it checked, the same revision that static timing and LVS used, and compare compare-point counts against the previous run. A run that says equivalent but checked a third fewer points than last week needs an explanation before it counts.
Frequently asked questions
How is formal equivalence checking different from simulation?
Simulation evaluates the design only on the input sequences a testbench applies. Equivalence checking proves that each mapped compare point in the revised design computes the same function as in the golden design for all inputs, so it does not depend on testbench quality.
When should sequential equivalence be used instead of combinational?
Combinational checking is the default and scales to full netlists when registers correspond one to one. Use sequential equivalence when retiming, register merging, FSM re-encoding or architectural edits mean no register-level mapping exists.
Does clock gating break equivalence checking?
Not when the checker is told how to model it. Conformal LEC and Formality can recognise integrated clock-gating cells and fold the enable back into the register's data function; without that setup, gated registers show up as non-equivalent or unmapped.
What should a signoff equivalence report contain?
The pass/fail summary, the counts of mapped, unmapped and equivalent compare points compared with the previous run, the netlist and RTL revisions, the tool version and the setup script. An unexplained drop in compare points is a failure even if the run says equivalent.
Related reading
- noteFormal verification for ASIC RTL
- noteASIC signoff checklist and handoff
- noteTiming exceptions without signoff gaps
More engineering notes
Working through a problem like this?
Tell us about your flow: the tools, the PDK, what is failing and when it needs to be clean.