Skip to main content

emit_psram_edge_testbench

Function emit_psram_edge_testbench 

Source
pub fn emit_psram_edge_testbench(
    edge: &PsramEdge,
    over: &EdgeOverrides,
    bursts: &[PsramBurst],
    wdata: &[u64],
) -> String
Expand description

A testbench: the controller and the model, the bursts issued in order (write data taken from wdata in order), every word read printed as RD <hex>, every burst’s cycles from acceptance to the next req_ready as BURST <n>, then the model’s total and PSRAM-DONE.