Home / Glossary / Formal Verification

On this pageIn more detailWhy it mattersRelated termsRead more

Formal Verification

Formal verification uses mathematical proof to show that a chip design satisfies a stated property for every possible input, without running simulations.

In more detail

Simulation checks a design by trying examples. However many are run, they cover a tiny fraction of the possible cases. Formal tools take a different approach: they analyze the design’s logic exhaustively and either prove that a property always holds or produce a specific counterexample showing how it can fail.

The main forms are:

  • Property checking. Proving assertions about a design’s behavior, such as “a request is always followed by a grant.”
  • Equivalence checking. Proving that two versions of a design, for example RTL and the synthesized netlist, have the same function.
  • Automated checks. Prepackaged analyses for common problems such as unreachable code, signals crossing between clock domains or incorrect connectivity.

Why it matters

Formal verification finds corner-case bugs that random simulation is unlikely to hit, and it can give certainty where simulation gives only confidence. Equivalence checking is a routine part of every chip project.

Its limit is capacity. The effort needed to prove a property can grow explosively with design size, so property checking is applied mainly to individual blocks and to control logic, arbiters, interfaces and security-critical functions. Results also depend on the properties being correct and complete.

It is used alongside simulation methods such as UVM, not in place of them.

Related terms

Read more