diff --git a/crates/circuits/primitives/src/bitwise_op_lookup/mod.rs b/crates/circuits/primitives/src/bitwise_op_lookup/mod.rs index 00423e4d67..0cc8245dc7 100644 --- a/crates/circuits/primitives/src/bitwise_op_lookup/mod.rs +++ b/crates/circuits/primitives/src/bitwise_op_lookup/mod.rs @@ -103,7 +103,6 @@ impl Air // for x ^ y and range check. Interactions are of form [x, y, z] where z is either x ^ y for // XOR or 0 for range check. -#[derive(Debug)] pub struct BitwiseOperationLookupChip { pub air: BitwiseOperationLookupAir, count_range: Vec, diff --git a/crates/circuits/primitives/src/range/mod.rs b/crates/circuits/primitives/src/range/mod.rs index 6a3aa754db..126c983806 100644 --- a/crates/circuits/primitives/src/range/mod.rs +++ b/crates/circuits/primitives/src/range/mod.rs @@ -79,7 +79,6 @@ impl Air for RangeCheckerAir { } } -#[derive(Debug)] pub struct RangeCheckerChip { pub air: RangeCheckerAir, count: Vec, diff --git a/crates/circuits/primitives/src/range/tests/list/mod.rs b/crates/circuits/primitives/src/range/tests/list/mod.rs index 9e3464370c..c18a16e8b4 100644 --- a/crates/circuits/primitives/src/range/tests/list/mod.rs +++ b/crates/circuits/primitives/src/range/tests/list/mod.rs @@ -8,7 +8,6 @@ pub mod air; pub mod columns; pub mod trace; -#[derive(Debug)] pub struct ListChip { pub air: ListAir, pub vals: Vec, diff --git a/crates/circuits/primitives/src/range_gate/mod.rs b/crates/circuits/primitives/src/range_gate/mod.rs index e6ec176c40..04bbd85962 100644 --- a/crates/circuits/primitives/src/range_gate/mod.rs +++ b/crates/circuits/primitives/src/range_gate/mod.rs @@ -82,7 +82,6 @@ impl Air for RangeCheckerGateAir { /// [0, MAX). In the trace, there is a counter column and a multiplicity /// column. The counter column is generated using a gate, as opposed to /// the other RangeCheckerChip. -#[derive(Debug)] pub struct RangeCheckerGateChip { pub air: RangeCheckerGateAir, pub count: Vec, diff --git a/crates/circuits/primitives/src/var_range/mod.rs b/crates/circuits/primitives/src/var_range/mod.rs index a0265cac67..8df350eb9d 100644 --- a/crates/circuits/primitives/src/var_range/mod.rs +++ b/crates/circuits/primitives/src/var_range/mod.rs @@ -94,7 +94,6 @@ impl Air for VariableRangeCheckerAir { } } -#[derive(Debug)] pub struct VariableRangeCheckerChip { pub air: VariableRangeCheckerAir, count: Vec, diff --git a/crates/circuits/sha256-air/src/tests.rs b/crates/circuits/sha256-air/src/tests.rs index 804d226a52..3f8ead2736 100644 --- a/crates/circuits/sha256-air/src/tests.rs +++ b/crates/circuits/sha256-air/src/tests.rs @@ -44,7 +44,6 @@ impl Air for Sha256TestAir { } // A wrapper Chip purely for testing purposes -#[derive(Debug)] pub struct Sha256TestChip { pub air: Sha256TestAir, pub bitwise_lookup_chip: Arc>, diff --git a/crates/vm/src/arch/testing/memory/mod.rs b/crates/vm/src/arch/testing/memory/mod.rs index 71e4cf9275..383352aa85 100644 --- a/crates/vm/src/arch/testing/memory/mod.rs +++ b/crates/vm/src/arch/testing/memory/mod.rs @@ -22,7 +22,6 @@ const WORD_SIZE: usize = 1; /// Stores a log of raw messages to send/receive to the [MemoryBus]. /// /// It will create a [air::MemoryDummyAir] to add messages to MemoryBus. -#[derive(Debug)] pub struct MemoryTester { pub bus: MemoryBus, pub controller: Rc>>, diff --git a/crates/vm/src/arch/testing/mod.rs b/crates/vm/src/arch/testing/mod.rs index 960a0e50ce..1388dd0986 100644 --- a/crates/vm/src/arch/testing/mod.rs +++ b/crates/vm/src/arch/testing/mod.rs @@ -61,7 +61,6 @@ pub const MEMORY_MERKLE_BUS: usize = 12; const RANGE_CHECKER_BUS: usize = 4; -#[derive(Debug)] pub struct VmChipTestBuilder { pub memory: MemoryTester, pub execution: ExecutionTester, @@ -300,7 +299,7 @@ where self = self.load(memory_tester); // dummy memory interactions { let air_proof_inputs = Rc::try_unwrap(memory_controller) - .unwrap() + .unwrap_or_else(|_| panic!("Memory controller was not dropped")) .into_inner() .generate_air_proof_inputs(); self.air_proof_inputs.extend( diff --git a/crates/vm/src/arch/testing/test_adapter.rs b/crates/vm/src/arch/testing/test_adapter.rs index d37bbb1eed..e0a88d67c9 100644 --- a/crates/vm/src/arch/testing/test_adapter.rs +++ b/crates/vm/src/arch/testing/test_adapter.rs @@ -22,7 +22,6 @@ use crate::{ // Replaces A: VmAdapterChip while testing VmCoreChip functionality, as it has no // constraints and thus cannot cause a failure. -#[derive(Debug)] pub struct TestAdapterChip { /// List of the return values of `preprocess` this chip should provide on each sequential call. pub prank_reads: VecDeque>, diff --git a/crates/vm/src/system/memory/adapter/mod.rs b/crates/vm/src/system/memory/adapter/mod.rs index 786f2fe0d2..8341b8a769 100644 --- a/crates/vm/src/system/memory/adapter/mod.rs +++ b/crates/vm/src/system/memory/adapter/mod.rs @@ -28,7 +28,6 @@ mod columns; #[cfg(test)] mod tests; -#[derive(Debug, Clone)] pub struct AccessAdapterInventory { chips: Vec>, air_names: Vec, @@ -165,7 +164,7 @@ pub trait GenericAccessAdapterChipTrait { F: PrimeField32; } -#[derive(Debug, Clone, Chip, ChipUsageGetter)] +#[derive(Chip, ChipUsageGetter)] #[enum_dispatch(GenericAccessAdapterChipTrait)] #[chip(where = "F: PrimeField32")] enum GenericAccessAdapterChip { @@ -197,7 +196,6 @@ impl GenericAccessAdapterChip { } } } -#[derive(Debug, Clone)] pub struct AccessAdapterChip { air: AccessAdapterAir, range_checker: Arc, diff --git a/crates/vm/src/system/memory/controller/interface.rs b/crates/vm/src/system/memory/controller/interface.rs index d8f28d53ed..9665447108 100644 --- a/crates/vm/src/system/memory/controller/interface.rs +++ b/crates/vm/src/system/memory/controller/interface.rs @@ -8,7 +8,6 @@ use crate::system::memory::{ }; #[allow(clippy::large_enum_variant)] -#[derive(Debug)] pub enum MemoryInterface { Volatile { boundary_chip: VolatileBoundaryChip, diff --git a/crates/vm/src/system/memory/controller/mod.rs b/crates/vm/src/system/memory/controller/mod.rs index fb2f5cd3e6..0170a93285 100644 --- a/crates/vm/src/system/memory/controller/mod.rs +++ b/crates/vm/src/system/memory/controller/mod.rs @@ -84,7 +84,7 @@ pub type TimestampedEquipartition = /// If a key is not present in the map, then the block is uninitialized (and therefore zero). pub type Equipartition = BTreeMap<(u32, u32), [F; N]>; -#[derive(Debug, Getters)] +#[derive(Getters)] pub struct MemoryController { pub memory_bus: MemoryBus, pub interface_chip: MemoryInterface, @@ -691,7 +691,6 @@ impl MemoryController { } } -#[derive(Clone, Debug)] pub struct MemoryAuxColsFactory { pub(crate) range_checker: Arc, pub(crate) timestamp_lt_air: AssertLtSubAir, diff --git a/crates/vm/src/system/memory/merkle/mod.rs b/crates/vm/src/system/memory/merkle/mod.rs index 315b351380..c0a74d32e2 100644 --- a/crates/vm/src/system/memory/merkle/mod.rs +++ b/crates/vm/src/system/memory/merkle/mod.rs @@ -14,7 +14,6 @@ pub use columns::*; #[cfg(test)] mod tests; -#[derive(Debug)] pub struct MemoryMerkleChip { pub air: MemoryMerkleAir, touched_nodes: FxHashSet<(usize, u32, u32)>, diff --git a/crates/vm/src/system/memory/offline.rs b/crates/vm/src/system/memory/offline.rs index bb3b4d6aee..6e61d85f10 100644 --- a/crates/vm/src/system/memory/offline.rs +++ b/crates/vm/src/system/memory/offline.rs @@ -33,7 +33,6 @@ pub struct MemoryRecord { pub prev_data: Option>, } -#[derive(Debug)] pub struct OfflineMemory { block_data: FxHashMap, data: FxHashMap, diff --git a/crates/vm/src/system/memory/persistent.rs b/crates/vm/src/system/memory/persistent.rs index cc57822ad1..521802a396 100644 --- a/crates/vm/src/system/memory/persistent.rs +++ b/crates/vm/src/system/memory/persistent.rs @@ -120,7 +120,6 @@ impl Air for PersistentBoundaryA } } -#[derive(Debug)] pub struct PersistentBoundaryChip { pub air: PersistentBoundaryAir, touched_labels: TouchedLabels, diff --git a/crates/vm/src/system/memory/volatile/mod.rs b/crates/vm/src/system/memory/volatile/mod.rs index 05e5f4ef40..074fe6fe18 100644 --- a/crates/vm/src/system/memory/volatile/mod.rs +++ b/crates/vm/src/system/memory/volatile/mod.rs @@ -130,7 +130,6 @@ impl Air for VolatileBoundaryAir { } } -#[derive(Debug)] pub struct VolatileBoundaryChip { pub air: VolatileBoundaryAir, touched_addresses: FxHashSet<(u32, u32)>, diff --git a/extensions/algebra/circuit/src/modular_chip/is_eq.rs b/extensions/algebra/circuit/src/modular_chip/is_eq.rs index 2545afb2dc..125225e8c1 100644 --- a/extensions/algebra/circuit/src/modular_chip/is_eq.rs +++ b/extensions/algebra/circuit/src/modular_chip/is_eq.rs @@ -245,7 +245,6 @@ pub struct ModularIsEqualCoreRecord { pub c_diff_idx: usize, } -#[derive(Debug)] pub struct ModularIsEqualCoreChip< const READ_LIMBS: usize, const WRITE_LIMBS: usize, diff --git a/extensions/keccak256/circuit/src/lib.rs b/extensions/keccak256/circuit/src/lib.rs index 97346886e9..04ca9e45f4 100644 --- a/extensions/keccak256/circuit/src/lib.rs +++ b/extensions/keccak256/circuit/src/lib.rs @@ -67,7 +67,6 @@ pub const KECCAK_DIGEST_BYTES: usize = 32; /// Number of 64-bit digest limbs. pub const KECCAK_DIGEST_U64S: usize = KECCAK_DIGEST_BYTES / 8; -#[derive(Debug)] pub struct KeccakVmChip { pub air: KeccakVmAir, /// IO and memory data necessary for each opcode call diff --git a/extensions/native/circuit/src/castf/core.rs b/extensions/native/circuit/src/castf/core.rs index dca15b2e47..820bb82c0e 100644 --- a/extensions/native/circuit/src/castf/core.rs +++ b/extensions/native/circuit/src/castf/core.rs @@ -101,7 +101,6 @@ pub struct CastFRecord { pub out_val: [F; RV32_REGISTER_NUM_LIMBS], } -#[derive(Debug)] pub struct CastFCoreChip { pub air: CastFCoreAir, pub range_checker_chip: Arc, diff --git a/extensions/native/circuit/src/field_arithmetic/core.rs b/extensions/native/circuit/src/field_arithmetic/core.rs index 015aa4bebb..6d518b5976 100644 --- a/extensions/native/circuit/src/field_arithmetic/core.rs +++ b/extensions/native/circuit/src/field_arithmetic/core.rs @@ -109,7 +109,6 @@ pub struct FieldArithmeticRecord { pub c: F, } -#[derive(Debug)] pub struct FieldArithmeticCoreChip { pub air: FieldArithmeticCoreAir, } diff --git a/extensions/native/circuit/src/field_extension/core.rs b/extensions/native/circuit/src/field_extension/core.rs index 9a283168ba..96bb3d8c78 100644 --- a/extensions/native/circuit/src/field_extension/core.rs +++ b/extensions/native/circuit/src/field_extension/core.rs @@ -137,7 +137,6 @@ pub struct FieldExtensionRecord { pub z: [F; EXT_DEG], } -#[derive(Debug)] pub struct FieldExtensionCoreChip { pub air: FieldExtensionCoreAir, } diff --git a/extensions/native/circuit/src/jal/core.rs b/extensions/native/circuit/src/jal/core.rs index 8e8d101677..4f021dfcee 100644 --- a/extensions/native/circuit/src/jal/core.rs +++ b/extensions/native/circuit/src/jal/core.rs @@ -69,7 +69,6 @@ pub struct JalRecord { pub imm: F, } -#[derive(Debug)] pub struct JalCoreChip { pub air: JalCoreAir, } diff --git a/extensions/native/circuit/src/poseidon2/chip.rs b/extensions/native/circuit/src/poseidon2/chip.rs index 13fa601047..7f7e98df9e 100644 --- a/extensions/native/circuit/src/poseidon2/chip.rs +++ b/extensions/native/circuit/src/poseidon2/chip.rs @@ -24,7 +24,6 @@ use super::{ NATIVE_POSEIDON2_WIDTH, }; -#[derive(Debug)] pub struct NativePoseidon2BaseChip { pub air: Arc>, pub subchip: Poseidon2SubChip, diff --git a/extensions/rv32-adapters/src/eq_mod.rs b/extensions/rv32-adapters/src/eq_mod.rs index 51ce916290..6ea8e62fef 100644 --- a/extensions/rv32-adapters/src/eq_mod.rs +++ b/extensions/rv32-adapters/src/eq_mod.rs @@ -226,7 +226,6 @@ impl< } } -#[derive(Debug)] pub struct Rv32IsEqualModAdapterChip< F: Field, const NUM_READS: usize, diff --git a/extensions/rv32-adapters/src/heap.rs b/extensions/rv32-adapters/src/heap.rs index 215263611b..857c9b6caa 100644 --- a/extensions/rv32-adapters/src/heap.rs +++ b/extensions/rv32-adapters/src/heap.rs @@ -102,7 +102,6 @@ impl< } } -#[derive(Debug)] pub struct Rv32HeapAdapterChip< F: Field, const NUM_READS: usize, diff --git a/extensions/rv32-adapters/src/heap_branch.rs b/extensions/rv32-adapters/src/heap_branch.rs index b1b97eb9d2..66d03b4414 100644 --- a/extensions/rv32-adapters/src/heap_branch.rs +++ b/extensions/rv32-adapters/src/heap_branch.rs @@ -166,7 +166,6 @@ impl VmA } } -#[derive(Debug)] pub struct Rv32HeapBranchAdapterChip { pub air: Rv32HeapBranchAdapterAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/rv32-adapters/src/vec_heap.rs b/extensions/rv32-adapters/src/vec_heap.rs index 0da4d506fd..67c11aa6b2 100644 --- a/extensions/rv32-adapters/src/vec_heap.rs +++ b/extensions/rv32-adapters/src/vec_heap.rs @@ -46,7 +46,7 @@ use openvm_stark_backend::{ /// (and `rs[1]` if `R = 2`). /// * Writes take the form of `BLOCKS_PER_WRITE` consecutive writes of /// size `WRITE_SIZE` to the heap, starting from the address in `rd`. -#[derive(Debug, Clone)] +#[derive(Clone)] pub struct Rv32VecHeapAdapterChip< F: Field, const NUM_READS: usize, diff --git a/extensions/rv32-adapters/src/vec_heap_two_reads.rs b/extensions/rv32-adapters/src/vec_heap_two_reads.rs index d3addf938c..8fba2b3007 100644 --- a/extensions/rv32-adapters/src/vec_heap_two_reads.rs +++ b/extensions/rv32-adapters/src/vec_heap_two_reads.rs @@ -46,7 +46,6 @@ use openvm_stark_backend::{ /// * NOTE that the two reads can read different numbers of blocks. /// * Writes take the form of `BLOCKS_PER_WRITE` consecutive writes of /// size `WRITE_SIZE` to the heap, starting from the address in `rd`. -#[derive(Debug)] pub struct Rv32VecHeapTwoReadsAdapterChip< F: Field, const BLOCKS_PER_READ1: usize, diff --git a/extensions/rv32im/circuit/src/adapters/hintstore.rs b/extensions/rv32im/circuit/src/adapters/hintstore.rs index e6d6e9f9a6..63df2fe62e 100644 --- a/extensions/rv32im/circuit/src/adapters/hintstore.rs +++ b/extensions/rv32im/circuit/src/adapters/hintstore.rs @@ -37,7 +37,6 @@ use crate::adapters::RV32_CELL_BITS; /// This chip reads rs1 and gets a intermediate memory pointer address with rs1 + imm. /// It writes to the memory at the intermediate pointer. -#[derive(Debug)] pub struct Rv32HintStoreAdapterChip { pub air: Rv32HintStoreAdapterAir, pub range_checker_chip: Arc, diff --git a/extensions/rv32im/circuit/src/adapters/loadstore.rs b/extensions/rv32im/circuit/src/adapters/loadstore.rs index e408358273..de43a13573 100644 --- a/extensions/rv32im/circuit/src/adapters/loadstore.rs +++ b/extensions/rv32im/circuit/src/adapters/loadstore.rs @@ -91,7 +91,6 @@ impl VmAdapterInterface for Rv32LoadStoreAdapt /// This chip reads rs1 and gets a intermediate memory pointer address with rs1 + imm. /// In case of Loads, reads from the shifted intermediate pointer and writes to rd. /// In case of Stores, reads from rs2 and writes to the shifted intermediate pointer. -#[derive(Debug)] pub struct Rv32LoadStoreAdapterChip { pub air: Rv32LoadStoreAdapterAir, pub range_checker_chip: Arc, diff --git a/extensions/rv32im/circuit/src/auipc/core.rs b/extensions/rv32im/circuit/src/auipc/core.rs index b2daf75480..03a518bd5b 100644 --- a/extensions/rv32im/circuit/src/auipc/core.rs +++ b/extensions/rv32im/circuit/src/auipc/core.rs @@ -132,7 +132,6 @@ pub struct Rv32AuipcCoreRecord { pub rd_data: [F; RV32_REGISTER_NUM_LIMBS], } -#[derive(Debug)] pub struct Rv32AuipcCoreChip { pub air: Rv32AuipcCoreAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/rv32im/circuit/src/base_alu/core.rs b/extensions/rv32im/circuit/src/base_alu/core.rs index 448dc988e9..ce15fe78cd 100644 --- a/extensions/rv32im/circuit/src/base_alu/core.rs +++ b/extensions/rv32im/circuit/src/base_alu/core.rs @@ -165,7 +165,6 @@ pub struct BaseAluCoreRecord pub c: [T; NUM_LIMBS], } -#[derive(Debug)] pub struct BaseAluCoreChip { pub air: BaseAluCoreAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/rv32im/circuit/src/branch_lt/core.rs b/extensions/rv32im/circuit/src/branch_lt/core.rs index c10bcc17a8..8e68dce20e 100644 --- a/extensions/rv32im/circuit/src/branch_lt/core.rs +++ b/extensions/rv32im/circuit/src/branch_lt/core.rs @@ -187,7 +187,6 @@ pub struct BranchLessThanCoreRecord { pub air: BranchLessThanCoreAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/rv32im/circuit/src/divrem/core.rs b/extensions/rv32im/circuit/src/divrem/core.rs index cf7e30fdfc..2d157c023d 100644 --- a/extensions/rv32im/circuit/src/divrem/core.rs +++ b/extensions/rv32im/circuit/src/divrem/core.rs @@ -304,7 +304,6 @@ where } } -#[derive(Debug)] pub struct DivRemCoreChip { pub air: DivRemCoreAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/rv32im/circuit/src/hintstore/core.rs b/extensions/rv32im/circuit/src/hintstore/core.rs index 1dc0495340..971889ca86 100644 --- a/extensions/rv32im/circuit/src/hintstore/core.rs +++ b/extensions/rv32im/circuit/src/hintstore/core.rs @@ -91,7 +91,6 @@ where } } -#[derive(Debug)] pub struct Rv32HintStoreCoreChip { pub air: Rv32HintStoreCoreAir, pub streams: OnceLock>>>, diff --git a/extensions/rv32im/circuit/src/jal_lui/core.rs b/extensions/rv32im/circuit/src/jal_lui/core.rs index 65de3a8116..2ce9b80876 100644 --- a/extensions/rv32im/circuit/src/jal_lui/core.rs +++ b/extensions/rv32im/circuit/src/jal_lui/core.rs @@ -140,7 +140,6 @@ pub struct Rv32JalLuiCoreRecord { pub is_lui: bool, } -#[derive(Debug)] pub struct Rv32JalLuiCoreChip { pub air: Rv32JalLuiCoreAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/rv32im/circuit/src/jalr/core.rs b/extensions/rv32im/circuit/src/jalr/core.rs index 0591ddef33..1aaacca566 100644 --- a/extensions/rv32im/circuit/src/jalr/core.rs +++ b/extensions/rv32im/circuit/src/jalr/core.rs @@ -170,7 +170,6 @@ where } } -#[derive(Debug)] pub struct Rv32JalrCoreChip { pub air: Rv32JalrCoreAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/rv32im/circuit/src/less_than/core.rs b/extensions/rv32im/circuit/src/less_than/core.rs index 977cfa2a20..3a9ebb089b 100644 --- a/extensions/rv32im/circuit/src/less_than/core.rs +++ b/extensions/rv32im/circuit/src/less_than/core.rs @@ -163,7 +163,6 @@ pub struct LessThanCoreRecord pub diff_idx: usize, } -#[derive(Debug)] pub struct LessThanCoreChip { pub air: LessThanCoreAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/rv32im/circuit/src/load_sign_extend/core.rs b/extensions/rv32im/circuit/src/load_sign_extend/core.rs index 1e55af7f67..165aa1d767 100644 --- a/extensions/rv32im/circuit/src/load_sign_extend/core.rs +++ b/extensions/rv32im/circuit/src/load_sign_extend/core.rs @@ -169,7 +169,6 @@ where } } -#[derive(Debug)] pub struct LoadSignExtendCoreChip { pub air: LoadSignExtendCoreAir, pub range_checker_chip: Arc, diff --git a/extensions/rv32im/circuit/src/mulh/core.rs b/extensions/rv32im/circuit/src/mulh/core.rs index 5dfe2db760..765b880611 100644 --- a/extensions/rv32im/circuit/src/mulh/core.rs +++ b/extensions/rv32im/circuit/src/mulh/core.rs @@ -176,7 +176,6 @@ where } } -#[derive(Debug)] pub struct MulHCoreChip { pub air: MulHCoreAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/rv32im/circuit/src/shift/core.rs b/extensions/rv32im/circuit/src/shift/core.rs index dd75f554e6..b310cc4bad 100644 --- a/extensions/rv32im/circuit/src/shift/core.rs +++ b/extensions/rv32im/circuit/src/shift/core.rs @@ -242,7 +242,6 @@ pub struct ShiftCoreRecord { pub b_sign: T, } -#[derive(Debug)] pub struct ShiftCoreChip { pub air: ShiftCoreAir, pub bitwise_lookup_chip: Arc>, diff --git a/extensions/sha256/circuit/src/sha256_chip/mod.rs b/extensions/sha256/circuit/src/sha256_chip/mod.rs index 6b460910d2..d3ddddbc36 100644 --- a/extensions/sha256/circuit/src/sha256_chip/mod.rs +++ b/extensions/sha256/circuit/src/sha256_chip/mod.rs @@ -44,7 +44,6 @@ const SHA256_WRITE_SIZE: usize = 32; pub const SHA256_BLOCK_CELLS: usize = SHA256_BLOCK_BITS / RV32_CELL_BITS; /// Number of rows we will do a read on for each SHA256 block pub const SHA256_NUM_READ_ROWS: usize = SHA256_BLOCK_CELLS / SHA256_READ_SIZE; -#[derive(Debug)] pub struct Sha256VmChip { pub air: Sha256VmAir, /// IO and memory data necessary for each opcode call