Skip to main content

emit_xpu_soc_testbench

Function emit_xpu_soc_testbench 

Source
pub fn emit_xpu_soc_testbench(
    name: &str,
    n_cases: usize,
    frame_len: usize,
) -> String
Expand description

A self-checking testbench: clock a program’s bytecode frame in byte-by-byte, wait for done, and compare result to the VM oracle. One frame carries the config + one input vector, so a frame is streamed per (program, input) case; rst clears the loader between frames.