Skip to main content

emit_simd_add_testbench

Function emit_simd_add_testbench 

Source
pub fn emit_simd_add_testbench(name: &str, n: usize) -> String
Expand description

A self-checking combinational testbench for simd_{name}: drive n (a,b) vectors from simd_{name}_a.hex/_b.hex, compare the settled r against the lane-wise oracle in _o.hex, print PASS.