Skip to main content

emit_wprog_engine_soc_offchip_testbench

Function emit_wprog_engine_soc_offchip_testbench 

Source
pub fn emit_wprog_engine_soc_offchip_testbench(
    name: &str,
    n_vectors: usize,
    clks_per_bit: usize,
    max_bytes: usize,
    memory: &OffchipMemory,
) -> String
Expand description

The over-the-wire host for the off-chip engine, on a board carrying the part: the same stimulus and checks as the on-chip testbench, the clock at the edge’s system period, the part’s pin model on the SIO pads, and a monitor that fails the run the moment a received byte is overwritten before the engine takes it. Prints a FRAME line per program, then PSRAM-VIOLATIONS and PSRAM-STALL-CYCLES.