Home / Learn Verilog / Coverage-Driven Verification

Coverage-Driven Verification

Random tests until coverage is full.

Quick summaryRandom tests until coverage is full.

How to think about this

CDV looprandom testsmeasure coveragefind holessteer constraintsrepeat
CDV loop

What it is

Run random tests, measure coverage, add tests for holes, repeat until goals are met.

Why it matters

An objective stopping rule.

Mechanically speaking

Constraints steer random toward holes.

Shows up in

  • Everyday RTL design
  • FPGA and ASIC projects
  • Testbenches and debugging

Try it

Run until all bins are hitVerilog: edit and run

Stops when coverage goal is reached.

Check yourself

1. CDV stops when...