-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Description
Describe the bug
When executing the instruction csrrw zero, mstatus, sx, a discrepancy is observed in the XS[1:0], MBE, and SBE fields of the mcause CSR between XIANGSHAN NEMU and GEM5. In XIANGSHAN NEMU, these fields are read only zero, whereas in GEM5, they are not.
To Reproduce
bin file path:/nfs/home/liuhaoyuan/GEM5/img_file/seeds_999_.img or any bin file contains "csrrw zero, mstatus, sx"
Expected behavior
difftest fail

Necessary information on versions
- XS-GEM5 version: [newest ]
- NEMU version used as reference design: ["/nfs/home/share/gem5_ci/ref/normal/riscv64-nemu-interpreter-so"]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels