Module Definition
dashboard | hierarchy | modlist | groups | tests | asserts



Module Instance : tb.dut.u_dm_top.i_dm_mem.gen_rom_snd_scratch.i_debug_rom

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
87.55 89.30 72.41 100.00 88.46 i_dm_mem


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
no children


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : debug_rom
Line No.TotalCoveredPercent
TOTAL77100.00
CONT_ASSIGN5311100.00
ALWAYS5633100.00
ALWAYS6633100.00

52 53 1/1 assign addr_d = req_i ? addr_i[$clog2(RomSize)-1+3:3] : addr_q; Tests: T1 T2 T3  54 55 always_ff @(posedge clk_i or negedge rst_ni) begin 56 1/1 if (!rst_ni) begin Tests: T1 T2 T3  57 1/1 addr_q <= '0; Tests: T1 T2 T3  58 end else begin 59 1/1 addr_q <= addr_d; Tests: T1 T2 T3  60 end 61 end 62 63 // this prevents spurious Xes from propagating into 64 // the speculative fetch stage of the core 65 always_comb begin : p_outmux 66 1/1 rdata_o = '0; Tests: T1 T2 T3  67 1/1 if (addr_q < $clog2(RomSize)'(RomSize)) begin Tests: T1 T2 T3  68 1/1 rdata_o = mem[addr_q]; Tests: T1 T2 T3  69 end MISSING_ELSE

Cond Coverage for Module : debug_rom
TotalCoveredPercent
Conditions22100.00
Logical22100.00
Non-Logical00
Event00

 LINE       53
 EXPRESSION (req_i ? addr_i[(($clog2(RomSize) - 1) + 3):3] : addr_q)
             --1--
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

Branch Coverage for Module : debug_rom
Line No.TotalCoveredPercent
Branches 6 6 100.00
TERNARY 53 2 2 100.00
IF 56 2 2 100.00
IF 67 2 2 100.00


53 assign addr_d = req_i ? addr_i[$clog2(RomSize)-1+3:3] : addr_q; -1- ==> ==>

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


56 if (!rst_ni) begin -1- 57 addr_q <= '0; ==> 58 end else begin 59 addr_q <= addr_d; ==>

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


67 if (addr_q < $clog2(RomSize)'(RomSize)) begin -1- 68 rdata_o = mem[addr_q]; ==> 69 end MISSING_ELSE ==>

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T60,T66,T71

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%