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

ecall/halt #125

Closed
Tracked by #95
kunxian-xia opened this issue Aug 14, 2024 · 1 comment · Fixed by #258
Closed
Tracked by #95

ecall/halt #125

kunxian-xia opened this issue Aug 14, 2024 · 1 comment · Fixed by #258
Assignees

Comments

@kunxian-xia
Copy link
Collaborator

kunxian-xia commented Aug 14, 2024

some random notes

  • once halt, then all the following opcode sequence will be halts

  • questions: do we need to add pc < MAX_PC to all opcode circuit to assure pc value always within range?

@kunxian-xia kunxian-xia moved this to Todo in Ceno - Base VM Aug 15, 2024
@kunxian-xia kunxian-xia self-assigned this Sep 11, 2024
@kunxian-xia kunxian-xia linked a pull request Sep 19, 2024 that will close this issue
@kunxian-xia kunxian-xia linked a pull request Sep 24, 2024 that will close this issue
3 tasks
@kunxian-xia kunxian-xia mentioned this issue Sep 24, 2024
3 tasks
@naure
Copy link
Collaborator

naure commented Sep 25, 2024

do we need to add pc < MAX_PC

Every instruction circuit must look up pc in the program table, which contains only valid pc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants