Skip to main content

is_wiring

Function is_wiring 

Source
pub fn is_wiring(op: &FabricOp) -> bool
Expand description

Wiring costs no logic depth: a shift by a constant moves bits, and a bitwise op with a constant operand is constant bits or inverters. It takes its operands’ stage, and each reader rebuilds it from their registers.