Skip to content

Methods launder pipeline latency

This compiles but should not

pipeline(10) test(clk: clock) -> [bool; 8] {
  reg*10;
    [false; 8]
}

pipeline(1) main(clk: clock) -> int<8> {
    let x = inst(10) test(clk).to_int();
  reg;
    x
}