Unverified Commit 0f95ad7f authored by taoliug's avatar taoliug Committed by GitHub
Browse files

Avoid generating hint instruction when RV32C is turned off (#787)

parent a64935f5
......@@ -96,6 +96,10 @@ class riscv_illegal_instr extends uvm_object;
kHintInstr := 3,
kIllegalSystemInstr := 3
};
if (!(RV32C inside {supported_isa})) {
exception != kHintInstr;
compressed == 1'b0;
}
}
constraint instr_bit_assignment_c {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment