NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_TRIGGER_MUX

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_CRC_TRIG_TX_WBS_REG 100.0 % (3/3) 100.0 % (4/4) 100.0 % (8/8) 100.0 % (2/2) N.A. N.A. 100.0 % (17/17)
I_CRC_DATA_RX_WBS_REG 100.0 % (4/4) 100.0 % (6/6) 100.0 % (10/10) 100.0 % (4/4) N.A. N.A. 100.0 % (24/24)

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_TRIGGER_MUX 100.0 % (22/22) 100.0 % (16/16) 100.0 % (38/38) 100.0 % (46/46) N.A. N.A. 100.0 % (122/122)

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 188 to 190:

188:    pc_tx_trigger <= '1' when (tx_trigger = '1' and data_halt = '0') 
189:                         else 
190:                     '0'; 

Count: 24712771
Threshold: 1

Signal assignment statement on line 188:

188:    pc_tx_trigger <= '1' when (tx_trigger = '1' and data_halt = '0') 
Count: 11402018
Threshold: 1

Signal assignment statement on line 190:

190:                     '0'; 
Count: 13310753
Threshold: 1

If statement on lines 192 to 194:

192:    pc_rx_trigger <= '1' when (rx_triggers(0) = '1' and destuffed = '0') 
193:                         else 
194:                     '0'; 

Count: 22811892
Threshold: 1

Signal assignment statement on line 192:

192:    pc_rx_trigger <= '1' when (rx_triggers(0) = '1' and destuffed = '0') 
Count: 10370795
Threshold: 1

Signal assignment statement on line 194:

194:                     '0'; 
Count: 12441097
Threshold: 1

Signal assignment statement on line 203:

203:    bst_trigger <= tx_trigger; 
Count: 22807237
Threshold: 1

Signal assignment statement on line 204:

204:    bds_trigger <= rx_triggers(1); 
Count: 45604006
Threshold: 1

If statement on lines 214 to 216:

214:    crc_trig_rx_nbs <= '1' when (rx_triggers(0) = '1' and destuffed = '0') 
215:                           else 
216:                       '0'; 

Count: 22811892
Threshold: 1

Signal assignment statement on line 214:

214:    crc_trig_rx_nbs <= '1' when (rx_triggers(0) = '1' and destuffed = '0') 
Count: 10370795
Threshold: 1

Signal assignment statement on line 216:

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

If statement on lines 218 to 220:

218:    crc_trig_tx_nbs <= '1' when (tx_trigger = '1' and data_halt = '0') 
219:                           else 
220:                       '0'; 

Count: 24712771
Threshold: 1

Signal assignment statement on line 218:

218:    crc_trig_tx_nbs <= '1' when (tx_trigger = '1' and data_halt = '0') 
Count: 11402018
Threshold: 1

Signal assignment statement on line 220:

220:                       '0'; 
Count: 13310753
Threshold: 1

If statement on lines 243 to 245:

243:    crc_trig_tx_wbs <= '0' when (fixed_stuff = '1' and data_halt = '1') else 
244:                       '1' when (tx_trigger_q = '1') else 
245:                       '0'; 

Count: 24735340
Threshold: 1

Signal assignment statement on line 243:

243:    crc_trig_tx_wbs <= '0' when (fixed_stuff = '1' and data_halt = '1') else 
Count: 224625
Threshold: 1

Signal assignment statement on line 244:

244:                       '1' when (tx_trigger_q = '1') else 
Count: 12532551
Threshold: 1

Signal assignment statement on line 245:

245:                       '0'; 
Count: 11978164
Threshold: 1

If statement on lines 267 to 269:

267:    crc_trig_rx_wbs <= '0' when (fixed_stuff = '1' and destuffed = '1') else 
268:                       '1' when (rx_triggers(0) = '1') else 
269:                       '0'; 

Count: 22840963
Threshold: 1

Signal assignment statement on line 267:

267:    crc_trig_rx_wbs <= '0' when (fixed_stuff = '1' and destuffed = '1') else 
Count: 161826
Threshold: 1

Signal assignment statement on line 268:

268:                       '1' when (rx_triggers(0) = '1') else 
Count: 11312349
Threshold: 1

Signal assignment statement on line 269:

269:                       '0'; 
Count: 11366788
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

188:    pc_tx_trigger <= '1' when (tx_trigger = '1' and data_halt = '0') 
Evaluated toCountThreshold
BinTrue114020181
BinFalse133107531

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

192:    pc_rx_trigger <= '1' when (rx_triggers(0) = '1' and destuffed = '0') 
Evaluated toCountThreshold
BinTrue103707951
BinFalse124410971

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

214:    crc_trig_rx_nbs <= '1' when (rx_triggers(0) = '1' and destuffed = '0') 
Evaluated toCountThreshold
BinTrue103707951
BinFalse124410971

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

218:    crc_trig_tx_nbs <= '1' when (tx_trigger = '1' and data_halt = '0') 
Evaluated toCountThreshold
BinTrue114020181
BinFalse133107531

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

243:    crc_trig_tx_wbs <= '0' when (fixed_stuff = '1' and data_halt = '1') else 
Evaluated toCountThreshold
BinTrue2246251
BinFalse245107151

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

244:                       '1' when (tx_trigger_q = '1') else 
Evaluated toCountThreshold
BinTrue125325511
BinFalse119781641

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

267:    crc_trig_rx_wbs <= '0' when (fixed_stuff = '1' and destuffed = '1') else 
Evaluated toCountThreshold
BinTrue1618261
BinFalse226791371

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

268:                       '1' when (rx_triggers(0) = '1') else 
Evaluated toCountThreshold
BinTrue113123491
BinFalse113667881

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:

 RX_TRIGGERS
ElementFromToCountThresholdExcluded due to
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 TX_TRIGGER
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 DATA_HALT
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 DESTUFFED
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 FIXED_STUFF
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 BDS_DATA_IN
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 PC_TX_TRIGGER
FromToCountThreshold
Bin01114020181
Bin10114036181

Port:

 PC_RX_TRIGGER
FromToCountThreshold
Bin01103707951
Bin10103723961

Port:

 BST_TRIGGER
FromToCountThreshold
Bin01114020181
Bin10114036181

Port:

 BDS_TRIGGER
FromToCountThreshold
Bin01228004021
Bin10228020031

Port:

 CRC_TRIG_RX_NBS
FromToCountThreshold
Bin01103707951
Bin10103723961

Port:

 CRC_TRIG_TX_NBS
FromToCountThreshold
Bin01114020181
Bin10114036181

Port:

 CRC_TRIG_RX_WBS
FromToCountThreshold
Bin01113123491
Bin10113139501

Port:

 CRC_TRIG_TX_WBS
FromToCountThreshold
Bin01114365871
Bin10114381881

Port:

 CRC_DATA_RX_WBS
FromToCountThreshold
Bin0114056101
Bin1014072011

Signal:

 TX_TRIGGER_Q
FromToCountThreshold
Bin01113979661
Bin10113995671

Uncovered expressions:

Excluded expressions:

Covered expressions:

"and" expression on line 188:

 tx_trigger = '1' and data_halt = '0' 
 <-----LHS------>     <-----RHS-----> 

LHSRHSCountThreshold
BinFalseTrue117226031
BinTrueFalse6337821
BinTrueTrue114020181

"=" expression on line 188:

 tx_trigger = '1' 
Evaluated toCountThreshold
BinFalse126769711
BinTrue120358001

"=" expression on line 188:

 data_halt = '0' 
Evaluated toCountThreshold
BinFalse15881501
BinTrue231246211

"and" expression on line 192:

 rx_triggers(0) = '1' and destuffed = '0' 
 <-------LHS-------->     <-----RHS-----> 

LHSRHSCountThreshold
BinFalseTrue103929611
BinTrueFalse10224671
BinTrueTrue103707951

"=" expression on line 192:

 rx_triggers(0) = '1' 
Evaluated toCountThreshold
BinFalse114186301
BinTrue113932621

"=" expression on line 192:

 destuffed = '0' 
Evaluated toCountThreshold
BinFalse20481361
BinTrue207637561

"and" expression on line 214:

 rx_triggers(0) = '1' and destuffed = '0' 
 <-------LHS-------->     <-----RHS-----> 

LHSRHSCountThreshold
BinFalseTrue103929611
BinTrueFalse10224671
BinTrueTrue103707951

"=" expression on line 214:

 rx_triggers(0) = '1' 
Evaluated toCountThreshold
BinFalse114186301
BinTrue113932621

"=" expression on line 214:

 destuffed = '0' 
Evaluated toCountThreshold
BinFalse20481361
BinTrue207637561

"and" expression on line 218:

 tx_trigger = '1' and data_halt = '0' 
 <-----LHS------>     <-----RHS-----> 

LHSRHSCountThreshold
BinFalseTrue117226031
BinTrueFalse6337821
BinTrueTrue114020181

"=" expression on line 218:

 tx_trigger = '1' 
Evaluated toCountThreshold
BinFalse126769711
BinTrue120358001

"=" expression on line 218:

 data_halt = '0' 
Evaluated toCountThreshold
BinFalse15881501
BinTrue231246211

"and" expression on line 243:

 fixed_stuff = '1' and data_halt = '1' 
 <------LHS------>     <-----RHS-----> 

LHSRHSCountThreshold
BinFalseTrue13677791
BinTrueFalse7795891
BinTrueTrue2246251

"=" expression on line 243:

 fixed_stuff = '1' 
Evaluated toCountThreshold
BinFalse237311261
BinTrue10042141

"=" expression on line 243:

 data_halt = '1' 
Evaluated toCountThreshold
BinFalse231429361
BinTrue15924041

"=" expression on line 244:

 tx_trigger_q = '1' 
Evaluated toCountThreshold
BinFalse119781641
BinTrue125325511

"and" expression on line 267:

 fixed_stuff = '1' and destuffed = '1' 
 <------LHS------>     <-----RHS-----> 

LHSRHSCountThreshold
BinFalseTrue18835951
BinTrueFalse5794531
BinTrueTrue1618261

"=" expression on line 267:

 fixed_stuff = '1' 
Evaluated toCountThreshold
BinFalse220996841
BinTrue7412791

"=" expression on line 267:

 destuffed = '1' 
Evaluated toCountThreshold
BinFalse207955421
BinTrue20454211

"=" expression on line 268:

 rx_triggers(0) = '1' 
Evaluated toCountThreshold
BinFalse113667881
BinTrue113123491

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: