pub fn emit_wpe_user_project_testbench(
name: &str,
n_vectors: usize,
max_bytes: usize,
memory: &OffchipMemory,
caravel: &WpeCaravel,
pads: HarnessDelay,
) -> StringExpand description
The off-chip engine’s host testbench, driving wpe_user_project through its Caravel pins at the engine’s
clock: the UART on the plan’s GPIOs, the part’s pin model on the PSRAM GPIOs (a pad driven exactly while
its io_oeb is low), every PSRAM pin reaching the part pads after the macro drives it and the part’s
data reaching io_in pads.in_ps after the part drives it, the management SoC’s clock and reset, and an
idle Wishbone. A pin driven the wrong way at any point after reset fails the run with PIN-DIRECTION.