NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.BUS_SAMPLING_INST.SAMPLE_MUX_INST

File:  /__w/ctu-can-regression/ctu-can-regression/src/bus_sampling/bus_sampling.vhd


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.BUS_SAMPLING_INST.SAMPLE_MUX_INST 100.0 % (11/11) 100.0 % (10/10) 100.0 % (24/24) 100.0 % (6/6) N.A. N.A. 100.0 % (51/51)

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 139 to 140:

139:    sample <= sample_sec when (sp_control = SECONDARY_SAMPLE) else 
140:              rx_trigger; 

Count: 45840611
Threshold: 1

Signal assignment statement on line 139:

139:    sample <= sample_sec when (sp_control = SECONDARY_SAMPLE) else 
Count: 861561
Threshold: 1

Signal assignment statement on line 140:

140:              rx_trigger
Count: 44979050
Threshold: 1

If statement on lines 145 to 146:

145:    prev_sample_d <= data_rx_synced when (sample = '1') else 
146:                     prev_sample_q; 

Count: 50829236
Threshold: 1

Signal assignment statement on line 145:

145:    prev_sample_d <= data_rx_synced when (sample = '1') else 
Count: 25403115
Threshold: 1

Signal assignment statement on line 146:

146:                     prev_sample_q
Count: 25426121
Threshold: 1

If statement on lines 150 to 156:

150:        if (res_n = '0') then 
151:            prev_sample_q <= RECESSIVE; 
...
155:            end if; 
156:        end if; 

Count: 1090018206
Threshold: 1

Signal assignment statement on line 151:

151:            prev_sample_q <= RECESSIVE; 
Count: 2424883
Threshold: 1

If statement on lines 153 to 155:

153:            if (mr_settings_ena = '1') then 
154:                prev_sample_q <= prev_sample_d; 
155:            end if; 

Count: 543791678
Threshold: 1

Signal assignment statement on line 154:

154:                prev_sample_q <= prev_sample_d; 
Count: 543786837
Threshold: 1

Signal assignment statement on line 162:

162:    prev_sample <= prev_sample_q
Count: 2784450
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

139:    sample <= sample_sec when (sp_control = SECONDARY_SAMPLE) else 
Evaluated toCountThreshold
BinTrue8615611
BinFalse449790501

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

145:    prev_sample_d <= data_rx_synced when (sample = '1') else 
Evaluated toCountThreshold
BinTrue254031151
BinFalse254261211

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

150:        if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue24248831
BinFalse10875933231

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

152:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5437916781
BinFalse5438016451

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

153:            if (mr_settings_ena = '1') then 
Evaluated toCountThreshold
BinTrue5437868371
BinFalse48411

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:

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

Port:

 RX_TRIGGER
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 SAMPLE_SEC
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 MR_SETTINGS_ENA
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 DATA_RX_SYNCED
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 PREV_SAMPLE
FromToCountThreshold
Bin0113922251
Bin1013906241

Signal:

 SAMPLE
FromToCountThreshold
Bin01226208651
Bin10226224661

Signal:

 PREV_SAMPLE_D
FromToCountThreshold
Bin0124455521
Bin1024439511

Signal:

 PREV_SAMPLE_Q
FromToCountThreshold
Bin0113922251
Bin1013906241

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 145:

 sample = '1' 
Evaluated toCountThreshold
BinFalse254261211
BinTrue254031151

"=" expression on line 150:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10875933231
BinTrue24248831

"=" expression on line 153:

 mr_settings_ena = '1' 
Evaluated toCountThreshold
BinFalse48411
BinTrue5437868371

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: