Crate lib_rv32_isa[−][src]
Re-exports
pub use lib_rv32_common as common;
Modules
Macros
Decode the B-type immediate from a u32
formatted instruction.
Decode the FUNC3 field from a u32
formatted instruction.
Decode the FUNC7 field from a u32
formatted instruction.
Decode the I-type immediate from a u32
formatted instruction.
Decode the J-type immediate from a u32
formatted instruction.
Decode the opcode field from a u32
formatted instruction.
Decode the destination register field from a u32
formatted instruction.
Decode the first operand register field from a u32
formatted instruction.
Decode the second operand register field from a u32
formatted instruction.
Decode the S-type immediate from a u32
formatted instruction.
Decode the U-type immediate from a u32
formatted instruction.
Enums
Enum that encapsulates the various different ways execution can fail. Some errors are caused by other errors and reference them.
Functions
Decode and execute instruction. This will use the program counter to
fetch an instruction from memory, decode/evaluate it, and commit the
results to pc
, mem
, and rf
.