pub struct RegisterFileState {
pub regs: Vec<u64>,
}Expand description
The concrete state of a CPU register file (for simulation).
Fields§
§regs: Vec<u64>Register values indexed by register number.
Implementations§
Source§impl RegisterFileState
impl RegisterFileState
Sourcepub fn verify_raw(&mut self, r: usize, v: u64) -> bool
pub fn verify_raw(&mut self, r: usize, v: u64) -> bool
Verify the read-after-write property for a register.
Auto Trait Implementations§
impl Freeze for RegisterFileState
impl RefUnwindSafe for RegisterFileState
impl Send for RegisterFileState
impl Sync for RegisterFileState
impl Unpin for RegisterFileState
impl UnsafeUnpin for RegisterFileState
impl UnwindSafe for RegisterFileState
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