NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_CRC_TOP

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/medium_access_control/mac_top.vhd

Nested Instances Statement Branch Toggle Expression FSM state Functional Average
I_MAC_CRC_CALC_15 100.0 % (15/15) 100.0 % (14/14) 100.0 % (108/108) 100.0 % (21/21) N.A. N.A. 100.0 % (158/158)
I_MAC_CRC_CALC_17_RX 100.0 % (15/15) 100.0 % (14/14) 100.0 % (120/120) 100.0 % (21/21) N.A. N.A. 100.0 % (170/170)
I_MAC_CRC_CALC_21_RX 100.0 % (15/15) 100.0 % (14/14) 100.0 % (144/144) 100.0 % (21/21) N.A. N.A. 100.0 % (194/194)

Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_CRC_TOP 100.0 % (26/26) 100.0 % (20/20) 100.0 % (152/152) 100.0 % (30/30) N.A. N.A. 100.0 % (228/228)

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 210 to 212:

210:    init_vect_msb_17 <= '1' when (mr_settings_nisofd = ISO_FD) 
211:                            else 
212:                        '0'; 

Count: 3462
Threshold: 1

Signal assignment statement on line 210:

210:    init_vect_msb_17 <= '1' when (mr_settings_nisofd = ISO_FD) 
Count: 1731
Threshold: 1

Signal assignment statement on line 212:

212:                        '0'; 
Count: 1731
Threshold: 1

If statement on lines 214 to 216:

214:    init_vect_msb_21 <= '1' when (mr_settings_nisofd = ISO_FD) 
215:                            else 
216:                        '0'; 

Count: 3462
Threshold: 1

Signal assignment statement on line 214:

214:    init_vect_msb_21 <= '1' when (mr_settings_nisofd = ISO_FD) 
Count: 1731
Threshold: 1

Signal assignment statement on line 216:

216:                        '0'; 
Count: 1731
Threshold: 1

If statement on lines 222 to 224:

222:    crc_17_21_data_in <= data_rx_wbs when (crc_calc_from_rx = '1') 
223:                                     else 
224:                         data_tx_wbs; 

Count: 4268906
Threshold: 1

Signal assignment statement on line 222:

222:    crc_17_21_data_in <= data_rx_wbs when (crc_calc_from_rx = '1') 
Count: 2171710
Threshold: 1

Signal assignment statement on line 224:

224:                         data_tx_wbs; 
Count: 2097196
Threshold: 1

If statement on lines 226 to 228:

226:    crc_17_21_trigger <= trig_rx_wbs when (crc_calc_from_rx = '1') 
227:                                     else 
228:                         trig_tx_wbs; 

Count: 45560393
Threshold: 1

Signal assignment statement on line 226:

226:    crc_17_21_trigger <= trig_rx_wbs when (crc_calc_from_rx = '1') 
Count: 33274150
Threshold: 1

Signal assignment statement on line 228:

228:                         trig_tx_wbs; 
Count: 12286243
Threshold: 1

If statement on lines 234 to 236:

234:    crc_15_data_in <= data_rx_nbs when (crc_calc_from_rx = '1') 
235:                                  else 
236:                      data_tx_nbs; 

Count: 4270203
Threshold: 1

Signal assignment statement on line 234:

234:    crc_15_data_in <= data_rx_nbs when (crc_calc_from_rx = '1') 
Count: 2167236
Threshold: 1

Signal assignment statement on line 236:

236:                      data_tx_nbs; 
Count: 2102967
Threshold: 1

If statement on lines 238 to 240:

238:    crc_15_trigger <= trig_rx_nbs when (crc_calc_from_rx = '1') 
239:                                  else 
240:                      trig_tx_nbs; 

Count: 43607878
Threshold: 1

Signal assignment statement on line 238:

238:    crc_15_trigger <= trig_rx_nbs when (crc_calc_from_rx = '1') 
Count: 31869842
Threshold: 1

Signal assignment statement on line 240:

240:                      trig_tx_nbs; 
Count: 11738036
Threshold: 1

If statement on lines 249 to 253:

249:    crc_ena_15   <= '1' when (crc_enable = '1') 
250:                        else 
251:                    '1' when (crc_spec_enable = '1' and crc_15_data_in = DOMINANT) 
252:                        else 
253:                    '0'; 

Count: 3106879
Threshold: 1

Signal assignment statement on line 249:

249:    crc_ena_15   <= '1' when (crc_enable = '1') 
Count: 2462799
Threshold: 1

Signal assignment statement on line 251:

251:                    '1' when (crc_spec_enable = '1' and crc_15_data_in = DOMINANT) 
Count: 744
Threshold: 1

Signal assignment statement on line 253:

253:                    '0'; 
Count: 643336
Threshold: 1

If statement on lines 255 to 259:

255:    crc_ena_17_21  <= '1' when (crc_enable = '1') 
256:                          else 
257:                      '1' when (crc_spec_enable = '1' and crc_17_21_data_in = DOMINANT) 
258:                          else 
259:                      '0'; 

Count: 3137228
Threshold: 1

Signal assignment statement on line 255:

255:    crc_ena_17_21  <= '1' when (crc_enable = '1') 
Count: 2444725
Threshold: 1

Signal assignment statement on line 257:

257:                      '1' when (crc_spec_enable = '1' and crc_17_21_data_in = DOMINANT) 
Count: 36816
Threshold: 1

Signal assignment statement on line 259:

259:                      '0'; 
Count: 655687
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

210:    init_vect_msb_17 <= '1' when (mr_settings_nisofd = ISO_FD) 
Evaluated toCountThreshold
BinTrue17311
BinFalse17311

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

214:    init_vect_msb_21 <= '1' when (mr_settings_nisofd = ISO_FD) 
Evaluated toCountThreshold
BinTrue17311
BinFalse17311

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

222:    crc_17_21_data_in <= data_rx_wbs when (crc_calc_from_rx = '1') 
Evaluated toCountThreshold
BinTrue21717101
BinFalse20971961

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

226:    crc_17_21_trigger <= trig_rx_wbs when (crc_calc_from_rx = '1') 
Evaluated toCountThreshold
BinTrue332741501
BinFalse122862431

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

234:    crc_15_data_in <= data_rx_nbs when (crc_calc_from_rx = '1') 
Evaluated toCountThreshold
BinTrue21672361
BinFalse21029671

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

238:    crc_15_trigger <= trig_rx_nbs when (crc_calc_from_rx = '1') 
Evaluated toCountThreshold
BinTrue318698421
BinFalse117380361

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

249:    crc_ena_15   <= '1' when (crc_enable = '1') 
Evaluated toCountThreshold
BinTrue24627991
BinFalse6440801

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

251:                    '1' when (crc_spec_enable = '1' and crc_15_data_in = DOMINANT) 
Evaluated toCountThreshold
BinTrue7441
BinFalse6433361

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

255:    crc_ena_17_21  <= '1' when (crc_enable = '1') 
Evaluated toCountThreshold
BinTrue24447251
BinFalse6925031

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

257:                      '1' when (crc_spec_enable = '1' and crc_17_21_data_in = DOMINANT) 
Evaluated toCountThreshold
BinTrue368161
BinFalse6556871

Uncovered toggles:

Excluded toggles:

Port:

 CLK_SYS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RST_N
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 MR_SETTINGS_NISOFD
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 DATA_TX_WBS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 DATA_TX_NBS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 DATA_RX_WBS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 DATA_RX_NBS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TRIG_TX_WBS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TRIG_TX_NBS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TRIG_RX_WBS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TRIG_RX_NBS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 CRC_ENABLE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 CRC_SPEC_ENABLE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 CRC_CALC_FROM_RX
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 LOAD_INIT_VECT
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 CRC_15
ElementFromToCountThreshold
Bin(14)0114603451
Bin(14)1014619431
Bin(13)0114170511
Bin(13)1014186491
Bin(12)0114304271
Bin(12)1014320261
Bin(11)0114446541
Bin(11)1014462501
Bin(10)0114608831
Bin(10)1014624831
Bin(9)0114493621
Bin(9)1014509601
Bin(8)0114626771
Bin(8)1014642751
Bin(7)0114982151
Bin(7)1014998141
Bin(6)0114278471
Bin(6)1014294451
Bin(5)0114423551
Bin(5)1014439511
Bin(4)0114558881
Bin(4)1014574871
Bin(3)0114598121
Bin(3)1014614091
Bin(2)0114487101
Bin(2)1014503081
Bin(1)0114633891
Bin(1)1014649861
Bin(0)0114760731
Bin(0)1014776711

Port:

 CRC_17
ElementFromToCountThreshold
Bin(16)0117397551
Bin(16)1017413511
Bin(15)0117574771
Bin(15)1017590761
Bin(14)0117706251
Bin(14)1017722241
Bin(13)0117644781
Bin(13)1017660751
Bin(12)0117036021
Bin(12)1017051991
Bin(11)0117181041
Bin(11)1017197001
Bin(10)0116623671
Bin(10)1016639671
Bin(9)0116766531
Bin(9)1016782511
Bin(8)0116912541
Bin(8)1016928531
Bin(7)0117046161
Bin(7)1017062141
Bin(6)0117209201
Bin(6)1017225191
Bin(5)0117198901
Bin(5)1017214881
Bin(4)0117346031
Bin(4)1017362001
Bin(3)0117497131
Bin(3)1017513091
Bin(2)0117261601
Bin(2)1017277571
Bin(1)0117404311
Bin(1)1017420311
Bin(0)0117681111
Bin(0)1017697091

Port:

 CRC_21
ElementFromToCountThreshold
Bin(20)0117474911
Bin(20)1017490841
Bin(19)0117049171
Bin(19)1017065141
Bin(18)0117203241
Bin(18)1017219221
Bin(17)0117341121
Bin(17)1017357111
Bin(16)0117474991
Bin(16)1017490991
Bin(15)0117615361
Bin(15)1017631351
Bin(14)0117753131
Bin(14)1017769111
Bin(13)0117897811
Bin(13)1017913771
Bin(12)0117303421
Bin(12)1017319411
Bin(11)0117460831
Bin(11)1017476801
Bin(10)0117311211
Bin(10)1017327191
Bin(9)0117441651
Bin(9)1017457641
Bin(8)0117595491
Bin(8)1017611451
Bin(7)0117744641
Bin(7)1017760631
Bin(6)0117102011
Bin(6)1017117991
Bin(5)0117243781
Bin(5)1017259761
Bin(4)0117364391
Bin(4)1017380391
Bin(3)0117661311
Bin(3)1017677291
Bin(2)0117563211
Bin(2)1017579181
Bin(1)0117713691
Bin(1)1017729671
Bin(0)0117836151
Bin(0)1017852121

Signal:

 INIT_VECT_MSB_17
FromToCountThreshold
Bin0117311
Bin1017311

Signal:

 INIT_VECT_MSB_21
FromToCountThreshold
Bin0117311
Bin1017311

Signal:

 CRC_17_21_DATA_IN
FromToCountThreshold
Bin0113970621
Bin1013954611

Signal:

 CRC_17_21_TRIGGER
FromToCountThreshold
Bin01113976671
Bin10113992681

Signal:

 CRC_15_DATA_IN
FromToCountThreshold
Bin0113969271
Bin1013953261

Signal:

 CRC_15_TRIGGER
FromToCountThreshold
Bin01106592471
Bin10106608471

Signal:

 CRC_ENA_15
FromToCountThreshold
Bin01559951
Bin10575961

Signal:

 CRC_ENA_17_21
FromToCountThreshold
Bin01619841
Bin10635851

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 210:

 mr_settings_nisofd = ISO_FD 
Evaluated toCountThreshold
BinFalse17311
BinTrue17311

"=" expression on line 214:

 mr_settings_nisofd = ISO_FD 
Evaluated toCountThreshold
BinFalse17311
BinTrue17311

"=" expression on line 222:

 crc_calc_from_rx = '1' 
Evaluated toCountThreshold
BinFalse20971961
BinTrue21717101

"=" expression on line 226:

 crc_calc_from_rx = '1' 
Evaluated toCountThreshold
BinFalse122862431
BinTrue332741501

"=" expression on line 234:

 crc_calc_from_rx = '1' 
Evaluated toCountThreshold
BinFalse21029671
BinTrue21672361

"=" expression on line 238:

 crc_calc_from_rx = '1' 
Evaluated toCountThreshold
BinFalse117380361
BinTrue318698421

"=" expression on line 249:

 crc_enable = '1' 
Evaluated toCountThreshold
BinFalse6440801
BinTrue24627991

"and" expression on line 251:

 crc_spec_enable = '1' and crc_15_data_in = DOMINANT 
 <--------LHS-------->     <----------RHS----------> 

LHSRHSCountThreshold
BinFalseTrue2248731
BinTrueFalse1139601
BinTrueTrue7441

"=" expression on line 251:

 crc_spec_enable = '1' 
Evaluated toCountThreshold
BinFalse5293761
BinTrue1147041

"=" expression on line 251:

 crc_15_data_in = DOMINANT 
Evaluated toCountThreshold
BinFalse4184631
BinTrue2256171

"=" expression on line 255:

 crc_enable = '1' 
Evaluated toCountThreshold
BinFalse6925031
BinTrue24447251

"and" expression on line 257:

 crc_spec_enable = '1' and crc_17_21_data_in = DOMINANT 
 <--------LHS-------->     <-----------RHS------------> 

LHSRHSCountThreshold
BinFalseTrue2305461
BinTrueFalse1139601
BinTrueTrue368161

"=" expression on line 257:

 crc_spec_enable = '1' 
Evaluated toCountThreshold
BinFalse5417271
BinTrue1507761

"=" expression on line 257:

 crc_17_21_data_in = DOMINANT 
Evaluated toCountThreshold
BinFalse4251411
BinTrue2673621

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: