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

Fix illegal opcode issue in the cov_test (#786)

parent 51ddfc1e
......@@ -130,9 +130,9 @@ class riscv_instr_cov_test extends uvm_test;
if (riscv_instr::instr_template.exists(instr_name)) begin
riscv_instr instr;
instr = riscv_instr::get_instr(instr_name);
if (instr.group inside {RV32I, RV32M, RV32C, RV64I, RV64M, RV64C,
RV32F, RV64F, RV32D, RV64D,
RV32B, RV64B}) begin
if ((instr.group inside {RV32I, RV32M, RV32C, RV64I, RV64M, RV64C,
RV32F, RV64F, RV32D, RV64D, RV32B, RV64B}) &&
(instr.group inside {supported_isa})) begin
assign_trace_info_to_instr(instr);
instr.pre_sample();
instr_cg.sample(instr);
......
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