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

zkasm: add infrastructure for address → slot → address translations #43

Open
Tracked by #180
nagisa opened this issue Oct 9, 2023 · 1 comment
Open
Tracked by #180

Comments

@nagisa
Copy link
Collaborator

nagisa commented Oct 9, 2023

In zkASM memory is addressed in word/register-sized slots rather than bytes. There are quite a few places where we will receive bytes in the backend and will want to convert to slots, or places where we need to supply bytes but have slot count at hand. We should add methods/functions to implement these conversions so that they don't need to be open coded every time a need to convert arises.

@aborg-dev
Copy link

See #186 (comment) for our plan on enabling slot addressing for stack.

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

No branches or pull requests

2 participants