diff options
| author | Robert Norton | 2018-01-25 15:28:31 +0000 |
|---|---|---|
| committer | Robert Norton | 2018-01-25 15:28:37 +0000 |
| commit | 9f5e506f8d9283419046fb1ee117ab3dc07474e7 (patch) | |
| tree | 64576aa4a321f858cee50fcf3947db1f12e323e0 /riscv | |
| parent | c3f6cb4a3d69fb6c9becdd152f40ca236e3b82b7 (diff) | |
riscv: remove case for non-existent constructor in match that was being treated as pattern making _ never match :-(
Diffstat (limited to 'riscv')
| -rw-r--r-- | riscv/riscv.sail | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/riscv/riscv.sail b/riscv/riscv.sail index 333eae94..beb29327 100644 --- a/riscv/riscv.sail +++ b/riscv/riscv.sail @@ -428,7 +428,6 @@ function clause execute CSR(csr, rs1, rd, is_imm, op) = let rs1_val : bits(64) = if is_imm then EXTZ(rs1) else rGPR(rs1) in let isWrite : bool = match op { CSRRW => true, - CSRRWI => true, _ => if is_imm then unsigned(rs1_val) != 0 else unsigned(rs1) != 0 } in if ~ (isCSRImplemented(csr) & haveCSRPriv(csr, isWrite)) then |
