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

[bug] 访问private memory时,spike执行错误 #8

Open
oywd opened this issue Sep 19, 2023 · 0 comments
Open

[bug] 访问private memory时,spike执行错误 #8

oywd opened this issue Sep 19, 2023 · 0 comments

Comments

@oywd
Copy link
Collaborator

oywd commented Sep 19, 2023

spike中,访问private memory时会使用vlb.v和vsb.v指令。
vsb指令的imm为指令的[30:25] | [11:7]。
但是目前spike中使用v_simm11去取imm的值,v_simm11是取指令的[30:20]位。
所以需要改为v_s_simm11进行取imm操作。
同理vsw,vsh都需要做此修改。

已修复,之后上传git。

@oywd oywd changed the title vloadn 访问private memory时,spike执行错误 [bug] 访问private memory时,spike执行错误 Sep 19, 2023
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

1 participant