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



Module Instance : tb.dut.u_lc_ctrl_fsm.u_lc_ctrl_fsm_cov_if

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
96.97 100.00 90.91 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
96.97 100.00 90.91 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
98.34 98.87 94.19 100.00 98.63 100.00 u_lc_ctrl_fsm


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 : lc_ctrl_fsm_cov_if
Line No.TotalCoveredPercent
TOTAL1010100.00
CONT_ASSIGN7111100.00
ALWAYS7799100.00

70 logic token_mux_idx_error, token_mux_idx_error_prev; 71 1/1 assign token_mux_idx_error = trans_invalid_error_o & ~trans_invalid_error; Tests: T1 T2 T3  72 event token_mux_idx_error_cov_ev; 73 logic token_invalid_error_o_prev; 74 event token_digest_error_cov_ev; 75 76 always @(posedge clk_i or negedge rst_ni) begin 77 1/1 if (rst_ni == 0) begin Tests: T1 T2 T3  78 1/1 token_mux_idx_error_prev <= 0; Tests: T1 T2 T3  79 1/1 token_invalid_error_o_prev <= 0; Tests: T1 T2 T3  80 end else begin 81 1/1 token_mux_idx_error_prev <= token_mux_idx_error; Tests: T1 T2 T3  82 1/1 token_invalid_error_o_prev <= token_invalid_error_o; Tests: T1 T2 T3  83 end 84 85 1/1 if (~token_mux_idx_error_prev & token_mux_idx_error) begin Tests: T1 T2 T3  86 1/1 ->token_mux_idx_error_cov_ev; Tests: T6 T11 T42  87 end MISSING_ELSE 88 89 1/1 if (~token_invalid_error_o_prev & token_invalid_error_o) begin Tests: T1 T2 T3  90 1/1 ->token_digest_error_cov_ev; Tests: T13 T16 T42  91 end MISSING_ELSE

Cond Coverage for Module : lc_ctrl_fsm_cov_if
TotalCoveredPercent
Conditions111090.91
Logical111090.91
Non-Logical00
Event00

 LINE       71
 EXPRESSION (trans_invalid_error_o & ((~trans_invalid_error)))
             ----------1----------   ------------2-----------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T13,T45
11CoveredT6,T11,T42

 LINE       77
 EXPRESSION (rst_ni == 1'b0)
            --------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       85
 EXPRESSION (((~token_mux_idx_error_prev)) & token_mux_idx_error)
             --------------1--------------   ---------2---------
-1--2-StatusTests
01CoveredT6,T11,T42
10CoveredT1,T2,T3
11CoveredT6,T11,T42

 LINE       89
 EXPRESSION (((~token_invalid_error_o_prev)) & token_invalid_error_o)
             ---------------1---------------   ----------2----------
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT13,T16,T42

Branch Coverage for Module : lc_ctrl_fsm_cov_if
Line No.TotalCoveredPercent
Branches 6 6 100.00
IF 77 2 2 100.00
IF 85 2 2 100.00
IF 89 2 2 100.00


77 if (rst_ni == 0) begin -1- 78 token_mux_idx_error_prev <= 0; ==> 79 token_invalid_error_o_prev <= 0; 80 end else begin 81 token_mux_idx_error_prev <= token_mux_idx_error; ==>

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


85 if (~token_mux_idx_error_prev & token_mux_idx_error) begin -1- 86 ->token_mux_idx_error_cov_ev; ==> 87 end MISSING_ELSE ==>

Branches:
-1-StatusTests
1 Covered T6,T11,T42
0 Covered T1,T2,T3


89 if (~token_invalid_error_o_prev & token_invalid_error_o) begin -1- 90 ->token_digest_error_cov_ev; ==> 91 end MISSING_ELSE ==>

Branches:
-1-StatusTests
1 Covered T13,T16,T42
0 Covered T1,T2,T3

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