Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/core/machine/src/alu/divrem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ pub struct DivRemCols<T> {
/// Column to modify multiplicity for remainder range check event.
pub remainder_check_multiplicity: T,

/// Access to hi regiter
/// Access to hi register
pub op_hi_access: MemoryReadWriteCols<T>,

/// The shard number.
Expand Down Expand Up @@ -232,7 +232,7 @@ impl<F: PrimeField32> MachineAir<F> for DivRemChip {
cols.is_div = F::from_bool(event.opcode == Opcode::DIV);
cols.is_c_0.populate(event.c);

// DivRem Chip is only used for DIV and DIVU instruction currrently.
// DivRem Chip is only used for DIV and DIVU instruction currently.
let mut blu_events: Vec<ByteLookupEvent> = vec![];
cols.op_hi_access
.populate(MemoryRecordEnum::Write(event.hi_record), &mut blu_events);
Expand Down Expand Up @@ -710,7 +710,7 @@ where
local.is_divu * divu + local.is_div * div
};

// DivRem Chip is only used for DIV and DIVU instruction currrently. So is_write_hi will always be ture.
// DivRem Chip is only used for DIV and DIVU instruction currently. So is_write_hi will always be ture.
builder.receive_instruction(
local.shard,
local.clk,
Expand Down