Closed ved-rivos closed 11 months ago
Errors without correct location information are bugs I would like to fix. If you could provide concrete steps to reproduce I would appreciate it.
@Alasdair - this can be reproduced with the following change:
diff --git a/model/riscv_sys_regs.sail b/model/riscv_sys_regs.sail
index f472ca2..b155114 100644
--- a/model/riscv_sys_regs.sail
+++ b/model/riscv_sys_regs.sail
@@ -221,8 +221,8 @@ bitfield Mstatush : bits(32) = {
}
register mstatush : Mstatush
-bitfield Mstatus : xlenbits = {
- SD : xlen - 1,
+bitfield Mstatus : bits(63) = {
+ SD : 63,
I am hitting this "Type error" but there is no indication about what its complaining about. Please help.