forked from libre-chip/cpu
ExecuteToUnitInterface: add guarantee that if unit_outputs_ready is false, then enqueue.data is HdlNone
This commit is contained in:
parent
7fc205e583
commit
29622be160
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ pub struct UnitMOpCantCauseCancel<C: PhantomConstGet<CpuConfig>> {
|
|||
pub struct ExecuteToUnitInterface<C: PhantomConstGet<CpuConfig>> {
|
||||
pub global_state: GlobalState,
|
||||
/// Enqueues happen in program order, they are not re-ordered by out-of-order execution.
|
||||
/// if [`Self::unit_outputs_ready`] is `false`, then `enqueue.data` is always [`HdlNone`].
|
||||
pub enqueue: ReadyValid<UnitEnqueue<C>>,
|
||||
/// if [`Self::unit_outputs_ready`] is `false`, then this is always [`HdlNone`]
|
||||
pub inputs_ready: HdlOption<UnitInputsReady<C>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue