Skip to main content

emit_fp32_scalar_add_testbench

Function emit_fp32_scalar_add_testbench 

Source
pub fn emit_fp32_scalar_add_testbench(n: usize) -> String
Expand description

A self-checking combinational testbench for the scalar fp32_add: drive n (a,b) 32-bit vectors from fp32_add_a.hex/_b.hex, compare the settled y against Rust’s f32 add oracle in fp32_add_o.hex.