SpiMainAgent class

An agent for the main side of the SpiInterface.

Inheritance

Constructors

SpiMainAgent({required SpiInterface intf, required Component parent, required Logic clk, String name = 'spiMain', int dropDelayCycles = 30})
Creates a new SpiMainAgent.

Properties

components UnmodifiableListView<Component>
A List of all children Components.
no setterinherited
driver SpiMainDriver
The driver that sends packets.
latefinal
dropDelayCycles int
The number of cycles before dropping an objection.
final
hashCode int
The hash code for this object.
no setterinherited
intf SpiInterface
The interface to drive.
final
logger Logger
A Logger for messages related to the test or testbench.
latefinalinherited
monitor SpiMonitor
The monitor that watches the interface.
latefinal
name String
A name for this instance of the Component.
finalinherited
parent Component?
The Component which constructed and contains this Component.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequencer Sequencer<SpiPacket>
The sequencer
latefinal

Methods

build() → void
Performs additional build-related activities required before run.
inherited
check() → void
Performs additional checks at the end of the simulation.
inherited
fullName() String
A descriptive name including the full hierarchical path of this Component.
inherited
hierarchy() List<Component>
Returns a List of Components representing the full hierarchy of this Component, 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.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited