pub trait Machine: CoreMachine {
// Required methods
fn ecall(&mut self) -> Result<(), Error>;
fn ebreak(&mut self) -> Result<(), Error>;
}
Expand description
This is the core trait describing a full RISC-V machine. Instruction package only needs to deal with the functions in this trait.