Verification

Coverage

Metrics measuring how thoroughly a testbench exercises the design, indicating verification completeness.

Detailed Explanation

Code coverage measures which RTL lines, branches, and expressions were executed during simulation. Functional coverage uses covergroups to track whether specific scenarios (defined by the verification engineer) occurred. Toggle coverage checks that signals transitioned both ways.

Coverage guides test development—uncovered areas indicate missing tests. 100% code coverage doesn't guarantee correctness (wrong behavior can execute all code), but low coverage guarantees incomplete testing.