mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-20 03:47:20 -04:00
tests/coverage/tlbmisc.S
This commit is contained in:
parent
fd181169fe
commit
ed9fa07ba3
1 changed files with 2 additions and 2 deletions
|
@ -160,9 +160,9 @@ module csrs import cvw::*; #(parameter cvw_t P) (
|
|||
CSRSReadValM = 0;
|
||||
IllegalCSRSAccessM = 1;
|
||||
end
|
||||
STIMECMPH: if (STCE)
|
||||
STIMECMPH: if (STCE & P.XLEN == 32) // not supported for RV64
|
||||
CSRSReadValM = {{(P.XLEN-32){1'b0}}, STIMECMP_REGW[63:32]};
|
||||
else begin // not supported for RV64
|
||||
else begin
|
||||
CSRSReadValM = 0;
|
||||
IllegalCSRSAccessM = 1;
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue