Skip to main content

simulate_pipeline

Function simulate_pipeline 

Source
pub fn simulate_pipeline(
    ops: &[FabricOp],
    sched: &PipelineSchedule,
    n_in: usize,
    stream: &[Vec<i64>],
) -> Vec<i64>
Expand description

The cycle model of the emitted pipeline. Before each clock t the input vector stream[t] is presented; the returned vector holds the result register after each clock. Registers start at zero.