OutOfOrderMemoryTransportBoundary constructor
- required Logic currentEpoch,
- required ReadyValidInterface<
OutOfOrderMemoryRefillResponse> refillInput, - required ReadyValidInterface<
OutOfOrderMemoryRefillResponse> currentRefillOutput, - String name = 'ooo_memory_transport_boundary',
Creates a recovery-qualified refill transport boundary.
Implementation
OutOfOrderMemoryTransportBoundary({
required Logic currentEpoch,
required ReadyValidInterface<OutOfOrderMemoryRefillResponse> refillInput,
required ReadyValidInterface<OutOfOrderMemoryRefillResponse>
currentRefillOutput,
super.name = 'ooo_memory_transport_boundary',
}) : super(
definitionName:
'OutOfOrderMemoryTransportBoundary_E${currentEpoch.width}',
) {
final guard = OutOfOrderMemoryRecoveryEpochGuard(
currentEpoch: currentEpoch,
input: refillInput,
output: currentRefillOutput,
name: 'recovery_epoch_guard',
);
this.refillInput = refillInput;
this.currentRefillOutput = currentRefillOutput;
addOutput('staleRefill') <= guard.staleResponse;
}