Skip to content

Conversation

@radik878
Copy link
Contributor

The address layout comment in MemoryInstructionsColumns was misleading: it referenced an addr_offset field that doesn’t exist and implied the relationship still needed AIR verification. This change updates the comment to reflect the actual constraints used in the AIR (including the addr_word[0] & 0b11 lookup), so future edits don’t rely on outdated assumptions.

/// The relationships among `addr_word`, `addr_aligned`, and `addr_ls_two_bits` are as follows:
/// `addr_ls_two_bits` is the least significant two bits of the unaligned address.
/// `addr_aligned` is the aligned base address.
/// In the AIR, we constrain `reduce(addr_word) = addr_aligned + addr_ls_two_bits` and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain reduce here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants