Skip to content

Commit 9a0d89e

Browse files
committed
fix: wip
1 parent 4211964 commit 9a0d89e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

spec/std/isa/inst/Zcmt/cm.jalt.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ access:
2525
vu: always
2626
operation(): |
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) {

spec/std/isa/inst/Zcmt/cm.jt.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ access:
2323
vu: always
2424
operation(): |
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);

0 commit comments

Comments
 (0)