Pipeline class Null safety

A simple pipeline, separating arbitrary combinational logic by flop stages.

Implementers

Constructors

Pipeline(Logic clk, {List<List<Conditional> Function(PipelineStageInfo p)> stages = const [], List<Logic?>? stalls, List<Logic> signals = const [], Map<Logic, Const> resetValues = const {}, Logic? reset})
Constructs a simple pipeline, separating arbitrary combinational logic by flop stages.

Properties

clk Logic
The clock whose positive edge triggers the flops in this pipeline.
final
hashCode int
The hash code for this object.
read-onlyinherited
reset Logic?
An optional reset signal for all pipelined signals.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

get(Logic logic, [int? stageIndex]) Logic
Gets the pipelined version of logic. By default stageIndex is the last stage (the output of the pipeline).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited