ReadyValidPipeline class

A pipeline that implements Ready/Valid protocol at each stage.

Inheritance

Constructors

ReadyValidPipeline(Logic clk, Logic validPipeIn, Logic readyPipeOut, {List<List<Conditional> Function(PipelineStageInfo p)> stages = const [], Map<Logic, Const> resetValues = const {}, List<Logic> signals = const [], Logic? reset})
Constructs a pipeline with Ready/Valid protocol at each stage.
ReadyValidPipeline.multi(List<Logic> _clks, Logic validPipeIn, Logic readyPipeOut, {List<List<Conditional> Function(PipelineStageInfo p)> stages = const [], Map<Logic, Const> resetValues = const {}, List<Logic> signals = const [], Logic? reset})
Creates a ReadyValidPipeline with multiple triggers.

Properties

clk Logic
The clock whose positive edge triggers the flops in this pipeline when single-triggered. Otherwise, the first clock.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
readyPipeIn Logic
Indicates that the pipeline is ready to accept new content.
latefinal
readyPipeOut Logic
Indicates that the receiver of the output of the pipeline is ready to pull out of the pipeline.
final
reset Logic?
An optional reset signal for all pipelined signals.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stageCount int
Returns the number of stages in this pipeline.
no setterinherited
validPipeIn Logic
Indicates that the input to the pipeline is valid.
final
validPipeOut Logic
Indicates that valid contents are ready to be recieved at the output of the pipeline.
latefinal

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).
inherited
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