Skip to main content

eval_systolic_os_pipelined_acc

Function eval_systolic_os_pipelined_acc 

Source
pub fn eval_systolic_os_pipelined_acc(
    os: &SystolicOs,
    a: &[i64],
    w: &[i64],
    bits: u32,
    acc_bits: u32,
) -> (Vec<i64>, usize)
Expand description

eval_systolic_os_pipelined with an explicit accumulator width acc_bits — each PE’s accumulator wraps (two’s-complement) at acc_bits, exactly like the acc_bits-wide acc_reg in the emitted OS RTL.