ReadyValidStorageStatusChecker constructor
Creates a retained-storage status checker.
Implementation
ReadyValidStorageStatusChecker(super.name, super.parent,
{required this.clk,
required this.reset,
required this.capacity,
required this.occupancy,
required this.empty,
required this.full,
this.endpoint = 'readyValidStorage',
this.reportViolations = true}) {
if (capacity < 1) {
throw ArgumentError.value(capacity, 'capacity', 'Must be at least one.');
}
if (reset.width != 1 || empty.width != 1 || full.width != 1) {
throw ArgumentError('Reset, empty, and full signals must be one bit.');
}
}