Struct hazardflow_designs::cpu::mem::MemInfo
source · pub struct MemInfo {
pub fcn: MemOpFcn,
pub typ: MemOpTyp,
pub data: u32,
}Expand description
Memory access information.
Fields§
§fcn: MemOpFcnFunction (load or store).
typ: MemOpTypOperand type.
data: u32Store data.
Used for S-type instructions (sw, sh, sb).
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MemInfo
impl Send for MemInfo
impl Sync for MemInfo
impl Unpin for MemInfo
impl UnwindSafe for MemInfo
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