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

0x5C5-0x5E5在香山中为cache instruction register,这部分好像NEMU中没有对应实现? #334

Open
prjmoriarty opened this issue May 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@prjmoriarty
Copy link

prjmoriarty commented May 13, 2024

在测试RISCV-DV生成的随机指令时,指令通过csrrc读取了0x5d2这个地址,但是在NEMU中出现了非法指令异常导致比对出错
通过查询Xiangshan的chisel代码发现0x5c5-0x5e5为自定义的cache instruction register,NEMU是否需要把这段地址设为合法地址?
0x5d5log
0x5d5instr
0x5d5code

@cebarobot
Copy link
Member

是的,这部分 CSR 应当跳过比对,我们稍后会做适当修复。

@cebarobot cebarobot added the bug Something isn't working label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants