Logic Synthesis

Simulation
Introduced by
Robert Brayton
Year
1987
Type
Automated conversion of HDL descriptions to gate-level netlists
Family
Digital design automation

What does it do?

Logic synthesis is the automated conversion of high-level hardware descriptions, such as RTL written in Verilog or VHDL, into gate-level netlists that map onto a target technology library.

Its foundations were developed in the 1980s, with Brayton and colleagues at UC Berkeley as the originators cited here. Synthesis turns behavioural specifications into gate-level implementations while trading off area, delay, and power under the supplied constraints.

The intuition behind the method

Writing gate-level circuits by hand becomes impractical as designs grow. Synthesis starts from a register-transfer description and produces logic gates and their interconnections that implement the same function. Many logically equivalent implementations exist, and the tool searches among them using Boolean transformations such as factoring, merging, and redundancy removal. The practical question is which of these implementations best meets the timing, area, or power objectives set by the designer.

History

Logic synthesis research of the 1980s at UC Berkeley, associated with Brayton and colleagues, is the origin cited for this method (brayton1987). Later work on rewriting and-inverter graphs, such as the DAG-aware AIG rewriting described in mishchenko2006, extended this line of research. Commercial synthesis tools used today are considerably more elaborate than the early approaches, and synthesis now precedes physical design and timing closure in standard flows.

When to use it

Logic synthesis is the standard route for digital designs of non-trivial size, in both ASIC and FPGA flows. It is most useful when the design is still changing, because re-synthesis lets the designer compare area and timing after each RTL revision. Run it early to expose timing and area problems while they are still cheap to fix, and repeat the cycle of RTL change, synthesis, and report review. It is less central for fully custom circuits in which the logic is hand-optimised at the gate or transistor level, and it does not replace architectural decisions about the algorithm.

Limitations and considerations

  • Synthesis restructures the logic it is given but does not change the algorithm; an inefficient algorithm in the RTL generally stays inefficient in the netlist.
  • The optimisation algorithms are heuristic, so the result is not guaranteed to be optimal and can change with tool settings and optimisation effort.
  • Pre-synthesis estimates of area, delay, or power are often imprecise, so the actual quality is usually confirmed only after a synthesis run.
  • The standard flow presumes a synchronous timing discipline; asynchronous or mixed-timing parts of a design typically need explicit constraints or separate treatment.
  • Timing and power figures are valid only for the library characterisation corner used, for example a particular process, voltage, and temperature condition; results at other corners can differ.
  • Synthesis does not by itself guarantee that the netlist is equivalent to the RTL, so the netlist should be checked with formal or simulation-based equivalence checking.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Fast design exploration: a revised RTL description can be re-synthesised and its area and delay compared without redrawing the gates by hand. Such comparisons are valid only when the constraints and tool settings are held fixed, and large designs can need long synthesis runs.
  • Automatic logic optimisation: redundant logic is removed and gate sizes are chosen against the supplied constraints.
  • Technology retargeting: the same RTL can be synthesised against a different library by changing the library input, not the design description.
  • Repeatability: with the same RTL, library, constraints, tool version, and settings, the flow normally reproduces the same netlist, which supports regression comparison between revisions. Tool upgrades can change the result, so a version change should be treated as a new baseline.

Applications

  • ASIC and FPGA design, from RTL to a gate-level implementation for a chosen library.
  • Low-power design, where logic optimisation is combined with power-aware constraints.
  • High-performance design, where critical paths are identified and optimised against timing targets.
  • Area reduction for space-constrained or cost-sensitive products.
  • Equivalence checking, in which the synthesised netlist is verified against the original RTL.

How it works

How it works

1

Read the RTL description (Verilog or VHDL), the technology library (gates with their timing and power data), and the design constraints, such as clock frequency, area budget, and power limit.

2

Build an internal representation of the logic, such as Boolean equations or decision structures. Apply static analysis, such as reachability and constant propagation, to remove logic that can be simplified without changing behaviour.

3

Minimise and restructure the Boolean logic, then map it onto the gates available in the technology library. Two-level minimisation targets sum-of-products forms, multilevel optimisation restructures logic by factoring and sharing common subexpressions, and technology mapping covers the Boolean network with library cells. Which of these the tool applies by default depends on the tool and its settings, so the tool documentation should be checked.

4

Adjust the mapped netlist against the constraints: shorten delay on critical paths, reduce gate count where timing allows, and lower switching activity where power is constrained. These goals often conflict, so the tool weighs them against each other.

5

Write the gate-level netlist and report area, delay, and power, together with the paths that fail or come close to failing their constraints. Timing is usually reported as slack: positive slack means the constraint is met, and negative slack marks a violation. The worst negative slack (WNS) is the most negative slack in the design, and the critical path, the path with the least slack, should be read first. Pre-synthesis and post-synthesis estimates differ from post-layout results, because wire delay after placement and routing can change the timing. These reports guide RTL changes or manual optimisation in the next iteration.

Common pitfalls

  • Writing RTL with deep or redundant logic: synthesis can reduce such logic but usually cannot remove a fundamental inefficiency in the description.
  • Synthesising without clock and timing constraints: the reported delays then do not reflect the intended operating frequency, so timing conclusions are unreliable.
  • Treating the first netlist as final: post-synthesis timing analysis can reveal violations that need RTL or constraint changes, and targeted manual edits sometimes improve the result.
  • Accepting default settings without checking the reports: the area, delay, and power figures should be compared with the design targets before the result is used.

Frequently asked questions

What is the difference between RTL and gate-level?

RTL (Register-Transfer Level) is behavioural: it describes what the circuit does as operations on data. Gate-level is structural: it specifies AND, OR, and NOT gates and how they are interconnected. Synthesis transforms RTL into gates.

Why does synthesis sometimes fail to meet timing?

Synthesis is heuristic, so it finds good solutions that are not necessarily optimal, and it may not find one that meets tight constraints. Relaxing the constraints, rewriting the critical logic, or increasing optimisation effort are common responses.

How do I improve synthesis results for a critical path?

Analyse the path to find the high-delay gates. Options include increasing gate size (trading area for speed), pipelining the path, or rewriting the RTL to reduce logic depth.

Can synthesis optimise for multiple objectives (speed, area, power) simultaneously?

Synthesis tools expose these trade-offs through objective weighting and constraint settings. Different settings produce different netlists, so the choice should follow the design's priorities rather than an assumed single optimum.

Related methods

Sources

  1. Brayton, R. K., Hachtel, G. D., McMullin, C. T., Sangiovanni-Vincentelli, A. L., & Vincentelli, A. S. (1987). Logic Synthesis for VLSI Design. Kluwer Academic.

    Open publication reference
  2. Mishchenko, A., Chatterjee, S., Brayton, R., & Sangiovanni-Vincentelli, A. L. (2006). DAG-aware AIG rewriting. In Proc. DAC (pp. 713-718). ACM.

    Open publication reference
  3. Berkeley, S. (1995). SIS: A system for sequential circuit synthesis. Technical Report UCB/ERL M95/55, UC Berkeley.

    Open publication reference