From 5f8d4eca96a705316085b819e336a0ff9e3f3f76 Mon Sep 17 00:00:00 2001 From: GenshinImpactStarts Date: Tue, 4 Jun 2024 17:47:39 +0000 Subject: [PATCH] deploy: 201c12098f4c54ab31b014db318198ab4b5f7f65 --- moras/all.html | 2 +- .../interface/parser/trait.ParserInstSet.html | 2 +- moras/interface/simulator/index.html | 2 +- moras/interface/simulator/sidebar-items.js | 2 +- .../simulator/trait.FakeMiddlewareTrait.html | 6 + .../interface/simulator/trait.Simulator.html | 13 +- .../parser/constant.MAX_DATA_SIZE.html | 2 +- .../interface/parser/enum.ParserRISCVCsr.html | 6 +- .../parser/enum.ParserRISCVImmediate.html | 6 +- .../parser/enum.ParserRISCVInstOp.html | 6 +- .../parser/enum.ParserRISCVInstOpd.html | 6 +- .../parser/enum.ParserRISCVLabel.html | 6 +- .../parser/enum.ParserRISCVLabelHandler.html | 6 +- .../parser/enum.ParserRISCVRegister.html | 6 +- .../interface/parser/enum.RISCVExtension.html | 6 +- .../interface/parser/fn.export_list.html | 9 -- .../interface/parser/fn.export_pair.html | 11 -- .../riscv/basic/interface/parser/index.html | 2 +- .../basic/interface/parser/sidebar-items.js | 2 +- .../basic/interface/parser/struct.RISCV.html | 8 +- .../riscv/rv32i/constants/enum.RV32ICsr.html | 2 +- .../constants/enum.RV32IInstruction.html | 2 +- .../rv32i/constants/enum.RV32IRegister.html | 2 +- .../riscv/rv32i/parser/parser/fn.export.html | 1 - .../riscv/rv32i/parser/parser/index.html | 2 +- .../rv32i/parser/parser/sidebar-items.js | 2 +- .../rv32i/parser/parser/static.CSR_TOKEN.html | 2 +- .../rv32i/parser/parser/static.OP_TOKEN.html | 2 +- .../parser/parser/static.OP_TOKEN_STASH.html | 2 +- .../rv32i/parser/parser/static.REG_TOKEN.html | 2 +- .../parser/static.RV32I_SYMBOL_LIST.html | 2 +- moras/simulator/index.html | 2 +- .../simulator/instruction/fn.add_handler.html | 2 +- .../instruction/fn.addi_handler.html | 2 +- .../simulator/instruction/fn.and_handler.html | 2 +- .../instruction/fn.andi_handler.html | 2 +- .../instruction/fn.auipc_handler.html | 2 +- .../simulator/instruction/fn.beq_handler.html | 2 +- .../simulator/instruction/fn.bge_handler.html | 2 +- .../instruction/fn.bgeu_handler.html | 2 +- .../simulator/instruction/fn.blt_handler.html | 2 +- .../instruction/fn.bltu_handler.html | 2 +- .../simulator/instruction/fn.bne_handler.html | 2 +- .../instruction/fn.csrrc_handler.html | 2 +- .../instruction/fn.csrrci_handler.html | 2 +- .../instruction/fn.csrrs_handler.html | 2 +- .../instruction/fn.csrrsi_handler.html | 2 +- .../instruction/fn.csrrw_handler.html | 2 +- .../instruction/fn.csrrwi_handler.html | 2 +- .../instruction/fn.ebreak_handler.html | 2 +- .../instruction/fn.ecall_handler.html | 2 +- .../instruction/fn.fence_handler.html | 2 +- .../instruction/fn.fence_i_handler.html | 2 +- .../simulator/instruction/fn.jal_handler.html | 2 +- .../instruction/fn.jalr_handler.html | 2 +- .../simulator/instruction/fn.jump_helper.html | 2 +- .../instruction/fn.jump_offset_helper.html | 2 +- .../simulator/instruction/fn.lb_handler.html | 2 +- .../simulator/instruction/fn.lbu_handler.html | 2 +- .../simulator/instruction/fn.lh_handler.html | 2 +- .../simulator/instruction/fn.lhu_handler.html | 2 +- .../simulator/instruction/fn.lui_handler.html | 2 +- .../simulator/instruction/fn.lw_handler.html | 2 +- .../simulator/instruction/fn.or_handler.html | 2 +- .../simulator/instruction/fn.ori_handler.html | 2 +- .../simulator/instruction/fn.sb_handler.html | 2 +- .../simulator/instruction/fn.sh_handler.html | 2 +- .../simulator/instruction/fn.sll_handler.html | 2 +- .../instruction/fn.slli_handler.html | 2 +- .../simulator/instruction/fn.slt_handler.html | 2 +- .../instruction/fn.slti_handler.html | 2 +- .../instruction/fn.sltiu_handler.html | 2 +- .../instruction/fn.sltu_handler.html | 2 +- .../simulator/instruction/fn.sra_handler.html | 2 +- .../instruction/fn.srai_handler.html | 2 +- .../simulator/instruction/fn.srl_handler.html | 2 +- .../instruction/fn.srli_handler.html | 2 +- .../simulator/instruction/fn.sub_handler.html | 2 +- .../simulator/instruction/fn.sw_handler.html | 2 +- .../simulator/instruction/fn.xor_handler.html | 2 +- .../instruction/fn.xori_handler.html | 2 +- moras/simulator/instruction/index.html | 2 +- .../instruction/macro.load_helper.html | 2 +- .../instruction/macro.store_helper.html | 2 +- .../instruction/static.FAKE_ZERO.html | 2 +- .../instruction/static.FAKE_ZERO_PTR.html | 2 +- .../instruction/static.INST_HANDLER_MAP.html | 2 +- .../instruction/struct.InstHandlerArg.html | 4 +- .../instruction/type.InstHandler.html | 2 +- .../simulator/constant.MAX_HISTORY_SIZE.html | 2 +- .../simulator/enum.SimulatorStatus.html | 6 +- .../simulator/simulator/enum.WaitStatus.html | 6 +- moras/simulator/simulator/index.html | 2 +- moras/simulator/simulator/struct.History.html | 2 +- .../simulator/struct.RISCVSimulator.html | 13 +- .../struct.MemoryReturnRange.html | 19 ++- report.html | 4 +- search-index.js | 2 +- src/moras/interface/simulator.rs.html | 16 ++- .../riscv/basic/interface/parser.rs.html | 14 +- .../modules/riscv/rv32i/parser/parser.rs.html | 20 +-- src/moras/simulator/instruction.rs.html | 82 +++--------- src/moras/simulator/mod.rs.html | 4 + src/moras/simulator/simulator.rs.html | 126 ++++++++++++++---- src/moras/types/middleware_types.rs.html | 2 +- trait.impl/core/cmp/trait.Eq.js | 2 +- trait.impl/core/cmp/trait.PartialEq.js | 2 +- trait.impl/core/fmt/trait.Debug.js | 2 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- 109 files changed, 318 insertions(+), 258 deletions(-) create mode 100644 moras/interface/simulator/trait.FakeMiddlewareTrait.html delete mode 100644 moras/modules/riscv/basic/interface/parser/fn.export_list.html delete mode 100644 moras/modules/riscv/basic/interface/parser/fn.export_pair.html delete mode 100644 moras/modules/riscv/rv32i/parser/parser/fn.export.html diff --git a/moras/all.html b/moras/all.html index cc38979b..a07e4a88 100644 --- a/moras/all.html +++ b/moras/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

Statics

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

Statics

Constants

\ No newline at end of file diff --git a/moras/interface/parser/trait.ParserInstSet.html b/moras/interface/parser/trait.ParserInstSet.html index 5a59e4c8..c3700dbe 100644 --- a/moras/interface/parser/trait.ParserInstSet.html +++ b/moras/interface/parser/trait.ParserInstSet.html @@ -1,4 +1,4 @@ ParserInstSet in moras::interface::parser - Rust

Trait moras::interface::parser::ParserInstSet

source ·
pub trait ParserInstSet {
     type Operator: Clone + Debug + PartialEq + Eq;
     type Operand: Clone + Debug + PartialEq + Eq;
-}

Required Associated Types§

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +}

Required Associated Types§

source

type Operator: Clone + Debug + PartialEq + Eq

source

type Operand: Clone + Debug + PartialEq + Eq

Object Safety§

This trait is not object safe.

Implementors§

source§

impl ParserInstSet for RISCV

\ No newline at end of file diff --git a/moras/interface/simulator/index.html b/moras/interface/simulator/index.html index 74ecc592..cb6ba048 100644 --- a/moras/interface/simulator/index.html +++ b/moras/interface/simulator/index.html @@ -1 +1 @@ -moras::interface::simulator - Rust

Module moras::interface::simulator

source ·

Traits§

\ No newline at end of file +moras::interface::simulator - Rust

Module moras::interface::simulator

source ·

Traits§

\ No newline at end of file diff --git a/moras/interface/simulator/sidebar-items.js b/moras/interface/simulator/sidebar-items.js index 1c10729c..5dd575a6 100644 --- a/moras/interface/simulator/sidebar-items.js +++ b/moras/interface/simulator/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"trait":["Simulator"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"trait":["FakeMiddlewareTrait","Simulator"]}; \ No newline at end of file diff --git a/moras/interface/simulator/trait.FakeMiddlewareTrait.html b/moras/interface/simulator/trait.FakeMiddlewareTrait.html new file mode 100644 index 00000000..9de05f1d --- /dev/null +++ b/moras/interface/simulator/trait.FakeMiddlewareTrait.html @@ -0,0 +1,6 @@ +FakeMiddlewareTrait in moras::interface::simulator - Rust

Trait moras::interface::simulator::FakeMiddlewareTrait

source ·
pub trait FakeMiddlewareTrait: Send + Sync {
+    // Required methods
+    fn request_input(&mut self);
+    fn output(&mut self, output: &str);
+    fn update(&mut self, res: Optional);
+}

Required Methods§

source

fn request_input(&mut self)

source

fn output(&mut self, output: &str)

source

fn update(&mut self, res: Optional)

Implementors§

\ No newline at end of file diff --git a/moras/interface/simulator/trait.Simulator.html b/moras/interface/simulator/trait.Simulator.html index e27a9b29..fc5d0186 100644 --- a/moras/interface/simulator/trait.Simulator.html +++ b/moras/interface/simulator/trait.Simulator.html @@ -1,5 +1,5 @@ -Simulator in moras::interface::simulator - Rust

Trait moras::interface::simulator::Simulator

source ·
pub trait Simulator: Send + Sync {
-
Show 19 methods // Required methods +Simulator in moras::interface::simulator - Rust

Trait moras::interface::simulator::Simulator

source ·
pub trait Simulator: Send + Sync {
+
Show 20 methods // Required methods fn load_inst(&mut self, inst: AssembleResult<RISCV>) -> Result<(), String>; fn get_raw_inst(&self) -> &Option<AssembleResult<RISCV>>; fn update_config(&mut self, config: &AssemblerConfig) -> Result<(), String>; @@ -22,7 +22,14 @@ &mut self, range: MemoryReturnRange ) -> Result<(), String>; + fn set_fake_middleware( + &mut self, + middleware: Option<&'static mut dyn FakeMiddlewareTrait> + );
}

Required Methods§

source

fn load_inst(&mut self, inst: AssembleResult<RISCV>) -> Result<(), String>

source

fn get_raw_inst(&self) -> &Option<AssembleResult<RISCV>>

source

fn update_config(&mut self, config: &AssemblerConfig) -> Result<(), String>

source

fn run(&mut self) -> Result<(), String>

source

fn debug(&mut self) -> Result<(), String>

source

fn stop(&mut self) -> Result<(), String>

source

fn resume(&mut self) -> Result<(), String>

source

fn step(&mut self) -> Result<(), String>

source

fn reset(&mut self) -> Result<(), String>

source

fn undo(&mut self) -> Result<(), String>

source

fn set_breakpoint(&mut self, idx: usize) -> Result<(), String>

source

fn remove_breakpoint(&mut self, idx: usize) -> Result<(), String>

source

fn syscall_input(&mut self, input: &str) -> Result<(), String>

source

fn get_register(&self) -> &[u32]

source

fn get_memory(&self) -> Vec<u32>

source

fn get_pc_idx(&self) -> Option<usize>

source

fn get_filepath(&self) -> &str

source

fn get_memory_return_range(&self) -> MemoryReturnRange

source

fn set_memory_return_range( &mut self, range: MemoryReturnRange -) -> Result<(), String>

Implementors§

\ No newline at end of file +) -> Result<(), String>
source

fn set_fake_middleware( + &mut self, + middleware: Option<&'static mut dyn FakeMiddlewareTrait> +)

Implementors§

\ No newline at end of file diff --git a/moras/modules/riscv/basic/interface/parser/constant.MAX_DATA_SIZE.html b/moras/modules/riscv/basic/interface/parser/constant.MAX_DATA_SIZE.html index 73bc5b2a..18aacb2a 100644 --- a/moras/modules/riscv/basic/interface/parser/constant.MAX_DATA_SIZE.html +++ b/moras/modules/riscv/basic/interface/parser/constant.MAX_DATA_SIZE.html @@ -1 +1 @@ -MAX_DATA_SIZE in moras::modules::riscv::basic::interface::parser - Rust

Constant moras::modules::riscv::basic::interface::parser::MAX_DATA_SIZE

source ·
pub const MAX_DATA_SIZE: usize = 0xf_ffff;
\ No newline at end of file +MAX_DATA_SIZE in moras::modules::riscv::basic::interface::parser - Rust

Constant moras::modules::riscv::basic::interface::parser::MAX_DATA_SIZE

source ·
pub const MAX_DATA_SIZE: usize = 0xf_ffff;
\ No newline at end of file diff --git a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVCsr.html b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVCsr.html index c80d9d01..695052b4 100644 --- a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVCsr.html +++ b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVCsr.html @@ -1,9 +1,9 @@ -ParserRISCVCsr in moras::modules::riscv::basic::interface::parser - Rust

Enum moras::modules::riscv::basic::interface::parser::ParserRISCVCsr

source ·
pub enum ParserRISCVCsr {
+ParserRISCVCsr in moras::modules::riscv::basic::interface::parser - Rust

Enum moras::modules::riscv::basic::interface::parser::ParserRISCVCsr

source ·
pub enum ParserRISCVCsr {
     RV32I(RV32ICsr),
     RV32F(RV32FCsr),
-}

Variants§

§

RV32I(RV32ICsr)

§

RV32F(RV32FCsr)

Trait Implementations§

source§

impl Clone for ParserRISCVCsr

source§

fn clone(&self) -> ParserRISCVCsr

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVCsr

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<RV32FCsr> for ParserRISCVCsr

source§

fn from(csr: RV32FCsr) -> Self

Converts to this type from the input type.
source§

impl From<RV32ICsr> for ParserRISCVCsr

source§

fn from(csr: RV32ICsr) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVCsr

source§

fn eq(&self, other: &ParserRISCVCsr) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

RV32I(RV32ICsr)

§

RV32F(RV32FCsr)

Trait Implementations§

source§

impl Clone for ParserRISCVCsr

source§

fn clone(&self) -> ParserRISCVCsr

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVCsr

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<RV32FCsr> for ParserRISCVCsr

source§

fn from(csr: RV32FCsr) -> Self

Converts to this type from the input type.
source§

impl From<RV32ICsr> for ParserRISCVCsr

source§

fn from(csr: RV32ICsr) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVCsr

source§

fn eq(&self, other: &ParserRISCVCsr) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for ParserRISCVCsr

source§

impl Eq for ParserRISCVCsr

source§

impl StructuralPartialEq for ParserRISCVCsr

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for ParserRISCVCsr

source§

impl Eq for ParserRISCVCsr

source§

impl StructuralPartialEq for ParserRISCVCsr

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVImmediate.html b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVImmediate.html index 897747b3..49f9f5b4 100644 --- a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVImmediate.html +++ b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVImmediate.html @@ -1,9 +1,9 @@ -ParserRISCVImmediate in moras::modules::riscv::basic::interface::parser - Rust
pub enum ParserRISCVImmediate {
+ParserRISCVImmediate in moras::modules::riscv::basic::interface::parser - Rust
pub enum ParserRISCVImmediate {
     Imm(i32),
     Lbl((ParserRISCVLabel, ParserRISCVLabelHandler)),
-}

Variants§

Trait Implementations§

source§

impl Clone for ParserRISCVImmediate

source§

fn clone(&self) -> ParserRISCVImmediate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVImmediate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ParserRISCVImmediate> for i32

source§

fn from(imm: ParserRISCVImmediate) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVImmediate

source§

fn eq(&self, other: &ParserRISCVImmediate) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

Trait Implementations§

source§

impl Clone for ParserRISCVImmediate

source§

fn clone(&self) -> ParserRISCVImmediate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVImmediate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ParserRISCVImmediate> for i32

source§

fn from(imm: ParserRISCVImmediate) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVImmediate

source§

fn eq(&self, other: &ParserRISCVImmediate) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for ParserRISCVImmediate

source§

impl Eq for ParserRISCVImmediate

source§

impl StructuralPartialEq for ParserRISCVImmediate

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for ParserRISCVImmediate

source§

impl Eq for ParserRISCVImmediate

source§

impl StructuralPartialEq for ParserRISCVImmediate

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVInstOp.html b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVInstOp.html index 1d132495..2442acf9 100644 --- a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVInstOp.html +++ b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVInstOp.html @@ -1,9 +1,9 @@ -ParserRISCVInstOp in moras::modules::riscv::basic::interface::parser - Rust

Enum moras::modules::riscv::basic::interface::parser::ParserRISCVInstOp

source ·
pub enum ParserRISCVInstOp {
+ParserRISCVInstOp in moras::modules::riscv::basic::interface::parser - Rust

Enum moras::modules::riscv::basic::interface::parser::ParserRISCVInstOp

source ·
pub enum ParserRISCVInstOp {
     RV32I(RV32IInstruction),
     RV32F(RV32FInstruction),
-}

Variants§

Trait Implementations§

source§

impl Clone for ParserRISCVInstOp

source§

fn clone(&self) -> ParserRISCVInstOp

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVInstOp

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<RV32FInstruction> for ParserRISCVInstOp

source§

fn from(inst: RV32FInstruction) -> Self

Converts to this type from the input type.
source§

impl From<RV32IInstruction> for ParserRISCVInstOp

source§

fn from(inst: RV32IInstruction) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVInstOp

source§

fn eq(&self, other: &ParserRISCVInstOp) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

Trait Implementations§

source§

impl Clone for ParserRISCVInstOp

source§

fn clone(&self) -> ParserRISCVInstOp

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVInstOp

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<RV32FInstruction> for ParserRISCVInstOp

source§

fn from(inst: RV32FInstruction) -> Self

Converts to this type from the input type.
source§

impl From<RV32IInstruction> for ParserRISCVInstOp

source§

fn from(inst: RV32IInstruction) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVInstOp

source§

fn eq(&self, other: &ParserRISCVInstOp) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for ParserRISCVInstOp

source§

impl Eq for ParserRISCVInstOp

source§

impl StructuralPartialEq for ParserRISCVInstOp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for ParserRISCVInstOp

source§

impl Eq for ParserRISCVInstOp

source§

impl StructuralPartialEq for ParserRISCVInstOp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVInstOpd.html b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVInstOpd.html index 87c781a7..727db775 100644 --- a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVInstOpd.html +++ b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVInstOpd.html @@ -1,10 +1,10 @@ -ParserRISCVInstOpd in moras::modules::riscv::basic::interface::parser - Rust
pub enum ParserRISCVInstOpd {
+ParserRISCVInstOpd in moras::modules::riscv::basic::interface::parser - Rust
pub enum ParserRISCVInstOpd {
     Reg(ParserRISCVRegister),
     Imm(ParserRISCVImmediate),
     Lbl(ParserRISCVLabel),
-}

Variants§

Trait Implementations§

source§

impl Clone for ParserRISCVInstOpd

source§

fn clone(&self) -> ParserRISCVInstOpd

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVInstOpd

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for ParserRISCVInstOpd

source§

fn eq(&self, other: &ParserRISCVInstOpd) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

Trait Implementations§

source§

impl Clone for ParserRISCVInstOpd

source§

fn clone(&self) -> ParserRISCVInstOpd

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVInstOpd

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for ParserRISCVInstOpd

source§

fn eq(&self, other: &ParserRISCVInstOpd) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for ParserRISCVInstOpd

source§

impl Eq for ParserRISCVInstOpd

source§

impl StructuralPartialEq for ParserRISCVInstOpd

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for ParserRISCVInstOpd

source§

impl Eq for ParserRISCVInstOpd

source§

impl StructuralPartialEq for ParserRISCVInstOpd

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVLabel.html b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVLabel.html index a0758d8e..97da61a7 100644 --- a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVLabel.html +++ b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVLabel.html @@ -1,10 +1,10 @@ -ParserRISCVLabel in moras::modules::riscv::basic::interface::parser - Rust

Enum moras::modules::riscv::basic::interface::parser::ParserRISCVLabel

source ·
pub enum ParserRISCVLabel {
+ParserRISCVLabel in moras::modules::riscv::basic::interface::parser - Rust

Enum moras::modules::riscv::basic::interface::parser::ParserRISCVLabel

source ·
pub enum ParserRISCVLabel {
     Text(usize),
     Data(usize),
     Unknown(Pos),
-}

Variants§

§

Text(usize)

§

Data(usize)

§

Unknown(Pos)

Trait Implementations§

source§

impl Clone for ParserRISCVLabel

source§

fn clone(&self) -> ParserRISCVLabel

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVLabel

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ParserRISCVLabel> for u32

source§

fn from(label: ParserRISCVLabel) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVLabel

source§

fn eq(&self, other: &ParserRISCVLabel) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

Text(usize)

§

Data(usize)

§

Unknown(Pos)

Trait Implementations§

source§

impl Clone for ParserRISCVLabel

source§

fn clone(&self) -> ParserRISCVLabel

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVLabel

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ParserRISCVLabel> for u32

source§

fn from(label: ParserRISCVLabel) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVLabel

source§

fn eq(&self, other: &ParserRISCVLabel) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for ParserRISCVLabel

source§

impl Eq for ParserRISCVLabel

source§

impl StructuralPartialEq for ParserRISCVLabel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for ParserRISCVLabel

source§

impl Eq for ParserRISCVLabel

source§

impl StructuralPartialEq for ParserRISCVLabel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVLabelHandler.html b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVLabelHandler.html index 2663103f..b0d0c9b9 100644 --- a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVLabelHandler.html +++ b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVLabelHandler.html @@ -1,11 +1,11 @@ -ParserRISCVLabelHandler in moras::modules::riscv::basic::interface::parser - Rust
pub enum ParserRISCVLabelHandler {
+ParserRISCVLabelHandler in moras::modules::riscv::basic::interface::parser - Rust
pub enum ParserRISCVLabelHandler {
     Low,
     High,
     DeltaHigh,
     DeltaMinusOneLow,
-}

Variants§

§

Low

§

High

§

DeltaHigh

§

DeltaMinusOneLow

Trait Implementations§

source§

impl Clone for ParserRISCVLabelHandler

source§

fn clone(&self) -> ParserRISCVLabelHandler

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVLabelHandler

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for ParserRISCVLabelHandler

source§

fn eq(&self, other: &ParserRISCVLabelHandler) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

Low

§

High

§

DeltaHigh

§

DeltaMinusOneLow

Trait Implementations§

source§

impl Clone for ParserRISCVLabelHandler

source§

fn clone(&self) -> ParserRISCVLabelHandler

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVLabelHandler

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for ParserRISCVLabelHandler

source§

fn eq(&self, other: &ParserRISCVLabelHandler) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for ParserRISCVLabelHandler

source§

impl Eq for ParserRISCVLabelHandler

source§

impl StructuralPartialEq for ParserRISCVLabelHandler

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for ParserRISCVLabelHandler

source§

impl Eq for ParserRISCVLabelHandler

source§

impl StructuralPartialEq for ParserRISCVLabelHandler

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVRegister.html b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVRegister.html index cb3bb8df..ef60acce 100644 --- a/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVRegister.html +++ b/moras/modules/riscv/basic/interface/parser/enum.ParserRISCVRegister.html @@ -1,9 +1,9 @@ -ParserRISCVRegister in moras::modules::riscv::basic::interface::parser - Rust
pub enum ParserRISCVRegister {
+ParserRISCVRegister in moras::modules::riscv::basic::interface::parser - Rust
pub enum ParserRISCVRegister {
     RV32I(RV32IRegister),
     RV32F(RV32FRegister),
-}

Variants§

Trait Implementations§

source§

impl Clone for ParserRISCVRegister

source§

fn clone(&self) -> ParserRISCVRegister

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVRegister

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ParserRISCVRegister> for u32

source§

fn from(register: ParserRISCVRegister) -> Self

Converts to this type from the input type.
source§

impl From<RV32FRegister> for ParserRISCVRegister

source§

fn from(reg: RV32FRegister) -> Self

Converts to this type from the input type.
source§

impl From<RV32IRegister> for ParserRISCVRegister

source§

fn from(reg: RV32IRegister) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVRegister

source§

fn eq(&self, other: &ParserRISCVRegister) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

Trait Implementations§

source§

impl Clone for ParserRISCVRegister

source§

fn clone(&self) -> ParserRISCVRegister

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserRISCVRegister

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ParserRISCVRegister> for u32

source§

fn from(register: ParserRISCVRegister) -> Self

Converts to this type from the input type.
source§

impl From<RV32FRegister> for ParserRISCVRegister

source§

fn from(reg: RV32FRegister) -> Self

Converts to this type from the input type.
source§

impl From<RV32IRegister> for ParserRISCVRegister

source§

fn from(reg: RV32IRegister) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ParserRISCVRegister

source§

fn eq(&self, other: &ParserRISCVRegister) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for ParserRISCVRegister

source§

impl Eq for ParserRISCVRegister

source§

impl StructuralPartialEq for ParserRISCVRegister

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for ParserRISCVRegister

source§

impl Eq for ParserRISCVRegister

source§

impl StructuralPartialEq for ParserRISCVRegister

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/modules/riscv/basic/interface/parser/enum.RISCVExtension.html b/moras/modules/riscv/basic/interface/parser/enum.RISCVExtension.html index d2d6c52f..0f853b16 100644 --- a/moras/modules/riscv/basic/interface/parser/enum.RISCVExtension.html +++ b/moras/modules/riscv/basic/interface/parser/enum.RISCVExtension.html @@ -1,8 +1,8 @@ -RISCVExtension in moras::modules::riscv::basic::interface::parser - Rust

Enum moras::modules::riscv::basic::interface::parser::RISCVExtension

source ·
pub enum RISCVExtension {
+RISCVExtension in moras::modules::riscv::basic::interface::parser - Rust

Enum moras::modules::riscv::basic::interface::parser::RISCVExtension

source ·
pub enum RISCVExtension {
     RV32I,
-}

Variants§

§

RV32I

Implementations§

Variants§

§

RV32I

Implementations§

source§

impl RISCVExtension

source

pub fn get_symbol_parser( &self -) -> &Vec<&'static Vec<(&'static str, Symbol<'static>)>>

source

pub fn export(&self, folder: &str) -> Result<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> &Vec<&'static Vec<(&'static str, Symbol<'static>)>>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/moras/modules/riscv/basic/interface/parser/fn.export_list.html b/moras/modules/riscv/basic/interface/parser/fn.export_list.html deleted file mode 100644 index 69e80aec..00000000 --- a/moras/modules/riscv/basic/interface/parser/fn.export_list.html +++ /dev/null @@ -1,9 +0,0 @@ -export_list in moras::modules::riscv::basic::interface::parser - Rust

Function moras::modules::riscv::basic::interface::parser::export_list

source ·
pub fn export_list<T, F, V, W>(
-    list: &[T],
-    val_fn: F,
-    prefix: [&str; 2],
-    output: &mut BufWriter<W>
-) -> Result<()>
where - F: Fn(&T) -> Result<V>, - V: Display, - W: Write,
\ No newline at end of file diff --git a/moras/modules/riscv/basic/interface/parser/fn.export_pair.html b/moras/modules/riscv/basic/interface/parser/fn.export_pair.html deleted file mode 100644 index 7af91a25..00000000 --- a/moras/modules/riscv/basic/interface/parser/fn.export_pair.html +++ /dev/null @@ -1,11 +0,0 @@ -export_pair in moras::modules::riscv::basic::interface::parser - Rust

Function moras::modules::riscv::basic::interface::parser::export_pair

source ·
pub fn export_pair<T, KFn, VFn, K, W>(
-    pairs: &[T],
-    key_fn: KFn,
-    val_fn: VFn,
-    prefix: [&str; 2],
-    output: &mut BufWriter<W>
-) -> Result<()>
where - KFn: Fn(&T) -> K, - VFn: Fn(&T, &mut BufWriter<W>) -> Result<()>, - K: Display, - W: Write,
\ No newline at end of file diff --git a/moras/modules/riscv/basic/interface/parser/index.html b/moras/modules/riscv/basic/interface/parser/index.html index 223908c0..95229edb 100644 --- a/moras/modules/riscv/basic/interface/parser/index.html +++ b/moras/modules/riscv/basic/interface/parser/index.html @@ -1 +1 @@ -moras::modules::riscv::basic::interface::parser - Rust

Module moras::modules::riscv::basic::interface::parser

source ·

Re-exports§

  • pub use super::super::parser::parser::RISCVParser;
  • pub use super::super::super::rv32f::constants::*;
  • pub use super::super::super::rv32i::constants::*;
  • pub use crate::interface::parser::*;

Structs§

Enums§

Constants§

Functions§

\ No newline at end of file +moras::modules::riscv::basic::interface::parser - Rust

Module moras::modules::riscv::basic::interface::parser

source ·

Re-exports§

  • pub use super::super::parser::parser::RISCVParser;
  • pub use super::super::super::rv32f::constants::*;
  • pub use super::super::super::rv32i::constants::*;
  • pub use crate::interface::parser::*;

Structs§

Enums§

Constants§

\ No newline at end of file diff --git a/moras/modules/riscv/basic/interface/parser/sidebar-items.js b/moras/modules/riscv/basic/interface/parser/sidebar-items.js index 576b8f0f..11279ca6 100644 --- a/moras/modules/riscv/basic/interface/parser/sidebar-items.js +++ b/moras/modules/riscv/basic/interface/parser/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"constant":["MAX_DATA_SIZE"],"enum":["ParserRISCVCsr","ParserRISCVImmediate","ParserRISCVInstOp","ParserRISCVInstOpd","ParserRISCVLabel","ParserRISCVLabelHandler","ParserRISCVRegister","RISCVExtension"],"fn":["export_list","export_pair"],"struct":["RISCV"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"constant":["MAX_DATA_SIZE"],"enum":["ParserRISCVCsr","ParserRISCVImmediate","ParserRISCVInstOp","ParserRISCVInstOpd","ParserRISCVLabel","ParserRISCVLabelHandler","ParserRISCVRegister","RISCVExtension"],"struct":["RISCV"]}; \ No newline at end of file diff --git a/moras/modules/riscv/basic/interface/parser/struct.RISCV.html b/moras/modules/riscv/basic/interface/parser/struct.RISCV.html index 4612eae0..c33766b7 100644 --- a/moras/modules/riscv/basic/interface/parser/struct.RISCV.html +++ b/moras/modules/riscv/basic/interface/parser/struct.RISCV.html @@ -1,15 +1,15 @@ -RISCV in moras::modules::riscv::basic::interface::parser - Rust

Struct moras::modules::riscv::basic::interface::parser::RISCV

source ·
pub struct RISCV;

Trait Implementations§

source§

impl Assembler<RISCV> for RiscVAssembler

source§

fn assemble( +RISCV in moras::modules::riscv::basic::interface::parser - Rust

Struct moras::modules::riscv::basic::interface::parser::RISCV

source ·
pub struct RISCV;

Trait Implementations§

source§

impl Assembler<RISCV> for RiscVAssembler

source§

impl Clone for RISCV

source§

fn clone(&self) -> RISCV

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RISCV

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl InstructionSetTrait for RISCV

source§

impl Parser<RISCV> for RISCVParser

source§

impl Clone for RISCV

source§

fn clone(&self) -> RISCV

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RISCV

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl InstructionSetTrait for RISCV

source§

impl Parser<RISCV> for RISCVParser

source§

fn parse( &mut self, code_str: &String -) -> Result<ParserResult<RISCV>, Vec<ParserError>>

source§

impl ParserInstSet for RISCV

source§

impl PartialEq for RISCV

source§

fn eq(&self, other: &RISCV) -> bool

This method tests for self and other values to be equal, and is used +) -> Result<ParserResult<RISCV>, Vec<ParserError>>

source§

impl ParserInstSet for RISCV

source§

impl PartialEq for RISCV

source§

fn eq(&self, other: &RISCV) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for RISCV

source§

impl Eq for RISCV

source§

impl StructuralPartialEq for RISCV

Auto Trait Implementations§

§

impl Freeze for RISCV

§

impl RefUnwindSafe for RISCV

§

impl Send for RISCV

§

impl Sync for RISCV

§

impl Unpin for RISCV

§

impl UnwindSafe for RISCV

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for RISCV

source§

impl Eq for RISCV

source§

impl StructuralPartialEq for RISCV

Auto Trait Implementations§

§

impl Freeze for RISCV

§

impl RefUnwindSafe for RISCV

§

impl Send for RISCV

§

impl Sync for RISCV

§

impl Unpin for RISCV

§

impl UnwindSafe for RISCV

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/modules/riscv/rv32i/constants/enum.RV32ICsr.html b/moras/modules/riscv/rv32i/constants/enum.RV32ICsr.html index b9cf0341..680eb955 100644 --- a/moras/modules/riscv/rv32i/constants/enum.RV32ICsr.html +++ b/moras/modules/riscv/rv32i/constants/enum.RV32ICsr.html @@ -1,4 +1,4 @@ -RV32ICsr in moras::modules::riscv::rv32i::constants - Rust

Enum moras::modules::riscv::rv32i::constants::RV32ICsr

source ·
pub enum RV32ICsr {}

Trait Implementations§

source§

impl Clone for RV32ICsr

source§

fn clone(&self) -> RV32ICsr

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RV32ICsr

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'_derivative_strum> From<&'_derivative_strum RV32ICsr> for &'static str

source§

fn from(x: &'_derivative_strum RV32ICsr) -> &'static str

Converts to this type from the input type.
source§

impl From<RV32ICsr> for &'static str

source§

fn from(x: RV32ICsr) -> &'static str

Converts to this type from the input type.
source§

impl From<RV32ICsr> for ParserRISCVCsr

source§

fn from(csr: RV32ICsr) -> Self

Converts to this type from the input type.
source§

impl FromStr for RV32ICsr

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<RV32ICsr, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RV32ICsr

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +RV32ICsr in moras::modules::riscv::rv32i::constants - Rust

Enum moras::modules::riscv::rv32i::constants::RV32ICsr

source ·
pub enum RV32ICsr {}

Trait Implementations§

source§

impl Clone for RV32ICsr

source§

fn clone(&self) -> RV32ICsr

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RV32ICsr

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'_derivative_strum> From<&'_derivative_strum RV32ICsr> for &'static str

source§

fn from(x: &'_derivative_strum RV32ICsr) -> &'static str

Converts to this type from the input type.
source§

impl From<RV32ICsr> for &'static str

source§

fn from(x: RV32ICsr) -> &'static str

Converts to this type from the input type.
source§

impl From<RV32ICsr> for ParserRISCVCsr

source§

fn from(csr: RV32ICsr) -> Self

Converts to this type from the input type.
source§

impl FromStr for RV32ICsr

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<RV32ICsr, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RV32ICsr

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for RV32ICsr

source§

fn eq(&self, other: &RV32ICsr) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/moras/modules/riscv/rv32i/constants/enum.RV32IInstruction.html b/moras/modules/riscv/rv32i/constants/enum.RV32IInstruction.html index 4c93f19d..c08978ad 100644 --- a/moras/modules/riscv/rv32i/constants/enum.RV32IInstruction.html +++ b/moras/modules/riscv/rv32i/constants/enum.RV32IInstruction.html @@ -46,7 +46,7 @@ Sw, Xor, Xori, -
}

Variants§

§

Add

§

Addi

§

And

§

Andi

§

Auipc

§

Beq

§

Bge

§

Bgeu

§

Blt

§

Bltu

§

Bne

§

Csrrc

§

Csrrci

§

Csrrs

§

Csrrsi

§

Csrrw

§

Csrrwi

§

Ebreak

§

Ecall

§

Fence

§

FenceI

§

Jal

§

Jalr

§

Lb

§

Lbu

§

Lh

§

Lhu

§

Lui

§

Lw

§

Or

§

Ori

§

Sb

§

Sh

§

Sll

§

Slli

§

Slt

§

Slti

§

Sltiu

§

Sltu

§

Sra

§

Srai

§

Srl

§

Srli

§

Sub

§

Sw

§

Xor

§

Xori

Trait Implementations§

source§

impl Clone for RV32IInstruction

source§

fn clone(&self) -> RV32IInstruction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RV32IInstruction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'_derivative_strum> From<&'_derivative_strum RV32IInstruction> for &'static str

source§

fn from(x: &'_derivative_strum RV32IInstruction) -> &'static str

Converts to this type from the input type.
source§

impl From<RV32IInstruction> for &'static str

source§

fn from(x: RV32IInstruction) -> &'static str

Converts to this type from the input type.
source§

impl From<RV32IInstruction> for ParserRISCVInstOp

source§

fn from(inst: RV32IInstruction) -> Self

Converts to this type from the input type.
source§

impl FromStr for RV32IInstruction

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<RV32IInstruction, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RV32IInstruction

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +

}

Variants§

§

Add

§

Addi

§

And

§

Andi

§

Auipc

§

Beq

§

Bge

§

Bgeu

§

Blt

§

Bltu

§

Bne

§

Csrrc

§

Csrrci

§

Csrrs

§

Csrrsi

§

Csrrw

§

Csrrwi

§

Ebreak

§

Ecall

§

Fence

§

FenceI

§

Jal

§

Jalr

§

Lb

§

Lbu

§

Lh

§

Lhu

§

Lui

§

Lw

§

Or

§

Ori

§

Sb

§

Sh

§

Sll

§

Slli

§

Slt

§

Slti

§

Sltiu

§

Sltu

§

Sra

§

Srai

§

Srl

§

Srli

§

Sub

§

Sw

§

Xor

§

Xori

Trait Implementations§

source§

impl Clone for RV32IInstruction

source§

fn clone(&self) -> RV32IInstruction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RV32IInstruction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'_derivative_strum> From<&'_derivative_strum RV32IInstruction> for &'static str

source§

fn from(x: &'_derivative_strum RV32IInstruction) -> &'static str

Converts to this type from the input type.
source§

impl From<RV32IInstruction> for &'static str

source§

fn from(x: RV32IInstruction) -> &'static str

Converts to this type from the input type.
source§

impl From<RV32IInstruction> for ParserRISCVInstOp

source§

fn from(inst: RV32IInstruction) -> Self

Converts to this type from the input type.
source§

impl FromStr for RV32IInstruction

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<RV32IInstruction, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RV32IInstruction

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for RV32IInstruction

source§

fn eq(&self, other: &RV32IInstruction) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/moras/modules/riscv/rv32i/constants/enum.RV32IRegister.html b/moras/modules/riscv/rv32i/constants/enum.RV32IRegister.html index a1960ab1..60450d78 100644 --- a/moras/modules/riscv/rv32i/constants/enum.RV32IRegister.html +++ b/moras/modules/riscv/rv32i/constants/enum.RV32IRegister.html @@ -31,7 +31,7 @@ T4, T5, T6, -
}

Variants§

§

Zero

§

Ra

§

Sp

§

Gp

§

Tp

§

T0

§

T1

§

T2

§

S0

§

S1

§

A0

§

A1

§

A2

§

A3

§

A4

§

A5

§

A6

§

A7

§

S2

§

S3

§

S4

§

S5

§

S6

§

S7

§

S8

§

S9

§

S10

§

S11

§

T3

§

T4

§

T5

§

T6

Trait Implementations§

source§

impl Clone for RV32IRegister

source§

fn clone(&self) -> RV32IRegister

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RV32IRegister

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for RV32IRegister

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<RV32IRegister> for &'static str

source§

fn from(value: RV32IRegister) -> Self

Converts to this type from the input type.
source§

impl From<RV32IRegister> for ParserRISCVRegister

source§

fn from(reg: RV32IRegister) -> Self

Converts to this type from the input type.
source§

impl From<RV32IRegister> for u32

source§

fn from(register: RV32IRegister) -> Self

Converts to this type from the input type.
source§

impl FromStr for RV32IRegister

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<RV32IRegister, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RV32IRegister

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +

}

Variants§

§

Zero

§

Ra

§

Sp

§

Gp

§

Tp

§

T0

§

T1

§

T2

§

S0

§

S1

§

A0

§

A1

§

A2

§

A3

§

A4

§

A5

§

A6

§

A7

§

S2

§

S3

§

S4

§

S5

§

S6

§

S7

§

S8

§

S9

§

S10

§

S11

§

T3

§

T4

§

T5

§

T6

Trait Implementations§

source§

impl Clone for RV32IRegister

source§

fn clone(&self) -> RV32IRegister

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RV32IRegister

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for RV32IRegister

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<RV32IRegister> for &'static str

source§

fn from(value: RV32IRegister) -> Self

Converts to this type from the input type.
source§

impl From<RV32IRegister> for ParserRISCVRegister

source§

fn from(reg: RV32IRegister) -> Self

Converts to this type from the input type.
source§

impl From<RV32IRegister> for u32

source§

fn from(register: RV32IRegister) -> Self

Converts to this type from the input type.
source§

impl FromStr for RV32IRegister

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<RV32IRegister, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RV32IRegister

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for RV32IRegister

source§

fn eq(&self, other: &RV32IRegister) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/moras/modules/riscv/rv32i/parser/parser/fn.export.html b/moras/modules/riscv/rv32i/parser/parser/fn.export.html deleted file mode 100644 index 5cf859e3..00000000 --- a/moras/modules/riscv/rv32i/parser/parser/fn.export.html +++ /dev/null @@ -1 +0,0 @@ -export in moras::modules::riscv::rv32i::parser::parser - Rust

Function moras::modules::riscv::rv32i::parser::parser::export

source ·
pub fn export(folder: &str) -> Result<()>
\ No newline at end of file diff --git a/moras/modules/riscv/rv32i/parser/parser/index.html b/moras/modules/riscv/rv32i/parser/parser/index.html index f39be3a1..2877a40f 100644 --- a/moras/modules/riscv/rv32i/parser/parser/index.html +++ b/moras/modules/riscv/rv32i/parser/parser/index.html @@ -1 +1 @@ -moras::modules::riscv::rv32i::parser::parser - Rust
\ No newline at end of file +moras::modules::riscv::rv32i::parser::parser - Rust
\ No newline at end of file diff --git a/moras/modules/riscv/rv32i/parser/parser/sidebar-items.js b/moras/modules/riscv/rv32i/parser/parser/sidebar-items.js index 28f30d04..adc83251 100644 --- a/moras/modules/riscv/rv32i/parser/parser/sidebar-items.js +++ b/moras/modules/riscv/rv32i/parser/parser/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"fn":["export"],"static":["CSR_TOKEN","OP_TOKEN","OP_TOKEN_STASH","REG_TOKEN","RV32I_SYMBOL_LIST"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"static":["CSR_TOKEN","OP_TOKEN","OP_TOKEN_STASH","REG_TOKEN","RV32I_SYMBOL_LIST"]}; \ No newline at end of file diff --git a/moras/modules/riscv/rv32i/parser/parser/static.CSR_TOKEN.html b/moras/modules/riscv/rv32i/parser/parser/static.CSR_TOKEN.html index 70c75e62..7a3e6fef 100644 --- a/moras/modules/riscv/rv32i/parser/parser/static.CSR_TOKEN.html +++ b/moras/modules/riscv/rv32i/parser/parser/static.CSR_TOKEN.html @@ -1 +1 @@ -CSR_TOKEN in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::CSR_TOKEN

source ·
pub static CSR_TOKEN: Lazy<Vec<(&'static str, Symbol<'static>)>>
\ No newline at end of file +CSR_TOKEN in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::CSR_TOKEN

source ·
pub static CSR_TOKEN: Lazy<Vec<(&'static str, Symbol<'static>)>>
\ No newline at end of file diff --git a/moras/modules/riscv/rv32i/parser/parser/static.OP_TOKEN.html b/moras/modules/riscv/rv32i/parser/parser/static.OP_TOKEN.html index a0573437..c42cd9d5 100644 --- a/moras/modules/riscv/rv32i/parser/parser/static.OP_TOKEN.html +++ b/moras/modules/riscv/rv32i/parser/parser/static.OP_TOKEN.html @@ -1 +1 @@ -OP_TOKEN in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::OP_TOKEN

source ·
pub static OP_TOKEN: Lazy<Vec<(&'static str, Symbol<'static>)>>
\ No newline at end of file +OP_TOKEN in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::OP_TOKEN

source ·
pub static OP_TOKEN: Lazy<Vec<(&'static str, Symbol<'static>)>>
\ No newline at end of file diff --git a/moras/modules/riscv/rv32i/parser/parser/static.OP_TOKEN_STASH.html b/moras/modules/riscv/rv32i/parser/parser/static.OP_TOKEN_STASH.html index 2dd3415b..95d44df9 100644 --- a/moras/modules/riscv/rv32i/parser/parser/static.OP_TOKEN_STASH.html +++ b/moras/modules/riscv/rv32i/parser/parser/static.OP_TOKEN_STASH.html @@ -1 +1 @@ -OP_TOKEN_STASH in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::OP_TOKEN_STASH

source ·
static OP_TOKEN_STASH: Lazy<Vec<(String, Symbol<'static>)>>
\ No newline at end of file +OP_TOKEN_STASH in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::OP_TOKEN_STASH

source ·
static OP_TOKEN_STASH: Lazy<Vec<(String, Symbol<'static>)>>
\ No newline at end of file diff --git a/moras/modules/riscv/rv32i/parser/parser/static.REG_TOKEN.html b/moras/modules/riscv/rv32i/parser/parser/static.REG_TOKEN.html index e2a25506..fc7d6ea3 100644 --- a/moras/modules/riscv/rv32i/parser/parser/static.REG_TOKEN.html +++ b/moras/modules/riscv/rv32i/parser/parser/static.REG_TOKEN.html @@ -1 +1 @@ -REG_TOKEN in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::REG_TOKEN

source ·
pub static REG_TOKEN: Lazy<Vec<(&'static str, Symbol<'static>)>>
\ No newline at end of file +REG_TOKEN in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::REG_TOKEN

source ·
pub static REG_TOKEN: Lazy<Vec<(&'static str, Symbol<'static>)>>
\ No newline at end of file diff --git a/moras/modules/riscv/rv32i/parser/parser/static.RV32I_SYMBOL_LIST.html b/moras/modules/riscv/rv32i/parser/parser/static.RV32I_SYMBOL_LIST.html index 0766f5b8..82e46913 100644 --- a/moras/modules/riscv/rv32i/parser/parser/static.RV32I_SYMBOL_LIST.html +++ b/moras/modules/riscv/rv32i/parser/parser/static.RV32I_SYMBOL_LIST.html @@ -1 +1 @@ -RV32I_SYMBOL_LIST in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::RV32I_SYMBOL_LIST

source ·
pub static RV32I_SYMBOL_LIST: Lazy<Vec<&'static Vec<(&'static str, Symbol<'static>)>>>
\ No newline at end of file +RV32I_SYMBOL_LIST in moras::modules::riscv::rv32i::parser::parser - Rust

Static moras::modules::riscv::rv32i::parser::parser::RV32I_SYMBOL_LIST

source ·
pub static RV32I_SYMBOL_LIST: Lazy<Vec<&'static Vec<(&'static str, Symbol<'static>)>>>
\ No newline at end of file diff --git a/moras/simulator/index.html b/moras/simulator/index.html index b1788a2a..639533a6 100644 --- a/moras/simulator/index.html +++ b/moras/simulator/index.html @@ -1 +1 @@ -moras::simulator - Rust

Module moras::simulator

source ·

Modules§

\ No newline at end of file +moras::simulator - Rust

Module moras::simulator

source ·

Modules§

\ No newline at end of file diff --git a/moras/simulator/instruction/fn.add_handler.html b/moras/simulator/instruction/fn.add_handler.html index 79e9ae80..3c955a05 100644 --- a/moras/simulator/instruction/fn.add_handler.html +++ b/moras/simulator/instruction/fn.add_handler.html @@ -1,3 +1,3 @@ -add_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::add_handler

source ·
pub(super) fn add_handler(
+add_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::add_handler

source ·
pub(super) fn add_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.addi_handler.html b/moras/simulator/instruction/fn.addi_handler.html index 71a849f0..88df5bdd 100644 --- a/moras/simulator/instruction/fn.addi_handler.html +++ b/moras/simulator/instruction/fn.addi_handler.html @@ -1,3 +1,3 @@ -addi_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::addi_handler

source ·
pub(super) fn addi_handler(
+addi_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::addi_handler

source ·
pub(super) fn addi_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.and_handler.html b/moras/simulator/instruction/fn.and_handler.html index b54ea3fc..bf8438fa 100644 --- a/moras/simulator/instruction/fn.and_handler.html +++ b/moras/simulator/instruction/fn.and_handler.html @@ -1,3 +1,3 @@ -and_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::and_handler

source ·
pub(super) fn and_handler(
+and_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::and_handler

source ·
pub(super) fn and_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.andi_handler.html b/moras/simulator/instruction/fn.andi_handler.html index 169bf8aa..b7f5e164 100644 --- a/moras/simulator/instruction/fn.andi_handler.html +++ b/moras/simulator/instruction/fn.andi_handler.html @@ -1,3 +1,3 @@ -andi_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::andi_handler

source ·
pub(super) fn andi_handler(
+andi_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::andi_handler

source ·
pub(super) fn andi_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.auipc_handler.html b/moras/simulator/instruction/fn.auipc_handler.html index bb74881c..a88ad487 100644 --- a/moras/simulator/instruction/fn.auipc_handler.html +++ b/moras/simulator/instruction/fn.auipc_handler.html @@ -1,3 +1,3 @@ -auipc_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::auipc_handler

source ·
pub(super) fn auipc_handler(
+auipc_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::auipc_handler

source ·
pub(super) fn auipc_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.beq_handler.html b/moras/simulator/instruction/fn.beq_handler.html index 90ac9c86..25eb6807 100644 --- a/moras/simulator/instruction/fn.beq_handler.html +++ b/moras/simulator/instruction/fn.beq_handler.html @@ -1,3 +1,3 @@ -beq_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::beq_handler

source ·
pub(super) fn beq_handler(
+beq_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::beq_handler

source ·
pub(super) fn beq_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.bge_handler.html b/moras/simulator/instruction/fn.bge_handler.html index a09cf561..05ecae40 100644 --- a/moras/simulator/instruction/fn.bge_handler.html +++ b/moras/simulator/instruction/fn.bge_handler.html @@ -1,3 +1,3 @@ -bge_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::bge_handler

source ·
pub(super) fn bge_handler(
+bge_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::bge_handler

source ·
pub(super) fn bge_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.bgeu_handler.html b/moras/simulator/instruction/fn.bgeu_handler.html index 4c5d8573..5091ff13 100644 --- a/moras/simulator/instruction/fn.bgeu_handler.html +++ b/moras/simulator/instruction/fn.bgeu_handler.html @@ -1,3 +1,3 @@ -bgeu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::bgeu_handler

source ·
pub(super) fn bgeu_handler(
+bgeu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::bgeu_handler

source ·
pub(super) fn bgeu_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.blt_handler.html b/moras/simulator/instruction/fn.blt_handler.html index d34ef92f..9c77dafa 100644 --- a/moras/simulator/instruction/fn.blt_handler.html +++ b/moras/simulator/instruction/fn.blt_handler.html @@ -1,3 +1,3 @@ -blt_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::blt_handler

source ·
pub(super) fn blt_handler(
+blt_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::blt_handler

source ·
pub(super) fn blt_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.bltu_handler.html b/moras/simulator/instruction/fn.bltu_handler.html index 81e7e105..74f2afa4 100644 --- a/moras/simulator/instruction/fn.bltu_handler.html +++ b/moras/simulator/instruction/fn.bltu_handler.html @@ -1,3 +1,3 @@ -bltu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::bltu_handler

source ·
pub(super) fn bltu_handler(
+bltu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::bltu_handler

source ·
pub(super) fn bltu_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.bne_handler.html b/moras/simulator/instruction/fn.bne_handler.html index 240df8bb..58c0e4ab 100644 --- a/moras/simulator/instruction/fn.bne_handler.html +++ b/moras/simulator/instruction/fn.bne_handler.html @@ -1,3 +1,3 @@ -bne_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::bne_handler

source ·
pub(super) fn bne_handler(
+bne_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::bne_handler

source ·
pub(super) fn bne_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.csrrc_handler.html b/moras/simulator/instruction/fn.csrrc_handler.html index e4979849..0782ce43 100644 --- a/moras/simulator/instruction/fn.csrrc_handler.html +++ b/moras/simulator/instruction/fn.csrrc_handler.html @@ -1,3 +1,3 @@ -csrrc_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrc_handler

source ·
pub(super) fn csrrc_handler(
+csrrc_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrc_handler

source ·
pub(super) fn csrrc_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.csrrci_handler.html b/moras/simulator/instruction/fn.csrrci_handler.html index 2b4162a0..acbf60a3 100644 --- a/moras/simulator/instruction/fn.csrrci_handler.html +++ b/moras/simulator/instruction/fn.csrrci_handler.html @@ -1,3 +1,3 @@ -csrrci_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrci_handler

source ·
pub(super) fn csrrci_handler(
+csrrci_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrci_handler

source ·
pub(super) fn csrrci_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.csrrs_handler.html b/moras/simulator/instruction/fn.csrrs_handler.html index 348355d2..cd38fdbb 100644 --- a/moras/simulator/instruction/fn.csrrs_handler.html +++ b/moras/simulator/instruction/fn.csrrs_handler.html @@ -1,3 +1,3 @@ -csrrs_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrs_handler

source ·
pub(super) fn csrrs_handler(
+csrrs_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrs_handler

source ·
pub(super) fn csrrs_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.csrrsi_handler.html b/moras/simulator/instruction/fn.csrrsi_handler.html index 352656ba..95acaaae 100644 --- a/moras/simulator/instruction/fn.csrrsi_handler.html +++ b/moras/simulator/instruction/fn.csrrsi_handler.html @@ -1,3 +1,3 @@ -csrrsi_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrsi_handler

source ·
pub(super) fn csrrsi_handler(
+csrrsi_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrsi_handler

source ·
pub(super) fn csrrsi_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.csrrw_handler.html b/moras/simulator/instruction/fn.csrrw_handler.html index 23ca15cd..fd4f991c 100644 --- a/moras/simulator/instruction/fn.csrrw_handler.html +++ b/moras/simulator/instruction/fn.csrrw_handler.html @@ -1,3 +1,3 @@ -csrrw_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrw_handler

source ·
pub(super) fn csrrw_handler(
+csrrw_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrw_handler

source ·
pub(super) fn csrrw_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.csrrwi_handler.html b/moras/simulator/instruction/fn.csrrwi_handler.html index d13c7cff..2d35961f 100644 --- a/moras/simulator/instruction/fn.csrrwi_handler.html +++ b/moras/simulator/instruction/fn.csrrwi_handler.html @@ -1,3 +1,3 @@ -csrrwi_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrwi_handler

source ·
pub(super) fn csrrwi_handler(
+csrrwi_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::csrrwi_handler

source ·
pub(super) fn csrrwi_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.ebreak_handler.html b/moras/simulator/instruction/fn.ebreak_handler.html index e7392172..9c3fa089 100644 --- a/moras/simulator/instruction/fn.ebreak_handler.html +++ b/moras/simulator/instruction/fn.ebreak_handler.html @@ -1,3 +1,3 @@ -ebreak_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::ebreak_handler

source ·
pub(super) fn ebreak_handler(
+ebreak_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::ebreak_handler

source ·
pub(super) fn ebreak_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.ecall_handler.html b/moras/simulator/instruction/fn.ecall_handler.html index 9eb30343..1c04f987 100644 --- a/moras/simulator/instruction/fn.ecall_handler.html +++ b/moras/simulator/instruction/fn.ecall_handler.html @@ -1,3 +1,3 @@ -ecall_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::ecall_handler

source ·
pub(super) fn ecall_handler(
+ecall_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::ecall_handler

source ·
pub(super) fn ecall_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.fence_handler.html b/moras/simulator/instruction/fn.fence_handler.html index 874f6a27..39ae2a2a 100644 --- a/moras/simulator/instruction/fn.fence_handler.html +++ b/moras/simulator/instruction/fn.fence_handler.html @@ -1,3 +1,3 @@ -fence_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::fence_handler

source ·
pub(super) fn fence_handler(
+fence_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::fence_handler

source ·
pub(super) fn fence_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.fence_i_handler.html b/moras/simulator/instruction/fn.fence_i_handler.html index 278424ee..f3cfa396 100644 --- a/moras/simulator/instruction/fn.fence_i_handler.html +++ b/moras/simulator/instruction/fn.fence_i_handler.html @@ -1,3 +1,3 @@ -fence_i_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::fence_i_handler

source ·
pub(super) fn fence_i_handler(
+fence_i_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::fence_i_handler

source ·
pub(super) fn fence_i_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.jal_handler.html b/moras/simulator/instruction/fn.jal_handler.html index 93201a4b..e3554973 100644 --- a/moras/simulator/instruction/fn.jal_handler.html +++ b/moras/simulator/instruction/fn.jal_handler.html @@ -1,3 +1,3 @@ -jal_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::jal_handler

source ·
pub(super) fn jal_handler(
+jal_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::jal_handler

source ·
pub(super) fn jal_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.jalr_handler.html b/moras/simulator/instruction/fn.jalr_handler.html index d9ed7b93..b6d9b796 100644 --- a/moras/simulator/instruction/fn.jalr_handler.html +++ b/moras/simulator/instruction/fn.jalr_handler.html @@ -1,3 +1,3 @@ -jalr_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::jalr_handler

source ·
pub(super) fn jalr_handler(
+jalr_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::jalr_handler

source ·
pub(super) fn jalr_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.jump_helper.html b/moras/simulator/instruction/fn.jump_helper.html index da6a09db..39d28bb8 100644 --- a/moras/simulator/instruction/fn.jump_helper.html +++ b/moras/simulator/instruction/fn.jump_helper.html @@ -1 +1 @@ -jump_helper in moras::simulator::instruction - Rust

Function moras::simulator::instruction::jump_helper

source ·
fn jump_helper(arg: &InstHandlerArg<'_>, addr: u32) -> Result<(), String>
\ No newline at end of file +jump_helper in moras::simulator::instruction - Rust

Function moras::simulator::instruction::jump_helper

source ·
fn jump_helper(arg: &InstHandlerArg<'_>, addr: u32) -> Result<(), String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.jump_offset_helper.html b/moras/simulator/instruction/fn.jump_offset_helper.html index 6fe39374..cc1acafa 100644 --- a/moras/simulator/instruction/fn.jump_offset_helper.html +++ b/moras/simulator/instruction/fn.jump_offset_helper.html @@ -1,4 +1,4 @@ -jump_offset_helper in moras::simulator::instruction - Rust

Function moras::simulator::instruction::jump_offset_helper

source ·
fn jump_offset_helper(
+jump_offset_helper in moras::simulator::instruction - Rust

Function moras::simulator::instruction::jump_offset_helper

source ·
fn jump_offset_helper(
     arg: &InstHandlerArg<'_>,
     offset: u32
 ) -> Result<(), String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.lb_handler.html b/moras/simulator/instruction/fn.lb_handler.html index 5443680d..3400d8da 100644 --- a/moras/simulator/instruction/fn.lb_handler.html +++ b/moras/simulator/instruction/fn.lb_handler.html @@ -1,3 +1,3 @@ -lb_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lb_handler

source ·
pub(super) fn lb_handler(
+lb_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lb_handler

source ·
pub(super) fn lb_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.lbu_handler.html b/moras/simulator/instruction/fn.lbu_handler.html index c53225cc..71ed5cd1 100644 --- a/moras/simulator/instruction/fn.lbu_handler.html +++ b/moras/simulator/instruction/fn.lbu_handler.html @@ -1,3 +1,3 @@ -lbu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lbu_handler

source ·
pub(super) fn lbu_handler(
+lbu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lbu_handler

source ·
pub(super) fn lbu_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.lh_handler.html b/moras/simulator/instruction/fn.lh_handler.html index 95d18649..ea33819f 100644 --- a/moras/simulator/instruction/fn.lh_handler.html +++ b/moras/simulator/instruction/fn.lh_handler.html @@ -1,3 +1,3 @@ -lh_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lh_handler

source ·
pub(super) fn lh_handler(
+lh_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lh_handler

source ·
pub(super) fn lh_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.lhu_handler.html b/moras/simulator/instruction/fn.lhu_handler.html index 22bc60e5..54fd1b57 100644 --- a/moras/simulator/instruction/fn.lhu_handler.html +++ b/moras/simulator/instruction/fn.lhu_handler.html @@ -1,3 +1,3 @@ -lhu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lhu_handler

source ·
pub(super) fn lhu_handler(
+lhu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lhu_handler

source ·
pub(super) fn lhu_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.lui_handler.html b/moras/simulator/instruction/fn.lui_handler.html index 7365caea..cb9969e8 100644 --- a/moras/simulator/instruction/fn.lui_handler.html +++ b/moras/simulator/instruction/fn.lui_handler.html @@ -1,3 +1,3 @@ -lui_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lui_handler

source ·
pub(super) fn lui_handler(
+lui_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lui_handler

source ·
pub(super) fn lui_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.lw_handler.html b/moras/simulator/instruction/fn.lw_handler.html index b4c7a83c..f403bcb1 100644 --- a/moras/simulator/instruction/fn.lw_handler.html +++ b/moras/simulator/instruction/fn.lw_handler.html @@ -1,3 +1,3 @@ -lw_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lw_handler

source ·
pub(super) fn lw_handler(
+lw_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::lw_handler

source ·
pub(super) fn lw_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.or_handler.html b/moras/simulator/instruction/fn.or_handler.html index eb3871a4..60291e7d 100644 --- a/moras/simulator/instruction/fn.or_handler.html +++ b/moras/simulator/instruction/fn.or_handler.html @@ -1,3 +1,3 @@ -or_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::or_handler

source ·
pub(super) fn or_handler(
+or_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::or_handler

source ·
pub(super) fn or_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.ori_handler.html b/moras/simulator/instruction/fn.ori_handler.html index 603ef892..5cd740b3 100644 --- a/moras/simulator/instruction/fn.ori_handler.html +++ b/moras/simulator/instruction/fn.ori_handler.html @@ -1,3 +1,3 @@ -ori_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::ori_handler

source ·
pub(super) fn ori_handler(
+ori_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::ori_handler

source ·
pub(super) fn ori_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.sb_handler.html b/moras/simulator/instruction/fn.sb_handler.html index 5c2bf8b5..5a7f93fd 100644 --- a/moras/simulator/instruction/fn.sb_handler.html +++ b/moras/simulator/instruction/fn.sb_handler.html @@ -1,3 +1,3 @@ -sb_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sb_handler

source ·
pub(super) fn sb_handler(
+sb_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sb_handler

source ·
pub(super) fn sb_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.sh_handler.html b/moras/simulator/instruction/fn.sh_handler.html index c0999825..323e5b2e 100644 --- a/moras/simulator/instruction/fn.sh_handler.html +++ b/moras/simulator/instruction/fn.sh_handler.html @@ -1,3 +1,3 @@ -sh_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sh_handler

source ·
pub(super) fn sh_handler(
+sh_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sh_handler

source ·
pub(super) fn sh_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.sll_handler.html b/moras/simulator/instruction/fn.sll_handler.html index eaa66e5f..f41fdea9 100644 --- a/moras/simulator/instruction/fn.sll_handler.html +++ b/moras/simulator/instruction/fn.sll_handler.html @@ -1,3 +1,3 @@ -sll_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sll_handler

source ·
pub(super) fn sll_handler(
+sll_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sll_handler

source ·
pub(super) fn sll_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.slli_handler.html b/moras/simulator/instruction/fn.slli_handler.html index 358cc621..64272688 100644 --- a/moras/simulator/instruction/fn.slli_handler.html +++ b/moras/simulator/instruction/fn.slli_handler.html @@ -1,3 +1,3 @@ -slli_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::slli_handler

source ·
pub(super) fn slli_handler(
+slli_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::slli_handler

source ·
pub(super) fn slli_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.slt_handler.html b/moras/simulator/instruction/fn.slt_handler.html index 65d6dfce..89e6f97d 100644 --- a/moras/simulator/instruction/fn.slt_handler.html +++ b/moras/simulator/instruction/fn.slt_handler.html @@ -1,3 +1,3 @@ -slt_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::slt_handler

source ·
pub(super) fn slt_handler(
+slt_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::slt_handler

source ·
pub(super) fn slt_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.slti_handler.html b/moras/simulator/instruction/fn.slti_handler.html index 796a0f0b..df97e1b3 100644 --- a/moras/simulator/instruction/fn.slti_handler.html +++ b/moras/simulator/instruction/fn.slti_handler.html @@ -1,3 +1,3 @@ -slti_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::slti_handler

source ·
pub(super) fn slti_handler(
+slti_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::slti_handler

source ·
pub(super) fn slti_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.sltiu_handler.html b/moras/simulator/instruction/fn.sltiu_handler.html index 5cd7ba40..3f621725 100644 --- a/moras/simulator/instruction/fn.sltiu_handler.html +++ b/moras/simulator/instruction/fn.sltiu_handler.html @@ -1,3 +1,3 @@ -sltiu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sltiu_handler

source ·
pub(super) fn sltiu_handler(
+sltiu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sltiu_handler

source ·
pub(super) fn sltiu_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.sltu_handler.html b/moras/simulator/instruction/fn.sltu_handler.html index 5ef20576..6ad9dc6f 100644 --- a/moras/simulator/instruction/fn.sltu_handler.html +++ b/moras/simulator/instruction/fn.sltu_handler.html @@ -1,3 +1,3 @@ -sltu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sltu_handler

source ·
pub(super) fn sltu_handler(
+sltu_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sltu_handler

source ·
pub(super) fn sltu_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.sra_handler.html b/moras/simulator/instruction/fn.sra_handler.html index 814e6535..f8230dcd 100644 --- a/moras/simulator/instruction/fn.sra_handler.html +++ b/moras/simulator/instruction/fn.sra_handler.html @@ -1,3 +1,3 @@ -sra_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sra_handler

source ·
pub(super) fn sra_handler(
+sra_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sra_handler

source ·
pub(super) fn sra_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.srai_handler.html b/moras/simulator/instruction/fn.srai_handler.html index 61acc8a0..32f2b91f 100644 --- a/moras/simulator/instruction/fn.srai_handler.html +++ b/moras/simulator/instruction/fn.srai_handler.html @@ -1,3 +1,3 @@ -srai_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::srai_handler

source ·
pub(super) fn srai_handler(
+srai_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::srai_handler

source ·
pub(super) fn srai_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.srl_handler.html b/moras/simulator/instruction/fn.srl_handler.html index 8d3ff64a..6665e16f 100644 --- a/moras/simulator/instruction/fn.srl_handler.html +++ b/moras/simulator/instruction/fn.srl_handler.html @@ -1,3 +1,3 @@ -srl_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::srl_handler

source ·
pub(super) fn srl_handler(
+srl_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::srl_handler

source ·
pub(super) fn srl_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.srli_handler.html b/moras/simulator/instruction/fn.srli_handler.html index f4481854..ccc4e5da 100644 --- a/moras/simulator/instruction/fn.srli_handler.html +++ b/moras/simulator/instruction/fn.srli_handler.html @@ -1,3 +1,3 @@ -srli_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::srli_handler

source ·
pub(super) fn srli_handler(
+srli_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::srli_handler

source ·
pub(super) fn srli_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.sub_handler.html b/moras/simulator/instruction/fn.sub_handler.html index 99601f2d..99301c13 100644 --- a/moras/simulator/instruction/fn.sub_handler.html +++ b/moras/simulator/instruction/fn.sub_handler.html @@ -1,3 +1,3 @@ -sub_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sub_handler

source ·
pub(super) fn sub_handler(
+sub_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sub_handler

source ·
pub(super) fn sub_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.sw_handler.html b/moras/simulator/instruction/fn.sw_handler.html index e72b2be2..818cb1ed 100644 --- a/moras/simulator/instruction/fn.sw_handler.html +++ b/moras/simulator/instruction/fn.sw_handler.html @@ -1,3 +1,3 @@ -sw_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sw_handler

source ·
pub(super) fn sw_handler(
+sw_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::sw_handler

source ·
pub(super) fn sw_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.xor_handler.html b/moras/simulator/instruction/fn.xor_handler.html index 1e74dac8..2e4bfd1a 100644 --- a/moras/simulator/instruction/fn.xor_handler.html +++ b/moras/simulator/instruction/fn.xor_handler.html @@ -1,3 +1,3 @@ -xor_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::xor_handler

source ·
pub(super) fn xor_handler(
+xor_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::xor_handler

source ·
pub(super) fn xor_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/fn.xori_handler.html b/moras/simulator/instruction/fn.xori_handler.html index b454ee3c..67c8b0df 100644 --- a/moras/simulator/instruction/fn.xori_handler.html +++ b/moras/simulator/instruction/fn.xori_handler.html @@ -1,3 +1,3 @@ -xori_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::xori_handler

source ·
pub(super) fn xori_handler(
+xori_handler in moras::simulator::instruction - Rust

Function moras::simulator::instruction::xori_handler

source ·
pub(super) fn xori_handler(
     arg: InstHandlerArg<'_>
 ) -> Result<SimulatorStatus, String>
\ No newline at end of file diff --git a/moras/simulator/instruction/index.html b/moras/simulator/instruction/index.html index f2a8715d..f447538f 100644 --- a/moras/simulator/instruction/index.html +++ b/moras/simulator/instruction/index.html @@ -1 +1 @@ -moras::simulator::instruction - Rust
\ No newline at end of file +moras::simulator::instruction - Rust
\ No newline at end of file diff --git a/moras/simulator/instruction/macro.load_helper.html b/moras/simulator/instruction/macro.load_helper.html index 1e979f5c..0d0e6ebe 100644 --- a/moras/simulator/instruction/macro.load_helper.html +++ b/moras/simulator/instruction/macro.load_helper.html @@ -1,3 +1,3 @@ -load_helper in moras::simulator::instruction - Rust

Macro moras::simulator::instruction::load_helper

source ·
macro_rules! load_helper {
+load_helper in moras::simulator::instruction - Rust

Macro moras::simulator::instruction::load_helper

source ·
macro_rules! load_helper {
     ($arg:expr, $size:expr, $t:ty) => { ... };
 }
\ No newline at end of file diff --git a/moras/simulator/instruction/macro.store_helper.html b/moras/simulator/instruction/macro.store_helper.html index 13db5e92..661e4222 100644 --- a/moras/simulator/instruction/macro.store_helper.html +++ b/moras/simulator/instruction/macro.store_helper.html @@ -1,3 +1,3 @@ -store_helper in moras::simulator::instruction - Rust

Macro moras::simulator::instruction::store_helper

source ·
macro_rules! store_helper {
+store_helper in moras::simulator::instruction - Rust

Macro moras::simulator::instruction::store_helper

source ·
macro_rules! store_helper {
     ($arg:expr, $size:expr, $t:ty) => { ... };
 }
\ No newline at end of file diff --git a/moras/simulator/instruction/static.FAKE_ZERO.html b/moras/simulator/instruction/static.FAKE_ZERO.html index 5e322c3f..7d58d6fe 100644 --- a/moras/simulator/instruction/static.FAKE_ZERO.html +++ b/moras/simulator/instruction/static.FAKE_ZERO.html @@ -1 +1 @@ -FAKE_ZERO in moras::simulator::instruction - Rust

Static moras::simulator::instruction::FAKE_ZERO

source ·
static FAKE_ZERO: Lazy<u32>
\ No newline at end of file +FAKE_ZERO in moras::simulator::instruction - Rust

Static moras::simulator::instruction::FAKE_ZERO

source ·
static FAKE_ZERO: Lazy<u32>
\ No newline at end of file diff --git a/moras/simulator/instruction/static.FAKE_ZERO_PTR.html b/moras/simulator/instruction/static.FAKE_ZERO_PTR.html index 2012a46c..5774106b 100644 --- a/moras/simulator/instruction/static.FAKE_ZERO_PTR.html +++ b/moras/simulator/instruction/static.FAKE_ZERO_PTR.html @@ -1 +1 @@ -FAKE_ZERO_PTR in moras::simulator::instruction - Rust

Static moras::simulator::instruction::FAKE_ZERO_PTR

source ·
static FAKE_ZERO_PTR: Lazy<Ptr<u32>>
\ No newline at end of file +FAKE_ZERO_PTR in moras::simulator::instruction - Rust

Static moras::simulator::instruction::FAKE_ZERO_PTR

source ·
static FAKE_ZERO_PTR: Lazy<Ptr<u32>>
\ No newline at end of file diff --git a/moras/simulator/instruction/static.INST_HANDLER_MAP.html b/moras/simulator/instruction/static.INST_HANDLER_MAP.html index b2181233..1ef9121b 100644 --- a/moras/simulator/instruction/static.INST_HANDLER_MAP.html +++ b/moras/simulator/instruction/static.INST_HANDLER_MAP.html @@ -1 +1 @@ -INST_HANDLER_MAP in moras::simulator::instruction - Rust

Static moras::simulator::instruction::INST_HANDLER_MAP

source ·
pub(super) static INST_HANDLER_MAP: Lazy<EnumMap<RV32IInstruction, fn(_: InstHandlerArg<'_>) -> Result<SimulatorStatus, String>>>
\ No newline at end of file +INST_HANDLER_MAP in moras::simulator::instruction - Rust

Static moras::simulator::instruction::INST_HANDLER_MAP

source ·
pub(super) static INST_HANDLER_MAP: Lazy<EnumMap<RV32IInstruction, fn(_: InstHandlerArg<'_>) -> Result<SimulatorStatus, String>>>
\ No newline at end of file diff --git a/moras/simulator/instruction/struct.InstHandlerArg.html b/moras/simulator/instruction/struct.InstHandlerArg.html index 69202b9d..43a49f02 100644 --- a/moras/simulator/instruction/struct.InstHandlerArg.html +++ b/moras/simulator/instruction/struct.InstHandlerArg.html @@ -1,8 +1,8 @@ -InstHandlerArg in moras::simulator::instruction - Rust

Struct moras::simulator::instruction::InstHandlerArg

source ·
pub(super) struct InstHandlerArg<'a> {
+InstHandlerArg in moras::simulator::instruction - Rust

Struct moras::simulator::instruction::InstHandlerArg

source ·
pub(super) struct InstHandlerArg<'a> {
     pub sim: Ptr<RISCVSimulator>,
     pub args: &'a Vec<RISCV::Immediate>,
     pub history: Ptr<History>,
-}

Fields§

§sim: Ptr<RISCVSimulator>§args: &'a Vec<RISCV::Immediate>§history: Ptr<History>

Implementations§

source§

impl<'a> InstHandlerArg<'a>

source

fn reg(&self, index: RISCV::Immediate) -> u32

source

fn reg_mut(&self, index: RISCV::Immediate) -> &mut u32

source

fn pc_idx(&self) -> usize

source

fn pc(&self) -> u32

source

fn set_pc(&self, addr: u32) -> bool

source

fn pc_step(&self)

source

fn get_path(&self) -> &str

Trait Implementations§

source§

impl<'a> Index<usize> for InstHandlerArg<'a>

§

type Output = <RISCV as InstructionSetTrait>::Immediate

The returned type after indexing.
source§

fn index(&self, index: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for InstHandlerArg<'a>

§

impl<'a> !RefUnwindSafe for InstHandlerArg<'a>

§

impl<'a> Send for InstHandlerArg<'a>

§

impl<'a> Sync for InstHandlerArg<'a>

§

impl<'a> Unpin for InstHandlerArg<'a>

§

impl<'a> !UnwindSafe for InstHandlerArg<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§sim: Ptr<RISCVSimulator>§args: &'a Vec<RISCV::Immediate>§history: Ptr<History>

Implementations§

source§

impl<'a> InstHandlerArg<'a>

source

fn reg(&self, index: RISCV::Immediate) -> u32

source

fn reg_mut(&self, index: RISCV::Immediate) -> &mut u32

source

fn pc(&self) -> u32

source

fn set_pc(&self, addr: u32) -> bool

source

fn pc_step(&self)

source

fn request_input(&self, wait_status: WaitStatus) -> Result<(), String>

source

fn output(&self, output: &str) -> Result<(), String>

Trait Implementations§

source§

impl<'a> Index<usize> for InstHandlerArg<'a>

§

type Output = <RISCV as InstructionSetTrait>::Immediate

The returned type after indexing.
source§

fn index(&self, index: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for InstHandlerArg<'a>

§

impl<'a> !RefUnwindSafe for InstHandlerArg<'a>

§

impl<'a> Send for InstHandlerArg<'a>

§

impl<'a> Sync for InstHandlerArg<'a>

§

impl<'a> Unpin for InstHandlerArg<'a>

§

impl<'a> !UnwindSafe for InstHandlerArg<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/moras/simulator/instruction/type.InstHandler.html b/moras/simulator/instruction/type.InstHandler.html index a7e55e8f..0bb71f08 100644 --- a/moras/simulator/instruction/type.InstHandler.html +++ b/moras/simulator/instruction/type.InstHandler.html @@ -1 +1 @@ -InstHandler in moras::simulator::instruction - Rust

Type Alias moras::simulator::instruction::InstHandler

source ·
type InstHandler = fn(_: InstHandlerArg<'_>) -> Result<SimulatorStatus, String>;
\ No newline at end of file +InstHandler in moras::simulator::instruction - Rust

Type Alias moras::simulator::instruction::InstHandler

source ·
type InstHandler = fn(_: InstHandlerArg<'_>) -> Result<SimulatorStatus, String>;
\ No newline at end of file diff --git a/moras/simulator/simulator/constant.MAX_HISTORY_SIZE.html b/moras/simulator/simulator/constant.MAX_HISTORY_SIZE.html index bf634b9f..ab56579e 100644 --- a/moras/simulator/simulator/constant.MAX_HISTORY_SIZE.html +++ b/moras/simulator/simulator/constant.MAX_HISTORY_SIZE.html @@ -1 +1 @@ -MAX_HISTORY_SIZE in moras::simulator::simulator - Rust

Constant moras::simulator::simulator::MAX_HISTORY_SIZE

source ·
pub const MAX_HISTORY_SIZE: usize = 100;
\ No newline at end of file +MAX_HISTORY_SIZE in moras::simulator::simulator - Rust

Constant moras::simulator::simulator::MAX_HISTORY_SIZE

source ·
pub const MAX_HISTORY_SIZE: usize = 100;
\ No newline at end of file diff --git a/moras/simulator/simulator/enum.SimulatorStatus.html b/moras/simulator/simulator/enum.SimulatorStatus.html index 9ea20a3f..020b1090 100644 --- a/moras/simulator/simulator/enum.SimulatorStatus.html +++ b/moras/simulator/simulator/enum.SimulatorStatus.html @@ -1,4 +1,4 @@ -SimulatorStatus in moras::simulator::simulator - Rust

Enum moras::simulator::simulator::SimulatorStatus

source ·
pub(super) enum SimulatorStatus {
+SimulatorStatus in moras::simulator::simulator - Rust

Enum moras::simulator::simulator::SimulatorStatus

source ·
pub(super) enum SimulatorStatus {
     Unloaded = 0,
     Loading = 1,
     Running = 2,
@@ -6,9 +6,9 @@
     Stopped = 4,
     Stopping = 5,
     Undo = 6,
-}

Variants§

§

Unloaded = 0

§

Loading = 1

§

Running = 2

§

Paused = 3

§

Stopped = 4

§

Stopping = 5

§

Undo = 6

Trait Implementations§

source§

impl Clone for SimulatorStatus

source§

fn clone(&self) -> SimulatorStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq for SimulatorStatus

source§

fn eq(&self, other: &SimulatorStatus) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

Unloaded = 0

§

Loading = 1

§

Running = 2

§

Paused = 3

§

Stopped = 4

§

Stopping = 5

§

Undo = 6

Trait Implementations§

source§

impl Clone for SimulatorStatus

source§

fn clone(&self) -> SimulatorStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq for SimulatorStatus

source§

fn eq(&self, other: &SimulatorStatus) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl VariantArray for SimulatorStatus

source§

const VARIANTS: &'static [Self] = _

source§

impl Copy for SimulatorStatus

source§

impl Eq for SimulatorStatus

source§

impl StructuralPartialEq for SimulatorStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl VariantArray for SimulatorStatus

source§

const VARIANTS: &'static [Self] = _

source§

impl Copy for SimulatorStatus

source§

impl Eq for SimulatorStatus

source§

impl StructuralPartialEq for SimulatorStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/simulator/simulator/enum.WaitStatus.html b/moras/simulator/simulator/enum.WaitStatus.html index 1f824f8d..414f6c52 100644 --- a/moras/simulator/simulator/enum.WaitStatus.html +++ b/moras/simulator/simulator/enum.WaitStatus.html @@ -1,11 +1,11 @@ -WaitStatus in moras::simulator::simulator - Rust

Enum moras::simulator::simulator::WaitStatus

source ·
pub(super) enum WaitStatus {
+WaitStatus in moras::simulator::simulator - Rust

Enum moras::simulator::simulator::WaitStatus

source ·
pub(super) enum WaitStatus {
     Not,
     Int,
     String,
     Char,
-}

Variants§

§

Not

§

Int

§

String

§

Char

Trait Implementations§

source§

impl Clone for WaitStatus

source§

fn clone(&self) -> WaitStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq for WaitStatus

source§

fn eq(&self, other: &WaitStatus) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

Not

§

Int

§

String

§

Char

Trait Implementations§

source§

impl Clone for WaitStatus

source§

fn clone(&self) -> WaitStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq for WaitStatus

source§

fn eq(&self, other: &WaitStatus) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for WaitStatus

source§

impl Eq for WaitStatus

source§

impl StructuralPartialEq for WaitStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Copy for WaitStatus

source§

impl Eq for WaitStatus

source§

impl StructuralPartialEq for WaitStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/moras/simulator/simulator/index.html b/moras/simulator/simulator/index.html index 2f833f0e..08c6ea9e 100644 --- a/moras/simulator/simulator/index.html +++ b/moras/simulator/simulator/index.html @@ -1 +1 @@ -moras::simulator::simulator - Rust

Module moras::simulator::simulator

source ·

Structs§

Enums§

Constants§

\ No newline at end of file +moras::simulator::simulator - Rust

Module moras::simulator::simulator

source ·

Structs§

Enums§

Constants§

\ No newline at end of file diff --git a/moras/simulator/simulator/struct.History.html b/moras/simulator/simulator/struct.History.html index b45a1102..ffa00267 100644 --- a/moras/simulator/simulator/struct.History.html +++ b/moras/simulator/simulator/struct.History.html @@ -1,4 +1,4 @@ -History in moras::simulator::simulator - Rust

Struct moras::simulator::simulator::History

source ·
pub(super) struct History {
+History in moras::simulator::simulator - Rust

Struct moras::simulator::simulator::History

source ·
pub(super) struct History {
     pub reg_idx: i32,
     pub reg_val: u32,
     pub pc_idx: usize,
diff --git a/moras/simulator/simulator/struct.RISCVSimulator.html b/moras/simulator/simulator/struct.RISCVSimulator.html
index e23ef02b..cfc99599 100644
--- a/moras/simulator/simulator/struct.RISCVSimulator.html
+++ b/moras/simulator/simulator/struct.RISCVSimulator.html
@@ -1,4 +1,4 @@
-RISCVSimulator in moras::simulator::simulator - Rust

Struct moras::simulator::simulator::RISCVSimulator

source ·
pub struct RISCVSimulator {
Show 13 fields +RISCVSimulator in moras::simulator::simulator - Rust

Struct moras::simulator::simulator::RISCVSimulator

source ·
pub struct RISCVSimulator {
Show 14 fields pub(super) reg: [u32; 32], pub(super) pc_idx: usize, pub(super) mem: Memory, @@ -12,10 +12,17 @@ status: AtomicU8, history: VecDeque<History>, mem_range: MemoryReturnRange, -
}

Fields§

§reg: [u32; 32]§pc_idx: usize§mem: Memory§conf: AssemblerConfig§inst: Option<AssembleResult<RISCV>>§file: String§wait_input: WaitStatus§breakpoints: Vec<bool>§debug: bool§thread: Option<JoinHandle<()>>§status: AtomicU8§history: VecDeque<History>§mem_range: MemoryReturnRange

Implementations§

source§

impl RISCVSimulator

source

pub fn new(file: &str) -> Self

source

pub(super) fn in_data_segment(&self, addr: u32, len: u32) -> bool

source

pub(super) fn in_stack_segment(&self, addr: u32, len: u32) -> bool

source

pub(super) fn text_range(&self) -> (u32, u32)

source

pub(super) fn to_text_idx(&self, addr: u32) -> Option<usize>

source

pub(super) fn to_text_addr(&self, idx: usize) -> u32

source§

impl RISCVSimulator

source

fn get_status(&self) -> SimulatorStatus

source

fn set_status(&self, status: SimulatorStatus)

source

fn cas_status(&self, current: SimulatorStatus, new: SimulatorStatus) -> bool

source

fn _step(&mut self) -> Result<SimulatorStatus, String>

source

fn _reset(&mut self)

source

fn _start(&mut self, max_step: Option<usize>)

source

fn update(&mut self, res: Optional)

Trait Implementations§

source§

impl Simulator for RISCVSimulator

source§

fn load_inst(&mut self, inst: AssembleResult<RISCV>) -> Result<(), String>

source§

fn get_raw_inst(&self) -> &Option<AssembleResult<RISCV>>

source§

fn update_config(&mut self, config: &AssemblerConfig) -> Result<(), String>

source§

fn run(&mut self) -> Result<(), String>

source§

fn debug(&mut self) -> Result<(), String>

source§

fn stop(&mut self) -> Result<(), String>

source§

fn resume(&mut self) -> Result<(), String>

source§

fn step(&mut self) -> Result<(), String>

source§

fn reset(&mut self) -> Result<(), String>

source§

fn undo(&mut self) -> Result<(), String>

source§

fn set_breakpoint(&mut self, idx: usize) -> Result<(), String>

source§

fn remove_breakpoint(&mut self, idx: usize) -> Result<(), String>

source§

fn syscall_input(&mut self, input: &str) -> Result<(), String>

source§

fn get_register(&self) -> &[u32]

source§

fn get_memory(&self) -> Vec<u32>

source§

fn get_pc_idx(&self) -> Option<usize>

source§

fn get_filepath(&self) -> &str

source§

fn get_memory_return_range(&self) -> MemoryReturnRange

source§

fn set_memory_return_range( + fake_middleware: Option<&'static mut dyn FakeMiddlewareTrait>, +

}

Fields§

§reg: [u32; 32]§pc_idx: usize§mem: Memory§conf: AssemblerConfig§inst: Option<AssembleResult<RISCV>>§file: String§wait_input: WaitStatus§breakpoints: Vec<bool>§debug: bool§thread: Option<JoinHandle<()>>§status: AtomicU8§history: VecDeque<History>§mem_range: MemoryReturnRange§fake_middleware: Option<&'static mut dyn FakeMiddlewareTrait>

Implementations§

source§

impl RISCVSimulator

source

pub fn new(file: &str) -> Self

source

pub(super) fn in_data_segment(&self, addr: u32, len: u32) -> bool

source

pub(super) fn in_stack_segment(&self, addr: u32, len: u32) -> bool

source

pub(super) fn text_range(&self) -> (u32, u32)

source

pub(super) fn to_text_idx(&self, addr: u32) -> Option<usize>

source

pub(super) fn to_text_addr(&self, idx: usize) -> u32

source

pub(super) fn request_input( + &mut self, + wait_status: WaitStatus +) -> Result<(), String>

source

pub(super) fn output(&mut self, msg: &str) -> Result<(), String>

source§

impl RISCVSimulator

source

fn get_status(&self) -> SimulatorStatus

source

fn set_status(&self, status: SimulatorStatus)

source

fn cas_status(&self, current: SimulatorStatus, new: SimulatorStatus) -> bool

source

fn _step(&mut self) -> Result<SimulatorStatus, String>

source

fn _reset(&mut self)

source

fn _start(&mut self, max_step: Option<usize>)

source

fn update(&mut self, res: Optional)

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<(), String>

source§

fn set_fake_middleware( + &mut self, + middleware: Option<&'static mut dyn FakeMiddlewareTrait> +)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/moras/types/middleware_types/struct.MemoryReturnRange.html b/moras/types/middleware_types/struct.MemoryReturnRange.html index ec94bfe1..a27b0f5f 100644 --- a/moras/types/middleware_types/struct.MemoryReturnRange.html +++ b/moras/types/middleware_types/struct.MemoryReturnRange.html @@ -1,14 +1,22 @@ -MemoryReturnRange in moras::types::middleware_types - Rust

Struct moras::types::middleware_types::MemoryReturnRange

source ·
pub struct MemoryReturnRange {
+MemoryReturnRange in moras::types::middleware_types - Rust

Struct moras::types::middleware_types::MemoryReturnRange

source ·
pub struct MemoryReturnRange {
     pub start: u64,
     pub len: u64,
 }
Expand description

both start and len are aligned by 4

-

Fields§

§start: u64§len: u64

Trait Implementations§

source§

impl Clone for MemoryReturnRange

source§

fn clone(&self) -> MemoryReturnRange

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for MemoryReturnRange

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for MemoryReturnRange

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Copy for MemoryReturnRange

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Fields§

§start: u64§len: u64

Trait Implementations§

source§

impl Clone for MemoryReturnRange

source§

fn clone(&self) -> MemoryReturnRange

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemoryReturnRange

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for MemoryReturnRange

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for MemoryReturnRange

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for MemoryReturnRange

source§

fn eq(&self, other: &MemoryReturnRange) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Copy for MemoryReturnRange

source§

impl Eq for MemoryReturnRange

source§

impl StructuralPartialEq for MemoryReturnRange

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, D, R> CommandArg<'de, R> for D
where D: Deserialize<'de>, - R: Runtime,

§

fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>

Derives an instance of Self from the [CommandItem]. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ R: Runtime,

§

fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>

Derives an instance of Self from the [CommandItem]. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<Q, K> Equivalent<K> for Q
where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an @@ -25,4 +33,5 @@ S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file + T: for<'de> Deserialize<'de>,
§

impl<T> UserEvent for T
where + T: Debug + Clone + Send + 'static,

\ No newline at end of file diff --git a/report.html b/report.html index d7cce5ee..98dfb875 100644 --- a/report.html +++ b/report.html @@ -118,8 +118,8 @@