stageCount property

int stageCount

Returns the number of stages in this pipeline.

Note that this will be one greater than the number of elements in stages during construction, as well as one greater than the number of flop stages. This represents the count of chunks of combinational logic separated by flops.

Implementation

int get stageCount => _stages.length;