NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.INT_MANAGER_INST.INT_MODULE_GEN(1).INT_MODULE_INST

File:  /__w/ctu-can-regression/ctu-can-regression/src/interrupt_manager/int_manager.vhd


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.INT_MANAGER_INST.INT_MODULE_GEN(1).INT_MODULE_INST 100.0 % (20/20) 100.0 % (24/24) 100.0 % (30/30) 100.0 % (26/26) N.A. N.A. 100.0 % (100/100)

Details:

The limit of printed items was reached (5000). Total 260336 items are not displayed.


Statement Branch Toggle Expression FSM state Functional

Uncovered statements:

Excluded statements:

Covered statements:

If statement on lines 159 to 173:

159:        if (res_n = '0') then 
160:            int_status <= '0'; 
...
172:            end if; 
173:        end if; 

Count: 1090019739
Threshold: 1

Signal assignment statement on line 160:

160:            int_status <= '0'; 
Count: 67370
Threshold: 1

If statement on lines 165 to 172:

165:            if (int_status_set = '1' and int_mask_i = '0') then 
166:                int_status <= '1'; 
...
171: 
172:            end if; 

Count: 544969539
Threshold: 1

Signal assignment statement on line 166:

166:                int_status <= '1'; 
Count: 11107
Threshold: 1

Signal assignment statement on line 170:

170:                int_status <= '0'; 
Count: 42
Threshold: 1

If statement on lines 183 to 193:

183:        if (res_n = '0') then 
184:            int_mask_i <= '0'; 
...
192: 
193:        end if; 

Count: 1090019739
Threshold: 1

Signal assignment statement on line 184:

184:            int_mask_i <= '0'; 
Count: 67370
Threshold: 1

If statement on lines 189 to 191:

189:            if (int_mask_load = '1') then 
190:                int_mask_i <= int_mask_next; 
191:            end if; 

Count: 544969539
Threshold: 1

Signal assignment statement on line 190:

190:                int_mask_i <= int_mask_next; 
Count: 475
Threshold: 1

Signal assignment statement on line 196:

196:    int_mask_load <= int_mask_set or int_mask_clear
Count: 5577
Threshold: 1

If statement on lines 197 to 199:

197:    int_mask_next <= '1' when (int_mask_set = '1') 
198:                         else 
199:                     '0'; 

Count: 4162
Threshold: 1

Signal assignment statement on line 197:

197:    int_mask_next <= '1' when (int_mask_set = '1') 
Count: 10
Threshold: 1

Signal assignment statement on line 199:

199:                     '0'
Count: 4152
Threshold: 1

If statement on lines 206 to 220:

206:        if (res_n = '0') then 
207:            int_ena_i <= '0'; 
...
219:            end if; 
220:        end if; 

Count: 1090019739
Threshold: 1

Signal assignment statement on line 207:

207:            int_ena_i <= '0'; 
Count: 67370
Threshold: 1

If statement on lines 212 to 219:

212:            if (int_ena_set = '1') then 
213:                int_ena_i <= '1'; 
...
218: 
219:            end if; 

Count: 544969539
Threshold: 1

Signal assignment statement on line 213:

213:                int_ena_i <= '1'; 
Count: 20
Threshold: 1

Signal assignment statement on line 217:

217:                int_ena_i <= '0'; 
Count: 522
Threshold: 1

Signal assignment statement on line 224:

224:    int_mask <= int_mask_i
Count: 3222
Threshold: 1

Signal assignment statement on line 225:

225:    int_ena  <= int_ena_i
Count: 3232
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

"if" / "when" / "else" condition on line 159:

159:        if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue673701
BinFalse10899523691

"if" / "when" / "else" condition on line 162:

162:        elsif rising_edge(clk_sys) then 
Evaluated toCountThreshold
BinTrue5449695391
BinFalse5449828301

"if" / "when" / "else" condition on line 165:

165:            if (int_status_set = '1' and int_mask_i = '0') then 
Evaluated toCountThreshold
BinTrue111071
BinFalse5449584321

"if" / "when" / "else" condition on line 169:

169:            elsif (int_status_clear = '1') then 
Evaluated toCountThreshold
BinTrue421
BinFalse5449583901

"if" / "when" / "else" condition on line 183:

183:        if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue673701
BinFalse10899523691

"if" / "when" / "else" condition on line 186:

186:        elsif rising_edge(clk_sys) then 
Evaluated toCountThreshold
BinTrue5449695391
BinFalse5449828301

"if" / "when" / "else" condition on line 189:

189:            if (int_mask_load = '1') then 
Evaluated toCountThreshold
BinTrue4751
BinFalse5449690641

"if" / "when" / "else" condition on line 197:

197:    int_mask_next <= '1' when (int_mask_set = '1'
Evaluated toCountThreshold
BinTrue101
BinFalse41521

"if" / "when" / "else" condition on line 206:

206:        if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue673701
BinFalse10899523691

"if" / "when" / "else" condition on line 209:

209:        elsif rising_edge(clk_sys) then 
Evaluated toCountThreshold
BinTrue5449695391
BinFalse5449828301

"if" / "when" / "else" condition on line 212:

212:            if (int_ena_set = '1') then 
Evaluated toCountThreshold
BinTrue201
BinFalse5449695191

"if" / "when" / "else" condition on line 216:

216:            elsif (int_ena_clear = '1') then 
Evaluated toCountThreshold
BinTrue5221
BinFalse5449689971

Uncovered toggles:

Excluded toggles:

Port:

 CLK_SYS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RES_N
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 INT_STATUS_SET
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 INT_STATUS_CLEAR
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 INT_MASK_SET
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 INT_MASK_CLEAR
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 INT_ENA_SET
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 INT_ENA_CLEAR
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 INT_STATUS
FromToCountThreshold
Bin0112151
Bin1028121

Port:

 INT_MASK
FromToCountThreshold
Bin01101
Bin1016111

Port:

 INT_ENA
FromToCountThreshold
Bin01151
Bin1016161

Signal:

 INT_MASK_I
FromToCountThreshold
Bin01101
Bin1016111

Signal:

 INT_ENA_I
FromToCountThreshold
Bin01151
Bin1016161

Signal:

 INT_MASK_LOAD
FromToCountThreshold
Bin014751
Bin1025511

Signal:

 INT_MASK_NEXT
FromToCountThreshold
Bin01101
Bin1016111

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 159:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10899523691
BinTrue673701

"and" expression on line 165:

 int_status_set = '1' and int_mask_i = '0' 
 <-------LHS-------->     <-----RHS------> 

LHSRHSCountThreshold
BinFalseTrue5449333191
BinTrueFalse51
BinTrueTrue111071

"=" expression on line 165:

 int_status_set = '1' 
Evaluated toCountThreshold
BinFalse5449584271
BinTrue111121

"=" expression on line 165:

 int_mask_i = '0' 
Evaluated toCountThreshold
BinFalse251131
BinTrue5449444261

"=" expression on line 169:

 int_status_clear = '1' 
Evaluated toCountThreshold
BinFalse5449583901
BinTrue421

"=" expression on line 183:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10899523691
BinTrue673701

"=" expression on line 189:

 int_mask_load = '1' 
Evaluated toCountThreshold
BinFalse5449690641
BinTrue4751

"or" expression on line 196:

 int_mask_set or int_mask_clear 
 <---LHS---->    <----RHS-----> 

LHSRHSCountThreshold
Bin'0''0'25511
Bin'0''1'4651
Bin'1''0'101

"=" expression on line 197:

 int_mask_set = '1' 
Evaluated toCountThreshold
BinFalse41521
BinTrue101

"=" expression on line 206:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10899523691
BinTrue673701

"=" expression on line 212:

 int_ena_set = '1' 
Evaluated toCountThreshold
BinFalse5449695191
BinTrue201

"=" expression on line 216:

 int_ena_clear = '1' 
Evaluated toCountThreshold
BinFalse5449689971
BinTrue5221

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: