aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2023-07-25 22:51:51 -0700
committerGitHub <noreply@github.com>2023-07-25 22:51:51 -0700
commit6790b30030fb77da399788665a17c45be41ffbc7 (patch)
tree5baa6d70e0d18ccbe73665786641687a5c91a286
parent64e0c2f8f062ba9f199215da73c8acb8c3de3055 (diff)
parentd65b6e76c0ef80ee9a408841566d39c721a0ecd4 (diff)
downloadriscv-opcodes-6790b30030fb77da399788665a17c45be41ffbc7.zip
riscv-opcodes-6790b30030fb77da399788665a17c45be41ffbc7.tar.gz
riscv-opcodes-6790b30030fb77da399788665a17c45be41ffbc7.tar.bz2
Merge pull request #181 from rivosinc/add_smcntrpmf_csrs
Add Smcntrpmf CSRs
-rw-r--r--constants.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/constants.py b/constants.py
index d345454..6678cff 100644
--- a/constants.py
+++ b/constants.py
@@ -348,6 +348,8 @@ csrs = [
(0xB1D, 'mhpmcounter29'),
(0xB1E, 'mhpmcounter30'),
(0xB1F, 'mhpmcounter31'),
+ (0x321, 'mcyclecfg'),
+ (0x322, 'minstretcfg'),
(0x323, 'mhpmevent3'),
(0x324, 'mhpmevent4'),
(0x325, 'mhpmevent5'),
@@ -455,6 +457,8 @@ csrs32 = [
(0x31E, 'mstateen2h'), # Smstateen
(0x31F, 'mstateen3h'), # Smstateen
(0x354, 'miph'),
+ (0x721, 'mcyclecfgh'),
+ (0x722, 'minstretcfgh'),
(0x723, 'mhpmevent3h'), # Sscofpmf
(0x724, 'mhpmevent4h'), # Sscofpmf
(0x725, 'mhpmevent5h'), # Sscofpmf