From eddd83e78ba84e1af76ede37bce25fddae57bec6 Mon Sep 17 00:00:00 2001 From: Tim Hutt Date: Wed, 16 Oct 2024 09:16:40 +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"