PendingClockedDriver<SequenceItemType extends SequenceItem> constructor

PendingClockedDriver<SequenceItemType extends SequenceItem>(
  1. String name,
  2. Component? parent,
  3. {required Sequencer<SequenceItemType> sequencer,
  4. required Logic clk,
  5. int? timeoutCycles,
  6. int? dropDelayCycles,
  7. Edge waitEdge = Edge.pos,
  8. bool enableEndOfTestEmptyCheck = true}
)

Creates a new PendingClockedDriver attached to sequencer with the specified timeoutCycles and dropDelayCycles.

Implementation

PendingClockedDriver(
  super.name,
  super.parent, {
  required super.sequencer,
  required this.clk,
  this.timeoutCycles,
  this.dropDelayCycles,
  this.waitEdge = Edge.pos,
  super.enableEndOfTestEmptyCheck,
}) : super(
        timeout: timeoutCycles != null
            ? () async {
                await clk.waitCycles(timeoutCycles, edge: waitEdge);
              }
            : null,
        dropDelay: dropDelayCycles != null
            ? () async {
                await clk.waitCycles(dropDelayCycles, edge: waitEdge);
              }
            : null,
      );