mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-09 01:03:08 +00:00
14 lines
629 B
Rust
14 lines
629 B
Rust
//! The Memory STARK is used to handle all memory read and write operations happening when
|
|
//! executing the EVM. Each non-dummy row of the table correspond to a single operation,
|
|
//! and rows are ordered by the timestamp associated to each memory operation.
|
|
|
|
pub mod columns;
|
|
pub mod memory_stark;
|
|
pub mod segments;
|
|
|
|
// TODO: Move to CPU module, now that channels have been removed from the memory table.
|
|
pub(crate) const NUM_CHANNELS: usize = crate::cpu::membus::NUM_CHANNELS;
|
|
/// The number of limbs holding the value at a memory address.
|
|
/// Eight limbs of 32 bits can hold a `U256`.
|
|
pub(crate) const VALUE_LIMBS: usize = 8;
|