Check PCC bounds in rename.

This commit is contained in:
jon
2020-04-28 19:08:07 +01:00
parent 68d4afa8c9
commit d3e0908785
7 changed files with 40 additions and 34 deletions

View File

@@ -65,7 +65,7 @@ typedef enum {
typedef struct {
Bit #(6) cheri_exc_reg;
CHERIException cheri_exc_code;
} CSR_XCapCause deriving(Bits, FShow);
} CSR_XCapCause deriving(Bits, Eq, FShow);
CSR_XCapCause noCapCause = CSR_XCapCause {cheri_exc_code: None,
cheri_exc_reg: unpack(0)};