Struct hazardflow_designs::cpu::exe::ExeEP
source · pub struct ExeEP {
pub wb_info: HOption<(U<{ _ }>, WbSel)>,
pub alu_out: u32,
pub mem_info: HOption<MemInfo>,
pub csr_info: HOption<CsrInfo>,
pub is_illegal: bool,
pub pc: u32,
pub debug_inst: u32,
}
Expand description
Payload from execute stage to memory stage.
Fields§
§wb_info: HOption<(U<{ _ }>, WbSel)>
Writeback information.
It contains the writeback address and selector.
alu_out: u32
ALU output.
mem_info: HOption<MemInfo>
Memory information.
csr_info: HOption<CsrInfo>
CSR information.
is_illegal: bool
Indicates that the instruction is illegal or not.
pc: u32
PC.
debug_inst: u32
Instruction (for debugging purpose).
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ExeEP
impl Send for ExeEP
impl Sync for ExeEP
impl Unpin for ExeEP
impl UnwindSafe for ExeEP
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more