Pipeline class
A simple pipeline, separating arbitrary combinational logic by flop stages.
- Implementers
Constructors
-
Pipeline(Logic clk, {List<
List< stages = const [], List<Conditional> Function(PipelineStageInfo p)>Logic?> ? stalls, List<Logic> signals = const [], Map<Logic, Const> resetValues = const {}, Logic? reset}) - Constructs a simple pipeline, separating arbitrary combinational logic by flop stages.
-
Pipeline.multi(List<
Logic> _clks, {List<List< stages = const [], List<Conditional> Function(PipelineStageInfo p)>Logic?> ? stalls, List<Logic> signals = const [], Map<Logic, Const> resetValues = const {}, Logic? reset}) -
Constructs a Pipeline with multiple triggers on any of
_clks
.
Properties
- clk → Logic
-
The clock whose positive edge triggers the flops in this pipeline when
single-triggered. Otherwise, the first clock.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- reset → Logic?
-
An optional reset signal for all pipelined signals.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stageCount → int
-
Returns the number of stages in this pipeline.
no setter
Methods
-
get(
Logic logic, [int? stageIndex]) → Logic -
Gets the pipelined version of
logic
. By defaultstageIndex
is the last stage (the output of the pipeline). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited