mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-19 11:54:46 -04:00
[UVM] Few LRM compliance fixes (#2042)
This commit is contained in:
parent
71ef48804a
commit
fb43d778b3
2 changed files with 2 additions and 2 deletions
2
verif/env/corev-dv/cva6_illegal_instr.sv
vendored
2
verif/env/corev-dv/cva6_illegal_instr.sv
vendored
|
@ -63,7 +63,7 @@ class cva6_illegal_instr_c extends riscv_illegal_instr;
|
|||
|
||||
// Invalid SYSTEM instructions
|
||||
constraint system_instr_c {
|
||||
if (!(SUPERVISOR_MODE inside supported_privileged_mode)) {
|
||||
if (!(SUPERVISOR_MODE inside {supported_privileged_mode})) {
|
||||
if (exception == kIllegalSystemInstr) {
|
||||
opcode == 7'b1110011;
|
||||
func3 == 3'b000;
|
||||
|
|
2
verif/env/corev-dv/cva6_instr_test_pkg.sv
vendored
2
verif/env/corev-dv/cva6_instr_test_pkg.sv
vendored
|
@ -37,4 +37,4 @@ package cva6_instr_test_pkg;
|
|||
`include "rv32zcmp_instr.sv"
|
||||
`include "rv64zcb_instr.sv"
|
||||
|
||||
endpackage : cva6_instr_test_pkg;
|
||||
endpackage : cva6_instr_test_pkg
|
||||
|
|
Loading…
Add table
Reference in a new issue