Skip to main content

emit_loop_fabric_testbench

Function emit_loop_fabric_testbench 

Source
pub fn emit_loop_fabric_testbench(
    name: &str,
    lf: &LoopFabric,
    n: usize,
    max_cycles: usize,
) -> String
Expand description

A self-checking testbench for the CGRA: for each recorded input vector, pulse reset, clock until done, and compare result against the VM oracle from cgra_{in,out}.hex.