Skip to content

Commit e6a63ff

Browse files
authored
Restructure coverage (#569)
Change the structure of coverage for more extendability Move coverage functions into riscv_instr and change most of functions to virtual Commented out most of floating point related functions for now, will move them to riscv_floating_point_instr in another PR
1 parent 4703619 commit e6a63ff

7 files changed

+685
-659
lines changed

src/isa/riscv_instr.sv

+2
Original file line numberDiff line numberDiff line change
@@ -649,4 +649,6 @@ class riscv_instr extends uvm_object;
649649
imm_str = $sformatf("%0d", $signed(imm));
650650
endfunction
651651

652+
`include "isa/riscv_instr_cov.svh"
653+
652654
endclass

0 commit comments

Comments
 (0)