Turn a specification into features to check, boundary cases, verification methods, and completion criteria.
A verification plan turns each requirement into a situation to exercise, a result to check, and behavior to measure. It starts from the specification rather than a copy of the RTL.
Make requirements checkable
“The result is valid after calculation” is insufficient. Specify latency, acceptance, stability under stall, and reset behavior.
Feature
Scenarios
Check
Coverage
Priority
Reset
startup, reset during activity
expected outputs and internal state
every useful interruption point
high
Transfer
nominal, stalls, bursts
protocol scoreboard
crossed lengths and wait states
high
Error
overflow, illegal command
error code and absence of prohibited effects
every error
medium
Map each row to a directed test, constraint, assertion, or coverage point. Coverage alone does not check whether a result is correct.
Divide responsibilities
The testbench generates transactions, applies them to the DUT, observes exchanges, compares against an independent reference, and measures exercised scenarios. A few tasks suit a small circuit; separate components help with more complex interfaces.
Start with directed checks for reset, one transfer, and boundaries. Constrained random stimulus then explores interactions: length, configuration, legal delays, concurrency, responses, and injected errors. Changing data alone leaves many control rules unexplored.
For each feature, include minimums and maximums, consecutive operations, simultaneous commands, reset during activity, and illegal inputs with their expected responses.
Build, run, and drain
Phase
Expected work
Build
create the configuration, construct and connect the environment, reset, then configure the DUT
Run
start the generator, drivers, and monitors; execute the scenario; then wait for transactions to propagate, with a timeout
Wrap-up
allow the final responses to emerge, check remaining expectations, and publish counters and the verdict
The generator finishing does not finish the test. Transactions may still be in drivers, the DUT, or monitors. Wait for an observable drain condition, such as a finished generator with no pending expectations, backed by a global timeout.
Keep coverage from valid runs separate from failed simulations. A failing campaign may exercise a situation without handling it correctly.
Define completion
Verification finishes when mandatory tests pass, checks report no errors, planned coverage is reached or justified, and known bugs have documented decisions. No important requirement should remain unchecked.
To close a coverage gap, try several seeds, inspect constraints preventing the case, then add a targeted test if needed. Record test, seed, configuration, and simulator version. A seed reproduces behavior only with a comparable environment and random-call order.