Skip to content
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

feat: instruction trace padding #62

Merged
merged 5 commits into from
Nov 13, 2024
Merged

Conversation

zmalatrax
Copy link
Collaborator

Closes #53

It also includes a small refactor of the instruction table test, moving instructions to a variable as they are used multiple times.
For consistency, I've also done it in the test test_instruction_table_program_unused_instruction for both instructions that are used once.

I feel like it is clearer this way: one could read the ci/ni fields and know what the program does, and we clearly see the multiplicity of instructions $m + 1$ where $m$ is the number of times an instruction is executed.

@tcoratger tcoratger merged commit 3f676a9 into main Nov 13, 2024
6 checks passed
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.

feat: pad Instruction component trace to a power of 2
2 participants