NVC code coverage report

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/sample_mux.vhd

Sub-instances:

Instance Statement Branch Toggle Expression FSM state Functional Average

Current Instance:

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 % (10/10) 100.0 % (10/10) 100.0 % (24/24) 100.0 % (6/6) N.A. N.A. 100.0 % (50/50)

Details:

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

Uncovered statements:

Excluded statements:

Covered statements:

If statement:

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

Count: 44485134
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

140:              rx_trigger
Count: 43469485
Threshold: 1

If statement:

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

Count: 49374293
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

146:                     prev_sample_q
Count: 24698604
Threshold: 1

If statement:

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

Count: 1055177083
Threshold: 1

Signal assignment statement:

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

If statement:

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

Count: 526374300
Threshold: 1

Signal assignment statement:

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

Uncovered branches:

Excluded branches:

Covered branches:

"if" / "when" / "else" condition:

139:    sample <= sample_sec when (sp_control = SECONDARY_SAMPLE) else 
Evaluated toCountThreshold
BinTrue10156491
BinFalse434694851

"if" / "when" / "else" condition:

145:    prev_sample_d <= data_rx_synced when (sample = '1') else 
Evaluated toCountThreshold
BinTrue246756891
BinFalse246986041

"if" / "when" / "else" condition:

150:        if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue24184991
BinFalse10527585841

"if" / "when" / "else" condition:

152:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5263743001
BinFalse5263842841

"if" / "when" / "else" condition:

153:            if (mr_settings_ena = '1') then 
Evaluated toCountThreshold
BinTrue5263694601
BinFalse48401

Uncovered toggles:

Excluded toggles:

Covered toggles:

Port:

 CLK_SYS
FromToCountThreshold
Bin015275788691
Bin105275804601

Port:

 RES_N
FromToCountThreshold
Bin0180821
Bin1080721

Port:

 SP_CONTROL(1)
FromToCountThreshold
Bin0142061
Bin1058061

Port:

 SP_CONTROL(0)
FromToCountThreshold
Bin01255481
Bin10271481

Port:

 RX_TRIGGER
FromToCountThreshold
Bin01220841271
Bin10220857271

Port:

 SAMPLE_SEC
FromToCountThreshold
Bin011903341
Bin101919341

Port:

 MR_SETTINGS_ENA
FromToCountThreshold
Bin0164821
Bin1080721

Port:

 DATA_RX_SYNCED
FromToCountThreshold
Bin0114008961
Bin1013992961

Port:

 PREV_SAMPLE
FromToCountThreshold
Bin0113905581
Bin1013889581

Signal:

 SAMPLE
FromToCountThreshold
Bin01218966661
Bin10218982661

Signal:

 PREV_SAMPLE_D
FromToCountThreshold
Bin0124306391
Bin1024290391

Signal:

 PREV_SAMPLE_Q
FromToCountThreshold
Bin0113905581
Bin1013889581

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression

145:    prev_sample_d <= data_rx_synced when (sample = '1') else 
Evaluated toCountThreshold
BinFalse246986041
BinTrue246756891

"=" expression

150:        if (res_n = '0') then 
Evaluated toCountThreshold
BinFalse10527585841
BinTrue24184991

"=" expression

153:            if (mr_settings_ena = '1') then 
Evaluated toCountThreshold
BinFalse48401
BinTrue5263694601

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: