Axi5ChannelDriver<PacketType extends Axi5ChannelPacket> class
abstract
Shared ready/credit scheduling for AXI5 AR, AW, W, R, and B drivers.
Credited scheduling preserves order within a resource plane but permits another plane to progress when an earlier packet runs out of credits. Packets remain in the VF pending queue until their final beat transfers.
- Inheritance
-
- Object
- ROHDVFObject
- Component
- Driver<
PacketType> - PendingDriver<
PacketType> - PendingClockedDriver<
PacketType> - Axi5ChannelDriver
- Implementers
Constructors
Properties
- channel → Axi5TransportInterface
-
Channel whose payload is driven by the concrete driver.
no setter
- clk → Logic
-
The clock for this driver.
finalinherited
-
components
→ UnmodifiableListView<
Component> -
A List of all children Components.
no setterinherited
- creditChecker ↔ CreditChannelChecker?
-
VF accounting used to decide credited eligibility and report violations.
latefinal
-
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.
finalinherited
- dropDelayCycles → int?
-
Number of cycles to hold an objection even when no items are pending.
finalinherited
- enableEndOfTestEmptyCheck → bool
-
If
true, will check at the end of the test that there are no pending items remaining to be driven.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- linkUtilization → num
-
Fraction of requested cycles that transferred a beat.
no setter
- linkUtilizationEnabled ↔ bool
-
Whether offered-cycle and transferred-cycle statistics are collected.
getter/setter pair
- 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<
PacketType> -
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.
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sequencer
→ Sequencer<
PacketType> -
The sequencer from which this Driver acquires new items to drive.
finalinherited
- sys → Axi5SystemInterface
-
Clock and active-low reset.
no setter
-
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.
finalinherited
- timeoutCycles → int?
-
Maximum cycles without beat or queue activity while outside reset.
no setteroverride
- waitEdge → Edge
-
The Edge to wait on when counting cycles for timeoutCycles and
dropDelayCycles.
finalinherited
Methods
-
build(
) → void -
Performs additional build-related activities required before run.
inherited
-
check(
) → void -
Performs additional checks at the end of the simulation.
inherited
-
drivePayload(
PacketType packet, int beat) → void - Drives one beat's payload without waiting for its transfer.
-
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
-
initializePayload(
) → void - Initializes the channel-specific payload outputs.
-
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
-
toggleLinkUtilization(
{bool on = true}) → void - Sets whether link utilization statistics are collected.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited