Skip to content

Commit a2a49a9

Browse files
committed
fix: make csr address at most MXLEN bits
1 parent f13a222 commit a2a49a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/isa/builtin_functions.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ struct Csr {
3333
Boolean valid;
3434
String name;
3535
CsrAddressType addr_type;
36-
Bits<64> address;
36+
Bits<MXLEN> address;
3737
PrivilegeMode mode;
3838
Boolean writable;
3939
}

0 commit comments

Comments
 (0)