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

add program table circuit #110

Closed
Tracked by #95
kunxian-xia opened this issue Aug 9, 2024 · 0 comments · Fixed by #210
Closed
Tracked by #95

add program table circuit #110

kunxian-xia opened this issue Aug 9, 2024 · 0 comments · Fixed by #210
Assignees

Comments

@kunxian-xia
Copy link
Collaborator

kunxian-xia commented Aug 9, 2024

The program table for simple fibonacci program should looks like

pc opcode is_rs1_imm is_rs2_imm rs1 rs2 rd sext(imm)
0x2000_0000 addi false true 0 - 1 10
0x2000_0004 addi false true 0 - 3 1
0x2000_0008 addi false true 1 - 1 -1
0x2000_000c add false false 2 3 2 -
0x2000_0010 add false false 2 3 3 -
0x2000_0014 bne false false 0 1 - -0x0c
0x2000_0018 ecall/halt
@kunxian-xia kunxian-xia moved this to Todo in Ceno - Base VM Aug 9, 2024
@kunxian-xia kunxian-xia moved this from Todo to In Progress in Ceno - Base VM Sep 11, 2024
@naure naure mentioned this issue Sep 11, 2024
@kunxian-xia kunxian-xia linked a pull request Sep 12, 2024 that will close this issue
kunxian-xia pushed a commit that referenced this issue Sep 14, 2024
_Issue #110._

---------

Co-authored-by: Aurélien Nicolas <[email protected]>
@github-project-automation github-project-automation bot moved this from In Progress to Done in Ceno - Base VM Sep 14, 2024
hero78119 pushed a commit that referenced this issue Sep 30, 2024
_Issue #110._

---------

Co-authored-by: Aurélien Nicolas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants