[Bug Report] sd bit does not update immediately #917
Labels
Component:RTL
For issues in the RTL (e.g. for files in the rtl directory)
Status:Wont-fix
Issue will not be fixed
Type:Bug
For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Our co-simulation framework found that the mstatus.sd field does not update immediately after mstatus.fs field is dirty.
In the following test case, we set mstatus.fs field to initial(0b01), and then execute a float-point instruction. After the float-point instruction, we read the value in mastatus. We found that cva6 successfully sets fs to dirty while sd is still zero.
According to riscv-privileged specification:
cva6-10.zip
The text was updated successfully, but these errors were encountered: