Struct bitsy_lang::sim::ext::riscv_decoder::RiscvDecoder
source · pub struct RiscvDecoder(/* private fields */);
Expand description
Debug monitor for a RISC-V core.
On reset and on clock, decodes the 32-bit value presented to in
as a RV32I instruction and
prints it to the screen.
Implementations§
source§impl RiscvDecoder
impl RiscvDecoder
pub fn new(name: String) -> RiscvDecoder
Trait Implementations§
source§impl Debug for RiscvDecoder
impl Debug for RiscvDecoder
source§impl Ext for RiscvDecoder
impl Ext for RiscvDecoder
fn name(&self) -> String
fn instantiate(&mut self, _path: Path)
fn incoming_ports(&self) -> Vec<PortName>
fn outgoing_ports(&self) -> Vec<PortName>
fn update( &mut self, _path: Path, _port: &PortName, value: Value ) -> Vec<(PortName, Value)>
fn clock(&mut self, _path: Path) -> Vec<(PortName, Value)>
fn reset(&mut self, _path: Path) -> Vec<(PortName, Value)>
Auto Trait Implementations§
impl RefUnwindSafe for RiscvDecoder
impl Send for RiscvDecoder
impl Sync for RiscvDecoder
impl Unpin for RiscvDecoder
impl UnwindSafe for RiscvDecoder
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