aboutsummaryrefslogtreecommitdiff
path: root/model/riscv_sys_regs.sail
diff options
context:
space:
mode:
Diffstat (limited to 'model/riscv_sys_regs.sail')
-rw-r--r--model/riscv_sys_regs.sail4
1 files changed, 4 insertions, 0 deletions
diff --git a/model/riscv_sys_regs.sail b/model/riscv_sys_regs.sail
index 6c66492..3537abc 100644
--- a/model/riscv_sys_regs.sail
+++ b/model/riscv_sys_regs.sail
@@ -161,6 +161,10 @@ function haveZknd() -> bool = true
function haveZmmul() -> bool = true
+/* A extension sub-extensions */
+function haveZaamo() -> bool = haveAtomics()
+function haveZalrsc() -> bool = haveAtomics()
+
/* Zicond extension support */
function haveZicond() -> bool = true