diff --git a/riscv_ctg/generator.py b/riscv_ctg/generator.py index 9f3fc8d..5e25cf1 100644 --- a/riscv_ctg/generator.py +++ b/riscv_ctg/generator.py @@ -888,7 +888,7 @@ def eval_inst_coverage(coverpoints,instr): if (is_fp_instruction(insn)): insn = "fadd.s" instr_obj = instructionObject(None, insn, None) - ext_specific_vars = instr_obj.evaluate_instr_var("ext_specific_vars", {**var_dict, 'flen': self.flen, 'iflen': self.iflen}, None, {'fcsr': hex(var_dict.get('fcsr', 0))}) + ext_specific_vars = instr_obj.evaluate_instr_var("ext_specific_vars", {**var_dict, 'flen': self.flen, 'iflen': self.iflen, 'inxFlag': self.inxFlag, 'xlen': self.xlen}, None, {'fcsr': hex(var_dict.get('fcsr', 0))}) if ext_specific_vars is not None: var_dict.update(ext_specific_vars)