Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
add vxsat to supported csr_regs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yung-Ching Hsiao committed Feb 9, 2022
1 parent 9284102 commit cc19a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions riscv_isac/coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ def __init__ (self, xlen):
"scause": int('142',16),
"stval": int('143',16),
"sip": int('144',16),
"satp": int('180',16)
"satp": int('180',16),
"vxsat": int('009',16)
}
for i in range(16):
self.csr_regs["pmpaddr"+str(i)] = int('3B0',16)+i
Expand Down Expand Up @@ -289,7 +290,6 @@ def __init__ (self, xlen, flen):
else:
self.f_rf = ['0000000000000000']*32
self.fcsr = 0
self.vxsat = 0
self.pc = 0

class statistics:
Expand Down

0 comments on commit cc19a86

Please sign in to comment.