Turn requirements into checks and coverage goals
Random stimulus is a search strategy, not proof of completeness. Make a verification-plan row for each requirement: stimulus, checker, coverage observation, and pass criterion. For the buffer, include empty accept, occupied stall, consume-only, simultaneous consume/replace, reset while empty, and reset while occupied.
Add directed tests for each required case before random stress. Cover accepted transfers, not every attempted transaction. Code coverage describes execution; functional coverage describes exercised behavior from the plan. A 100% score for an incomplete coverage model can still miss critical behavior.
Use assertions without vacuous confidence
property output_holds_when_stalled;
@(posedge clk) disable iff (rst)
out_valid && !out_ready |=> out_valid && $stable(out_data);
endproperty
assert property (output_holds_when_stalled);
cover property (@(posedge clk) disable iff (rst)
out_valid && !out_ready ##1 out_valid && out_ready);
Place these in a scope with access to the DUT signals and use a simulator supporting these SVA constructs. The assertion checks the next sampled edge after a stall. Reset aborts the active obligation. The cover property demonstrates a stall followed by a transfer; it does not compare payload correctness and cannot replace the scoreboard.
Also record that the antecedent actually occurred. A property that never triggers can succeed vacuously. Keep environment assumptions separate from DUT assertions so a restrictive assumption cannot silently rule out the bug being searched for. Prove checker sensitivity using a controlled defect and include a watchdog for deadlock.
Keep every failure reproducible
For every run, save test name, seed, source revision, tool/version, compile options, exit status, assertion/scoreboard summary, and coverage configuration. Check randomize() return values explicitly. A failed constraint solve must fail the test or take a documented recovery path; continuing with old field values is not fresh random stimulus.
Run multiple recorded seeds and merge compatible coverage according to the selected tool's workflow. Replay failures before changing code, minimize the triggering stimulus, and keep the failing seed as a regression case. A different seed is not a fix.
Completion evidence: Directed cases pass; the deliberately broken DUT fails; required functional cases are observed; pending transactions drain; timeouts and assertion failures produce an unsuccessful run; reset behavior matches the contract. This is a practical verification foundation. Professional UVM, CDC, formal, and protocol signoff need further supervised projects and tool-specific experience.