Skip to content

Commit

Permalink
replace vxrm with vcsr[vxrm]
Browse files Browse the repository at this point in the history
  • Loading branch information
Yui5427 committed Sep 29, 2024
1 parent 54e016c commit 207bfcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/riscv_sys_control.sail
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ function init_sys() -> unit = {
*/
vstart = zero_extend(0b0);
vl = zero_extend(0b0);
vcsr[vxrm] = vxrm;
vcsr[vxsat] = vxsat;
vcsr[vxrm] = 0b00;
vcsr[vxsat] = 0b0;
vtype[vill] = 0b1;
vtype[reserved] = zero_extend(0b0);
vtype[vma] = 0b0;
Expand Down

0 comments on commit 207bfcc

Please sign in to comment.