ReadyValidStorageStatusChecker class

Checks retained-storage status signals at rising clock edges.

The checker is deliberately signal based: it does not import a particular component package or infer an occupancy-update policy from handshakes.

Inheritance

Constructors

ReadyValidStorageStatusChecker(String name, Component? parent, {required Logic clk, required Logic reset, required int capacity, required Logic occupancy, required Logic empty, required Logic full, String endpoint = 'readyValidStorage', bool reportViolations = true})
Creates a retained-storage status checker.

Properties

capacity → int
Number of items the checked storage can retain.
final
clk → Logic
Clock used to sample the status signals.
final
components → UnmodifiableListView<Component>
A List of all children Components.
no setterinherited
empty → Logic
High when occupancy is zero.
final
endpoint → String
Storage boundary name recorded in violations.
final
full → Logic
High when occupancy equals capacity.
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
occupancy → Logic
Number of items retained by the checked storage.
final
parent → Component?
The Component which constructed and contains this Component.
finalinherited
reportViolations → bool
Whether observed violations are logged as SEVERE.
final
reset → Logic
Active-high reset that suppresses status checks.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
violations → List<ReadyValidStorageStatusViolation>
Violations observed by this checker in sampling order.
no setter
violationStream → Stream<ReadyValidStorageStatusViolation>
Broadcast stream of newly observed violations.
no setter

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