Axi5CreditDriver class
Receiver-side AXI5 credit provisioning and beat-by-beat credit recycling.
This BFM consumes each received beat immediately. Returns are registered: neither a newly granted credit nor a newly consumed credit can be reused in the same sampled cycle. Reset revokes the old epoch and reprovisions it.
- Inheritance
-
- Object
- ROHDVFObject
- Component
- Axi5CreditDriver
Constructors
-
Axi5CreditDriver({required Component parent, required Axi5SystemInterface sys, required Axi5TransportInterface trans, List<
int> ? creditsPerResourcePlane, num returnFrequency = 1.0, String name = 'axi5CreditDriver'}) - Creates a credited receiver with one slot per pool by default.
Properties
- checker ↔ CreditChannelChecker
-
VF conservation and protocol-bound checks.
latefinal
-
components
→ UnmodifiableListView<
Component> -
A List of all children Components.
no setterinherited
-
creditsPerResourcePlane
→ List<
int> -
Receiver capacity dedicated to each resource plane, from 1 to 15.
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
- returnFrequency → num
-
Probability of returning each available credit in a cycle.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Receiver shared capacity, from 0 to 15.
final
- sys → Axi5SystemInterface
-
Clock and active-low reset.
final
- trans → Axi5TransportInterface
-
Credited channel whose return signals are driven.
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
-
disable(
) → void - Stops granting credits; already granted credits remain usable.
-
enable(
) → void - Resumes granting available credits.
-
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