diff options
| author | Alasdair Armstrong | 2018-01-25 15:38:13 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-01-25 15:38:13 +0000 |
| commit | 10526d3d18bb6332dba8f5bfe00cf0e891461bed (patch) | |
| tree | 4caba568d04f9f9858958a9b679723163194dd26 /riscv | |
| parent | f0f981b5158cb3c1ac0ad09a4ba75947acd4c4d0 (diff) | |
| parent | 9f5e506f8d9283419046fb1ee117ab3dc07474e7 (diff) | |
Merge branch 'sail2' of https://bitbucket.org/Peter_Sewell/sail into sail2
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 |
