Axi4SubordinateAgent class

A model for the subordinate side of an Axi4ReadInterface and Axi4WriteInterface.

Inheritance

Constructors

Axi4SubordinateAgent.new({required Axi4SystemInterface sIntf, required List<Axi4Channel> channels, required Component parent, MemoryStorage? storage, int readResponseDelay(Axi4ReadRequestPacket request)?, int writeResponseDelay(Axi4WriteRequestPacket request)?, bool respondWithError(Axi4RequestPacket request)?, bool invalidReadDataOnError = true, bool dropWriteDataOnError = true, List<AxiAddressRange> ranges = const [], bool supportLocking = false, String name = 'axi4SubordinateAgent'})
Creates a new model Axi4SubordinateAgent.

Properties

channels List<Axi4Channel>
Channels that the subordinate manages.
final
components UnmodifiableListView<Component>
A List of all children Components.
no setterinherited
dropWriteDataOnError bool
If true, then writes that respond with an error will not store into the storage.
final
hashCode int
The hash code for this object.
no setterinherited
invalidReadDataOnError bool
If true, then returned data on an error will be x.
final
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
ranges List<AxiAddressRange>
Address range configuration. Controls access to addresses and helps with the wrap mode for bursts.
getter/setter pair
readResponseDelay int Function(Axi4ReadRequestPacket request)?
A function which delays the response for the given request.
final
respondWithError bool Function(Axi4RequestPacket request)?
A function that determines whether a response for a request should contain an error (slvErr).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sIntf Axi4SystemInterface
The system interface.
final
storage MemoryStorage
A place where the subordinate should save and retrieve data.
latefinal
supportLocking bool
Enable locking functionality as per AXI4 spec.
final
writeResponseDelay int Function(Axi4WriteRequestPacket request)?
A function which delays the response for the given request.
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
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.
override
toString() String
A string representation of this object.
inherited

Operators

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