Hardware verification
Problems
- Constrained random stimulus generation
Generate random input vectors that satisfy declared constraints, with a controlled and ideally uniform distribution, to drive simulation of a design.
core - Latch mapping
Pair the registers of two sequential designs so that combinational equivalence checking can compare their next-state and output functions.
core - Sequential equivalence checking
Decide whether two sequential circuits with possibly different state encodings produce the same outputs for every input sequence from their initial states.
core
Algorithms
- Symbolic simulation
Simulates a circuit with Boolean variables instead of constants on the inputs, so each node holds a BDD or formula that covers all input values at once.
1 languagescore - BDD-based constrained random generation
Yuan and coauthors' generator that builds a BDD of the constraints, weights each node by the count of solutions below it and walks down to draw solutions with set biases.
1 languagesadvanced - Coudert-Madre image computation
Coudert, Berthet and Madre's BDD method that computes the image of a set of states from the next-state functions by recursive splitting and constrain, with no transition relation.
1 languagesadvanced - Cutpoint-based equivalence checking
Kuehlmann and Krohm's method that finds equivalent internal nodes of two circuits, proves them and uses them as cut points so that hard outputs split into easy parts.
1 languagesadvanced - Signal correspondence
Van Eijk's method that guesses classes of equal signals by simulation and refines them by induction until they are an inductive invariant that proves sequential equivalence.
1 languagesadvanced - Symbolic trajectory evaluation
Seger and Bryant's model checking of bounded properties over a lattice of ternary states by symbolic simulation, used on large memories and datapaths.
1 languagesadvanced - Generalized symbolic trajectory evaluation
Yang and Seger's extension of STE to assertion graphs that express properties over unbounded time, checked by a fixed point on ternary symbolic states.
1 languagesresearch - Observability-based coverage
Devadas, Ghosh and Keutzer's metric, made fast by OCCOM, that propagates tags from each assignment and counts it covered only if an error there would reach an output.
1 languagesresearch - SAT-based design debugging
Smith, Veneris and coauthors' method that adds a multiplexer at each suspect gate and asks a SAT solver which few gates can be changed to fix all failing traces.
1 languagesresearch
Data structures
- Taylor expansion diagram
Ciesielski, Kalla and Askar's canonical graph of a polynomial over word-level variables built by Taylor expansion, used to verify arithmetic datapaths.
1 languagesadvanced
Techniques
- Assertion checker synthesis
Compiles temporal assertions into automata and then into synthesizable monitor circuits that run in simulation, emulation or silicon, as in Boule and Zilic's work.
advanced - Burch-Dill flushing
Burch and Dill's check of a pipelined processor against its ISA that flushes the pipeline to get an abstraction function and proves a commuting diagram in EUF logic.
1 languagesadvanced - Clock domain crossing verification
Finds signals that cross between asynchronous clock domains and checks that each has a proper synchronizer, handshake or FIFO and no reconvergence of synchronized bits.
advanced - Partitioned transition relation
Keeps the transition relation as a list of BDD conjuncts and quantifies each variable as soon as no later conjunct uses it, so image computation stays small.
advanced - Algebraic verification of arithmetic circuits
Models each gate as a polynomial and rewrites the specification of a multiplier or adder backward through the gates, a Groebner basis reduction that ends in zero if correct.
research - Coverage-directed test generation
Closes the loop between coverage and stimulus, for example by a Bayesian network that learns which generator settings hit which coverage holes, as in Fine and Ziv.
research - Positive equality
Bryant, German and Velev's reduction of EUF formulas that gives distinct constants to terms used only in positive equations, which makes processor verification fast.
research
Concepts
- Code coverage metrics
Measures of how much of an HDL description a test exercises, such as lines, branches, expressions and signal toggles, used to judge when simulation is done.
intro - Assertion-based verification
Writes design intent as temporal assertions in a language such as PSL or SVA and checks them in simulation, emulation and formal tools.
core - Functional coverage
User-written coverage points and crosses over design and test values that record which features of the specification have been exercised.
core
Definitions
- Miter
A circuit that feeds the same inputs to two designs and XORs matching outputs into one OR output, which can be 1 only if the designs differ.
intro - FSM coverage
The fraction of the states and transitions of the extracted controller FSMs of a design that a test suite visits, a coverage metric for control logic.
core - Product machine
The machine that runs two FSMs side by side on the same inputs and flags a mismatch of outputs; two designs are equivalent if no mismatch state is reachable.
core - Synchronizer mean time between failures
MTBF = e^(t/tau) / (T_w f_c f_d), the mean time between metastability failures of a flip-flop synchronizer with resolution time t and clock and data rates f_c and f_d.
core - Safe replaceability
A design safely replaces another if every output sequence that it can give from any power-up state, the old design can also give from some power-up state.
advanced