Enum hazardflow_designs::cpu::riscv_isa::WbSel
source · pub enum WbSel {
Alu,
Mem,
Csr,
}Expand description
Writeback selector.
Indicates which value should be writeback to the regfile.
Variants§
Alu
Writeback ALU output (e.g., add, sub, …).
Mem
Writeback DMEM response (e.g., lb, lh, …).
Csr
Writeback CSR response (e.g., csrr, csrw, …).
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WbSel
impl Send for WbSel
impl Sync for WbSel
impl Unpin for WbSel
impl UnwindSafe for WbSel
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