[][src]Struct riscv_sandbox::machine::rv32imc::MemData

pub struct MemData {
    pub pc: i32,
    pub wb_perform: bool,
    pub wb_rd: usize,
    pub value: i32,
    pub perform: Option<MemAction>,
    pub addr: usize,
    pub size: WordSize,
}

Represent the data which we need to send to the mem step It also contains information to forward to the next step (write back)

Fields

pc: i32wb_perform: bool

data forwarding from ex stage

wb_rd: usizevalue: i32

used as union for either WB value or Store value

perform: Option<MemAction>

data needed to perform the load/store

addr: usizesize: WordSize

Auto Trait Implementations

impl Send for MemData

impl Sync for MemData

impl Unpin for MemData

impl UnwindSafe for MemData

impl RefUnwindSafe for MemData

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]