Skip to content

Commit

Permalink
Add menvcfgh to csr_name_map
Browse files Browse the repository at this point in the history
This was missed when menvcfg[h] was added.
  • Loading branch information
Timmmm authored Oct 16, 2024
1 parent 2b65a0d commit eddd83e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/riscv_csr_begin.sail
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit eddd83e

Please sign in to comment.