Skip to main content

emit_dram_executor_testbench

Function emit_dram_executor_testbench 

Source
pub fn emit_dram_executor_testbench(nwords: usize) -> String
Expand description

A self-checking testbench: a ROM of REAL plan words (from delta_encode) drives the executor; the bench asserts every issue arrives IN ORDER with the exact opcode/ bank/row of its word, and prints PASS/FAIL. (Absolute-time equality to the plan is the Rust-side lock; the bench pins order + payload + one-issue-per-word in RTL.)