Axi4MainAgent class

An agent for sending requests on Axi4ReadInterfaces and Axi4WriteInterfaces.

Driven read packets will update the returned data into the same packet.

Inheritance

Constructors

Axi4MainAgent.new({required Axi4SystemInterface sIntf, required List<Axi4Channel> channels, required Component parent, String name = 'axiMainAgent', int timeoutCycles = 500, int dropDelayCycles = 30})
Constructs a new Axi4MainAgent.

Properties

channels List<Axi4Channel>
Channels that the agent can send requests on.
final
components UnmodifiableListView<Component>
A List of all children Components.
no setterinherited
dropDelayCycles int
The number of cycles before an objection will be dropped when there are no pending packets to send.
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
rdAgents List<Axi4ReadAgent>
Agents to manage individual read channels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sIntf Axi4SystemInterface
AXI4 System Interface.
final
timeoutCycles int
The number of cycles before timing out if no transactions can be sent.
final
wrAgents List<Axi4WriteAgent>
Agents to manage individual write channels.
final

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
getRdDriver(int channelId) Axi4ReadMainDriver?
Get the ith channel's read driver.
getRdMonitor(int channelId) Axi4ReadMonitor?
Get the ith channel's read monitor.
getRdSequencer(int channelId) Sequencer<Axi4ReadRequestPacket>?
Get the ith channel's read sequencer.
getWrDriver(int channelId) Axi4WriteMainDriver?
Get the ith channel's write driver.
getWrMonitor(int channelId) Axi4WriteMonitor?
Get the ith channel's write monitor.
getWrSequencer(int channelId) Sequencer<Axi4WriteRequestPacket>?
Get the ith channel's write sequencer.
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