o1vm/interpreters/riscv32im/mod.rs
1/// The minimal number of columns required for the VM
2pub const SCRATCH_SIZE: usize = 39;
3pub const SCRATCH_SIZE_INVERSE: usize = 1;
4
5/// Number of instructions in the ISA
6pub const INSTRUCTION_SET_SIZE: usize = 48;
7
8pub const PAGE_ADDRESS_SIZE: u32 = 12;
9pub const PAGE_SIZE: u32 = 1 << PAGE_ADDRESS_SIZE;
10pub const PAGE_ADDRESS_MASK: u32 = PAGE_SIZE - 1;
11
12/// List all columns used by the interpreter
13pub mod column;
14
15pub mod constraints;
16
17pub mod interpreter;
18
19/// All the registers used by the ISA
20pub mod registers;
21
22pub mod witness;
23
24#[cfg(test)]
25mod tests;