From 6a6037ba431d263784d4342788bd685626f74633 Mon Sep 17 00:00:00 2001 From: Tim Hutt Date: Fri, 11 Oct 2024 13:44:03 +0100 Subject: [PATCH] Add menvcfgh to csr_name_map This was missed when menvcfg[h] was added. --- model/riscv_csr_begin.sail | 1 + 1 file changed, 1 insertion(+) diff --git a/model/riscv_csr_begin.sail b/model/riscv_csr_begin.sail index 29ff4eed8..0e67746cf 100644 --- a/model/riscv_csr_begin.sail +++ b/model/riscv_csr_begin.sail @@ -132,6 +132,7 @@ mapping clause csr_name_map = 0x306 <-> "mcounteren" mapping clause csr_name_map = 0x320 <-> "mcountinhibit" /* machine envcfg */ mapping clause csr_name_map = 0x30A <-> "menvcfg" +mapping clause csr_name_map = 0x31A <-> "menvcfgh" /* hardware performance counter event selection */ mapping clause csr_name_map = 0x323 <-> "mhpmevent3" mapping clause csr_name_map = 0x324 <-> "mhpmevent4"