PendingDriver<SequenceItemType extends SequenceItem> class
abstract
A special type of Driver which automatically pulls items out of the sequencer and into a queue of pendingSeqItems.
It also handles raising objections while there are pending items and ensuring that the queue is empty at the end of the test.
- Inheritance
-
- Object
- ROHDVFObject
- Component
- Driver<
SequenceItemType> - PendingDriver
- Implementers
Constructors
-
PendingDriver(String name, Component? parent, {required Sequencer<
SequenceItemType> sequencer, Future<void> timeout()?, Future<void> dropDelay()?, bool enableEndOfTestEmptyCheck = true}) - Creates a new PendingDriver attached to sequencer.
Properties
-
components
→ UnmodifiableListView<
Component> -
A List of all children
Component
s.no setterinherited -
dropDelay
→ (Future<
void> Function()?) -
A function called each time an objection would drop due to an empty
pendingSeqItems, but the objection will only be dropped if there is no
further activity before it completes.
final
- enableEndOfTestEmptyCheck → bool
-
If
true
, will check at the end of the test that there are no pending items remaining to be driven.final - hashCode → int
-
The hash code for this object.
no setterinherited
- logger → Logger
-
A Logger for messages related to the test or testbench.
latefinalinherited
- name → String
-
A name for this instance of the Component.
finalinherited
- parent → Component?
-
The Component which constructed and contains this Component.
finalinherited
-
pendingSeqItems
↔ Queue<
SequenceItemType> -
A Queue of items that have been received from the sequencer and are
waiting to be driven. After an item has been driven, it should be
removed.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sequencer
→ Sequencer<
SequenceItemType> -
The sequencer from which this Driver acquires new items to drive.
finalinherited
-
timeout
→ (Future<
void> Function()?) -
A function called each time there is something added or removed from the
pendingSeqItems, and if it completes before an objection is dropped or
some further activity occurs, an error is flagged.
final
Methods
-
build(
) → void -
Performs additional build-related activities required before run.
inherited
-
check(
) → void -
Performs additional checks at the end of the simulation.
override
-
fullName(
) → String -
A descriptive name including the full hierarchical path of
this Component.
inherited
-
hierarchy(
) → List< Component> -
Returns a List of
Component
s representing the full hierarchy of thisComponent
, with the top-most parent at index 0 and this as the last element of the List.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
Phase phase) → Future< void> -
Executes this Component's activities related to running the test.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited