Struct hazardflow_designs::cpu::csr::CsrReq
source · pub struct CsrReq {
pub cmd: CsrCmd,
pub wdata: u32,
pub decode: U<LEN_CSR_ADDR>,
pub exception: bool,
pub pc: u32,
}
Expand description
CSR request.
Fields§
§cmd: CsrCmd
CSR command.
wdata: u32
Write data.
decode: U<LEN_CSR_ADDR>
CSR register.
exception: bool
Exception happened?
pc: u32
PC.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CsrReq
impl Send for CsrReq
impl Sync for CsrReq
impl Unpin for CsrReq
impl UnwindSafe for CsrReq
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