From 207bfcce5783a373a8edae30e457e15cb7762dbf Mon Sep 17 00:00:00 2001 From: Yui5427 <785369607@qq.com> Date: Sun, 29 Sep 2024 11:26:50 +0800 Subject: [PATCH] replace vxrm with vcsr[vxrm] --- model/riscv_sys_control.sail | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/riscv_sys_control.sail b/model/riscv_sys_control.sail index a3ee54996..82b458740 100644 --- a/model/riscv_sys_control.sail +++ b/model/riscv_sys_control.sail @@ -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;