Line Coverage for Module :
lc_ctrl_state_transition
| Line No. | Total | Covered | Percent |
TOTAL | | 65 | 63 | 96.92 |
ALWAYS | 52 | 65 | 63 | 96.92 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_state_transition.sv' or '../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_state_transition.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
52 |
1 |
1 |
53 |
1 |
1 |
54 |
1 |
1 |
55 |
1 |
1 |
63 |
1 |
1 |
66 |
1 |
1 |
68 |
1 |
1 |
|
|
|
MISSING_ELSE |
|
|
|
MISSING_ELSE |
73 |
1 |
1 |
84 |
1 |
1 |
85 |
1 |
1 |
86 |
1 |
1 |
87 |
1 |
1 |
88 |
1 |
1 |
89 |
1 |
1 |
90 |
1 |
1 |
91 |
1 |
1 |
92 |
1 |
1 |
93 |
1 |
1 |
94 |
1 |
1 |
95 |
1 |
1 |
96 |
1 |
1 |
97 |
1 |
1 |
98 |
1 |
1 |
99 |
1 |
1 |
100 |
1 |
1 |
101 |
1 |
1 |
102 |
1 |
1 |
103 |
1 |
1 |
104 |
1 |
1 |
105 |
1 |
1 |
106 |
1 |
1 |
107 |
1 |
1 |
108 |
1 |
1 |
109 |
1 |
1 |
114 |
1 |
1 |
115 |
1 |
1 |
|
|
|
MISSING_ELSE |
|
|
|
MISSING_ELSE |
119 |
1 |
1 |
127 |
1 |
1 |
134 |
1 |
1 |
141 |
1 |
1 |
142 |
0 |
1 |
143 |
1 |
1 |
144 |
1 |
1 |
145 |
1 |
1 |
146 |
1 |
1 |
147 |
1 |
1 |
148 |
1 |
1 |
149 |
1 |
1 |
150 |
1 |
1 |
151 |
1 |
1 |
152 |
1 |
1 |
153 |
1 |
1 |
154 |
1 |
1 |
155 |
1 |
1 |
156 |
1 |
1 |
157 |
1 |
1 |
158 |
1 |
1 |
159 |
1 |
1 |
160 |
1 |
1 |
161 |
1 |
1 |
162 |
1 |
1 |
166 |
1 |
1 |
169 |
0 |
1 |
174 |
1 |
1 |
195 |
1 |
1 |
|
|
|
MISSING_ELSE |
Cond Coverage for Module :
lc_ctrl_state_transition
| Total | Covered | Percent |
Conditions | 27 | 19 | 70.37 |
Logical | 27 | 19 | 70.37 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 63
EXPRESSION (SecVolatileRawUnlockEn && volatile_raw_unlock_i && trans_cmd_i && (fsm_state_i == IdleSt))
-----------1---------- ----------2---------- -----3----- -----------4-----------
-1- | -2- | -3- | -4- | Status | Tests |
- | 0 | 1 | 1 | Covered | T1,T2,T3 |
- | 1 | 0 | 1 | Covered | T4,T14,T5 |
- | 1 | 1 | 0 | Not Covered | |
- | 1 | 1 | 1 | Covered | T27,T28,T29 |
LINE 63
SUB-EXPRESSION (fsm_state_i == IdleSt)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 66
EXPRESSION
Number Term
1 (dec_lc_state_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}}) ||
2 (trans_target_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}}))
-1- | -2- | Status | Tests |
0 | 0 | Covered | T27,T30,T31 |
0 | 1 | Covered | T28,T29,T32 |
1 | 0 | Not Covered | |
LINE 66
SUB-EXPRESSION (dec_lc_state_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}})
-----------------------------------1----------------------------------
-1- | Status | Tests |
0 | Covered | T27,T28,T29 |
1 | Covered | T27,T30,T31 |
LINE 66
SUB-EXPRESSION (trans_target_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}})
----------------------------------------1---------------------------------------
-1- | Status | Tests |
0 | Covered | T27,T30,T31 |
1 | Covered | T27,T28,T29 |
LINE 114
EXPRESSION (trans_target_i == {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStScrap}})
------------------------------------1-----------------------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T7 |
LINE 127
EXPRESSION
Number Term
1 (dec_lc_state_i[0] <= DecLcStScrap) &&
2 (trans_target_i[0] <= DecLcStScrap) &&
3 (dec_lc_state_i[1] <= DecLcStScrap) &&
4 (trans_target_i[1] <= DecLcStScrap))
-1- | -2- | -3- | -4- | Status | Tests |
0 | 1 | 1 | 1 | Not Covered | |
1 | 0 | 1 | 1 | Not Covered | |
1 | 1 | 0 | 1 | Not Covered | |
1 | 1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 134
EXPRESSION
Number Term
1 (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[0]][trans_target_i[0]] != InvalidTokenIdx) ||
2 (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[1]][trans_target_i[1]] != InvalidTokenIdx))
-1- | -2- | Status | Tests |
0 | 0 | Covered | T33,T34,T35 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 134
SUB-EXPRESSION (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[0]][trans_target_i[0]] != InvalidTokenIdx)
---------------------------------------------1---------------------------------------------
-1- | Status | Tests |
0 | Covered | T33,T34,T35 |
1 | Covered | T1,T2,T3 |
LINE 134
SUB-EXPRESSION (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[1]][trans_target_i[1]] != InvalidTokenIdx)
---------------------------------------------1---------------------------------------------
-1- | Status | Tests |
0 | Covered | T33,T34,T35 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Module :
lc_ctrl_state_transition
| Line No. | Total | Covered | Percent |
Branches |
|
59 |
54 |
91.53 |
IF |
63 |
3 |
3 |
100.00 |
IF |
73 |
29 |
28 |
96.55 |
IF |
119 |
27 |
23 |
85.19 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_state_transition.sv' or '../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_state_transition.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 63 if ((((SecVolatileRawUnlockEn && volatile_raw_unlock_i) && trans_cmd_i) && (fsm_state_i == IdleSt)))
-2-: 66 if (((dec_lc_state_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}}) || (trans_target_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}})))
Branches:
-1- | -2- | Status | Tests |
1 |
1 |
Covered |
T27,T28,T29 |
1 |
0 |
Covered |
T27,T30,T31 |
0 |
- |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 73 if ((fsm_state_i inside {CntIncrSt, CntProgSt, TransCheckSt, TokenCheck0St, TokenCheck1St, TransProgSt}))
-2-: 84 case (lc_cnt_i)
-3-: 114 if ((trans_target_i == {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStScrap}}))
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
LcCnt0 |
- |
Covered |
T24,T36,T37 |
1 |
LcCnt1 |
- |
Covered |
T9,T11,T12 |
1 |
LcCnt2 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt3 |
- |
Covered |
T2,T9,T12 |
1 |
LcCnt4 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt5 |
- |
Covered |
T2,T3,T8 |
1 |
LcCnt6 |
- |
Covered |
T9,T11,T12 |
1 |
LcCnt7 |
- |
Covered |
T1,T9,T11 |
1 |
LcCnt8 |
- |
Covered |
T1,T9,T11 |
1 |
LcCnt9 |
- |
Covered |
T2,T9,T10 |
1 |
LcCnt10 |
- |
Covered |
T9,T10,T11 |
1 |
LcCnt11 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt12 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt13 |
- |
Covered |
T11,T12,T13 |
1 |
LcCnt14 |
- |
Covered |
T1,T8,T9 |
1 |
LcCnt15 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt16 |
- |
Covered |
T1,T3,T9 |
1 |
LcCnt17 |
- |
Covered |
T9,T11,T12 |
1 |
LcCnt18 |
- |
Covered |
T9,T11,T13 |
1 |
LcCnt19 |
- |
Covered |
T3,T9,T11 |
1 |
LcCnt20 |
- |
Covered |
T1,T3,T9 |
1 |
LcCnt21 |
- |
Covered |
T3,T9,T11 |
1 |
LcCnt22 |
- |
Covered |
T1,T7,T9 |
1 |
LcCnt23 |
- |
Covered |
T9,T11,T12 |
1 |
LcCnt24 |
- |
Covered |
T33,T34,T35 |
1 |
default |
- |
Not Covered |
|
1 |
- |
1 |
Covered |
T1,T2,T7 |
1 |
- |
0 |
Covered |
T1,T2,T3 |
0 |
- |
- |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 119 if ((fsm_state_i inside {TransCheckSt, TokenCheck0St, TokenCheck1St, TransProgSt}))
-2-: 127 if (((((dec_lc_state_i[0] <= DecLcStScrap) && (trans_target_i[0] <= DecLcStScrap)) && (dec_lc_state_i[1] <= DecLcStScrap)) && (trans_target_i[1] <= DecLcStScrap)))
-3-: 134 if (((lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[0]][trans_target_i[0]] != InvalidTokenIdx) || (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[1]][trans_target_i[1]] != InvalidTokenIdx)))
-4-: 141 case (trans_target_i)
-5-: 174 case (dec_lc_state_i)
Branches:
-1- | -2- | -3- | -4- | -5- | Status | Tests |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}} |
- |
Not Covered |
|
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}} |
- |
Covered |
T13,T24,T33 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked0}} |
- |
Covered |
T11,T25,T38 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked1}} |
- |
Covered |
T2,T9,T25 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked1}} |
- |
Covered |
T9,T13,T25 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked2}} |
- |
Covered |
T9,T11,T13 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked2}} |
- |
Covered |
T8,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked3}} |
- |
Covered |
T2,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked3}} |
- |
Covered |
T2,T13,T24 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked4}} |
- |
Covered |
T3,T9,T12 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked4}} |
- |
Covered |
T1,T2,T9 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked5}} |
- |
Covered |
T1,T2,T3 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked5}} |
- |
Covered |
T3,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked6}} |
- |
Covered |
T3,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked6}} |
- |
Covered |
T2,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked7}} |
- |
Covered |
T9,T11,T13 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStDev}} |
- |
Covered |
T1,T2,T9 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStProd}} |
- |
Covered |
T2,T3,T9 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStProdEnd}} |
- |
Covered |
T1,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRma}} |
- |
Covered |
T1,T3,T9 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStScrap}} |
- |
Covered |
T1,T2,T8 |
1 |
1 |
1 |
default |
- |
Not Covered |
|
1 |
1 |
0 |
- |
- |
Covered |
T33,T34,T35 |
1 |
0 |
- |
- |
- |
Not Covered |
|
1 |
- |
- |
- |
CASEITEM-1: {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked0}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked1}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked1}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked2}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked2}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked3}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked3}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked4}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked4}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked5}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked5}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked6}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked6}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked7}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStDev}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStProd}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStProdEnd}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRma}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStScrap}} |
Covered |
T1,T2,T3 |
1 |
- |
- |
- |
default |
Not Covered |
|
0 |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
Line Coverage for Instance : tb.dut.u_lc_ctrl_fsm.u_lc_ctrl_state_transition
| Line No. | Total | Covered | Percent |
TOTAL | | 65 | 63 | 96.92 |
ALWAYS | 52 | 65 | 63 | 96.92 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_state_transition.sv' or '../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_state_transition.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
52 |
1 |
1 |
53 |
1 |
1 |
54 |
1 |
1 |
55 |
1 |
1 |
63 |
1 |
1 |
66 |
1 |
1 |
68 |
1 |
1 |
|
|
|
MISSING_ELSE |
|
|
|
MISSING_ELSE |
73 |
1 |
1 |
84 |
1 |
1 |
85 |
1 |
1 |
86 |
1 |
1 |
87 |
1 |
1 |
88 |
1 |
1 |
89 |
1 |
1 |
90 |
1 |
1 |
91 |
1 |
1 |
92 |
1 |
1 |
93 |
1 |
1 |
94 |
1 |
1 |
95 |
1 |
1 |
96 |
1 |
1 |
97 |
1 |
1 |
98 |
1 |
1 |
99 |
1 |
1 |
100 |
1 |
1 |
101 |
1 |
1 |
102 |
1 |
1 |
103 |
1 |
1 |
104 |
1 |
1 |
105 |
1 |
1 |
106 |
1 |
1 |
107 |
1 |
1 |
108 |
1 |
1 |
109 |
1 |
1 |
114 |
1 |
1 |
115 |
1 |
1 |
|
|
|
MISSING_ELSE |
|
|
|
MISSING_ELSE |
119 |
1 |
1 |
127 |
1 |
1 |
134 |
1 |
1 |
141 |
1 |
1 |
142 |
0 |
1 |
143 |
1 |
1 |
144 |
1 |
1 |
145 |
1 |
1 |
146 |
1 |
1 |
147 |
1 |
1 |
148 |
1 |
1 |
149 |
1 |
1 |
150 |
1 |
1 |
151 |
1 |
1 |
152 |
1 |
1 |
153 |
1 |
1 |
154 |
1 |
1 |
155 |
1 |
1 |
156 |
1 |
1 |
157 |
1 |
1 |
158 |
1 |
1 |
159 |
1 |
1 |
160 |
1 |
1 |
161 |
1 |
1 |
162 |
1 |
1 |
166 |
1 |
1 |
169 |
0 |
1 |
174 |
1 |
1 |
195 |
1 |
1 |
|
|
|
MISSING_ELSE |
Cond Coverage for Instance : tb.dut.u_lc_ctrl_fsm.u_lc_ctrl_state_transition
| Total | Covered | Percent |
Conditions | 24 | 19 | 79.17 |
Logical | 24 | 19 | 79.17 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 63
EXPRESSION (SecVolatileRawUnlockEn && volatile_raw_unlock_i && trans_cmd_i && (fsm_state_i == IdleSt))
-----------1---------- ----------2---------- -----3----- -----------4-----------
-1- | -2- | -3- | -4- | Status | Tests |
- | 0 | 1 | 1 | Covered | T1,T2,T3 |
- | 1 | 0 | 1 | Covered | T4,T14,T5 |
- | 1 | 1 | 0 | Not Covered | |
- | 1 | 1 | 1 | Covered | T27,T28,T29 |
LINE 63
SUB-EXPRESSION (fsm_state_i == IdleSt)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 66
EXPRESSION
Number Term
1 (dec_lc_state_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}}) ||
2 (trans_target_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}}))
-1- | -2- | Status | Tests | Exclude Annotation |
0 | 0 | Covered | T27,T30,T31 |
0 | 1 | Covered | T28,T29,T32 |
1 | 0 | Excluded | |
VC_COV_UNR |
LINE 66
SUB-EXPRESSION (dec_lc_state_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}})
-----------------------------------1----------------------------------
-1- | Status | Tests |
0 | Covered | T27,T28,T29 |
1 | Covered | T27,T30,T31 |
LINE 66
SUB-EXPRESSION (trans_target_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}})
----------------------------------------1---------------------------------------
-1- | Status | Tests |
0 | Covered | T27,T30,T31 |
1 | Covered | T27,T28,T29 |
LINE 114
EXPRESSION (trans_target_i == {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStScrap}})
------------------------------------1-----------------------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T7 |
LINE 127
EXPRESSION
Number Term
1 (dec_lc_state_i[0] <= DecLcStScrap) &&
2 (trans_target_i[0] <= DecLcStScrap) &&
3 (dec_lc_state_i[1] <= DecLcStScrap) &&
4 (trans_target_i[1] <= DecLcStScrap))
-1- | -2- | -3- | -4- | Status | Tests | Exclude Annotation |
0 | 1 | 1 | 1 | Excluded | |
VC_COV_UNR |
1 | 0 | 1 | 1 | Not Covered | |
1 | 1 | 0 | 1 | Excluded | |
VC_COV_UNR |
1 | 1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 134
EXPRESSION
Number Term
1 (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[0]][trans_target_i[0]] != InvalidTokenIdx) ||
2 (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[1]][trans_target_i[1]] != InvalidTokenIdx))
-1- | -2- | Status | Tests |
0 | 0 | Covered | T33,T34,T35 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 134
SUB-EXPRESSION (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[0]][trans_target_i[0]] != InvalidTokenIdx)
---------------------------------------------1---------------------------------------------
-1- | Status | Tests |
0 | Covered | T33,T34,T35 |
1 | Covered | T1,T2,T3 |
LINE 134
SUB-EXPRESSION (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[1]][trans_target_i[1]] != InvalidTokenIdx)
---------------------------------------------1---------------------------------------------
-1- | Status | Tests |
0 | Covered | T33,T34,T35 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_lc_ctrl_fsm.u_lc_ctrl_state_transition
| Line No. | Total | Covered | Percent |
Branches |
|
59 |
54 |
91.53 |
IF |
63 |
3 |
3 |
100.00 |
IF |
73 |
29 |
28 |
96.55 |
IF |
119 |
27 |
23 |
85.19 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_state_transition.sv' or '../src/lowrisc_ip_lc_ctrl_0.1/rtl/lc_ctrl_state_transition.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 63 if ((((SecVolatileRawUnlockEn && volatile_raw_unlock_i) && trans_cmd_i) && (fsm_state_i == IdleSt)))
-2-: 66 if (((dec_lc_state_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}}) || (trans_target_i != {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}})))
Branches:
-1- | -2- | Status | Tests |
1 |
1 |
Covered |
T27,T28,T29 |
1 |
0 |
Covered |
T27,T30,T31 |
0 |
- |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 73 if ((fsm_state_i inside {CntIncrSt, CntProgSt, TransCheckSt, TokenCheck0St, TokenCheck1St, TransProgSt}))
-2-: 84 case (lc_cnt_i)
-3-: 114 if ((trans_target_i == {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStScrap}}))
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
LcCnt0 |
- |
Covered |
T24,T36,T37 |
1 |
LcCnt1 |
- |
Covered |
T9,T11,T12 |
1 |
LcCnt2 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt3 |
- |
Covered |
T2,T9,T12 |
1 |
LcCnt4 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt5 |
- |
Covered |
T2,T3,T8 |
1 |
LcCnt6 |
- |
Covered |
T9,T11,T12 |
1 |
LcCnt7 |
- |
Covered |
T1,T9,T11 |
1 |
LcCnt8 |
- |
Covered |
T1,T9,T11 |
1 |
LcCnt9 |
- |
Covered |
T2,T9,T10 |
1 |
LcCnt10 |
- |
Covered |
T9,T10,T11 |
1 |
LcCnt11 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt12 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt13 |
- |
Covered |
T11,T12,T13 |
1 |
LcCnt14 |
- |
Covered |
T1,T8,T9 |
1 |
LcCnt15 |
- |
Covered |
T2,T9,T11 |
1 |
LcCnt16 |
- |
Covered |
T1,T3,T9 |
1 |
LcCnt17 |
- |
Covered |
T9,T11,T12 |
1 |
LcCnt18 |
- |
Covered |
T9,T11,T13 |
1 |
LcCnt19 |
- |
Covered |
T3,T9,T11 |
1 |
LcCnt20 |
- |
Covered |
T1,T3,T9 |
1 |
LcCnt21 |
- |
Covered |
T3,T9,T11 |
1 |
LcCnt22 |
- |
Covered |
T1,T7,T9 |
1 |
LcCnt23 |
- |
Covered |
T9,T11,T12 |
1 |
LcCnt24 |
- |
Covered |
T33,T34,T35 |
1 |
default |
- |
Not Covered |
|
1 |
- |
1 |
Covered |
T1,T2,T7 |
1 |
- |
0 |
Covered |
T1,T2,T3 |
0 |
- |
- |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 119 if ((fsm_state_i inside {TransCheckSt, TokenCheck0St, TokenCheck1St, TransProgSt}))
-2-: 127 if (((((dec_lc_state_i[0] <= DecLcStScrap) && (trans_target_i[0] <= DecLcStScrap)) && (dec_lc_state_i[1] <= DecLcStScrap)) && (trans_target_i[1] <= DecLcStScrap)))
-3-: 134 if (((lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[0]][trans_target_i[0]] != InvalidTokenIdx) || (lc_ctrl_pkg::TransTokenIdxMatrix[dec_lc_state_i[1]][trans_target_i[1]] != InvalidTokenIdx)))
-4-: 141 case (trans_target_i)
-5-: 174 case (dec_lc_state_i)
Branches:
-1- | -2- | -3- | -4- | -5- | Status | Tests |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}} |
- |
Not Covered |
|
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}} |
- |
Covered |
T13,T24,T33 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked0}} |
- |
Covered |
T11,T25,T38 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked1}} |
- |
Covered |
T2,T9,T25 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked1}} |
- |
Covered |
T9,T13,T25 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked2}} |
- |
Covered |
T9,T11,T13 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked2}} |
- |
Covered |
T8,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked3}} |
- |
Covered |
T2,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked3}} |
- |
Covered |
T2,T13,T24 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked4}} |
- |
Covered |
T3,T9,T12 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked4}} |
- |
Covered |
T1,T2,T9 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked5}} |
- |
Covered |
T1,T2,T3 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked5}} |
- |
Covered |
T3,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked6}} |
- |
Covered |
T3,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked6}} |
- |
Covered |
T2,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked7}} |
- |
Covered |
T9,T11,T13 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStDev}} |
- |
Covered |
T1,T2,T9 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStProd}} |
- |
Covered |
T2,T3,T9 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStProdEnd}} |
- |
Covered |
T1,T9,T11 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRma}} |
- |
Covered |
T1,T3,T9 |
1 |
1 |
1 |
{lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStScrap}} |
- |
Covered |
T1,T2,T8 |
1 |
1 |
1 |
default |
- |
Not Covered |
|
1 |
1 |
0 |
- |
- |
Covered |
T33,T34,T35 |
1 |
0 |
- |
- |
- |
Not Covered |
|
1 |
- |
- |
- |
CASEITEM-1: {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRaw}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked0}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked0}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked1}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked1}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked2}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked2}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked3}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked3}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked4}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked4}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked5}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked5}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked6}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestLocked6}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStTestUnlocked7}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStDev}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStProd}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStProdEnd}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStRma}} {lc_ctrl_state_pkg::DecLcStateNumRep {DecLcStScrap}} |
Covered |
T1,T2,T3 |
1 |
- |
- |
- |
default |
Not Covered |
|
0 |
- |
- |
- |
- |
Covered |
T1,T2,T3 |