File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ access:
2525 vu : always
2626operation() : |
2727 # Ensure JVT readable
28- Csr csr_handle = direct_csr_lookup(CSR[jvt].address());
28+ Bits<12> csr_addr = $bits(CSR[jvt].address());
29+ Csr csr_handle = direct_csr_lookup(csr_addr);
2930 XReg jvt = csr_sw_read(csr_handle);
3031
3132 if (CSR[jvt].MODE != 0) {
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ access:
2323 vu : always
2424operation() : |
2525 # Ensure JVT readable
26- Csr csr_handle = direct_csr_lookup(CSR[jvt].address());
27- XReg jvt = csr_sw_read(csr_handle);
26+ # Csr csr_handle = direct_csr_lookup(CSR[jvt].address());
27+ # XReg jvt = csr_sw_read(csr_handle);
2828
2929 if (CSR[jvt].MODE != 0) {
3030 raise(ExceptionCode::IllegalInstruction, mode(), $encoding);
You can’t perform that action at this time.
0 commit comments