-
Notifications
You must be signed in to change notification settings - Fork 0
Spec/memw update #434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Spec/memw update #434
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f38c1c7
spec/memw: read/write from/to -> read from/write to
erik-3milabs 677b166
spec/memw: rename add_limb_overflow as carry
erik-3milabs ad3f093
spec/memw: minor var desc updates
erik-3milabs 109489b
spec/memw: remove superfluous minus symbol
erik-3milabs 03a2338
spec/memw: update description
erik-3milabs b8fc0b7
spec/memw_a: minor optimization
erik-3milabs b6b00c6
Apply suggestions from code review
erik-3milabs a099bbd
spec/MEMW: fix interaction typing
erik-3milabs 448555d
spec/MEMW: drop superfluous notes
erik-3milabs 4936d8c
spec/MEMW: update alignment requirement
erik-3milabs 0e3d0f8
spec/MEMW: intentionally separate carry's prose and .toml descriptions
erik-3milabs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Low – Off-by-one in
carrydescriptionThe prose says the carry bit indicates whether
base_address_0 + i >= 2^32, but the polynomial definition inmemw.tomlcomputesaddress_add[i] = base_address + (i + 1), so the carry is used to absorb overflow ofbase_address[0] + i + 1. The.tomldescription correctly saysbase_address[0] + i + 1 >= 2^32.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
iin the prose does not match the one in the toml. I've updated the prose to better illustrate the difference.