NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.BUS_SAMPLING_INST.DATA_EDGE_DETECTOR_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.DATA_EDGE_DETECTOR_INST 100.0 % (19/19) 100.0 % (12/12) 100.0 % (28/28) 100.0 % (35/35) N.A. N.A. 100.0 % (94/94)

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 161 to 172:

161:        if (res_n = '0') then 
162:            rx_data_prev        <= RECESSIVE; 
...
171:            end if; 
172:        end if; 

Count: 1090018206
Threshold: 1

Signal assignment statement on line 162:

162:            rx_data_prev        <= RECESSIVE; 
Count: 2424883
Threshold: 1

Signal assignment statement on line 163:

163:            tx_data_prev        <= RECESSIVE; 
Count: 2424883
Threshold: 1

Signal assignment statement on line 164:

164:            rx_data_sync_prev   <= RECESSIVE; 
Count: 2424883
Threshold: 1

Signal assignment statement on line 166:

166:            rx_data_prev        <= rx_data; 
Count: 543791678
Threshold: 1

Signal assignment statement on line 167:

167:            tx_data_prev        <= tx_data; 
Count: 543791678
Threshold: 1

If statement on lines 169 to 171:

169:            if (tq_edge = '1') then 
170:                rx_data_sync_prev <= rx_data; 
171:            end if; 

Count: 543791678
Threshold: 1

Signal assignment statement on line 170:

170:                rx_data_sync_prev <= rx_data; 
Count: 343847624
Threshold: 1

If statement on lines 180 to 182:

180:    tx_edge_i <= '1' when (tx_data_prev /= tx_data) and (tx_data_prev = RECESSIVE) 
181:                     else 
182:                 '0'; 

Count: 2533595
Threshold: 1

Signal assignment statement on line 180:

180:    tx_edge_i <= '1' when (tx_data_prev /= tx_data) and (tx_data_prev = RECESSIVE) 
Count: 633828
Threshold: 1

Signal assignment statement on line 182:

182:                 '0'
Count: 1899767
Threshold: 1

If statement on lines 189 to 191:

189:    rx_edge_i <= '1' when (rx_data_prev /= rx_data) and (rx_data_prev = RECESSIVE) 
190:                     else 
191:                 '0'; 

Count: 5603702
Threshold: 1

Signal assignment statement on line 189:

189:    rx_edge_i <= '1' when (rx_data_prev /= rx_data) and (rx_data_prev = RECESSIVE) 
Count: 1400928
Threshold: 1

Signal assignment statement on line 191:

191:                 '0'
Count: 4202774
Threshold: 1

If statement on lines 201 to 206:

201:    sync_edge <= '1' when (rx_data_sync_prev /= rx_data) and 
202:                          (rx_data_sync_prev = RECESSIVE) and 
203:                          (prev_rx_sample /= rx_data) and 
204:                          (tq_edge = '1') 
205:                     else 
206:                 '0'; 

Count: 229735331
Threshold: 1

Signal assignment statement on line 201:

201:    sync_edge <= '1' when (rx_data_sync_prev /= rx_data) and 
Count: 1555192
Threshold: 1

Signal assignment statement on line 206:

206:                 '0'
Count: 228180139
Threshold: 1

Signal assignment statement on line 211:

211:    rx_edge <= rx_edge_i
Count: 2805057
Threshold: 1

Signal assignment statement on line 212:

212:    tx_edge <= tx_edge_i
Count: 1270858
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

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

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

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

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

169:            if (tq_edge = '1') then 
Evaluated toCountThreshold
BinTrue3438476241
BinFalse1999440541

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

180:    tx_edge_i <= '1' when (tx_data_prev /= tx_data) and (tx_data_prev = RECESSIVE) 
Evaluated toCountThreshold
BinTrue6338281
BinFalse18997671

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

189:    rx_edge_i <= '1' when (rx_data_prev /= rx_data) and (rx_data_prev = RECESSIVE) 
Evaluated toCountThreshold
BinTrue14009281
BinFalse42027741

"if" / "when" / "else" condition on lines 201 to 204:

201:    sync_edge <= '1' when (rx_data_sync_prev /= rx_data) and 
202:                          (rx_data_sync_prev = RECESSIVE) and 
203:                          (prev_rx_sample /= rx_data) and 
204:                          (tq_edge = '1') 

Evaluated toCountThreshold
BinTrue15551921
BinFalse2281801391

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:

 TX_DATA
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RX_DATA
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 PREV_RX_SAMPLE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TQ_EDGE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 TX_EDGE
FromToCountThreshold
Bin016338281
Bin106354291

Port:

 RX_EDGE
FromToCountThreshold
Bin0114009281
Bin1014025281

Port:

 SYNC_EDGE
FromToCountThreshold
Bin0115551921
Bin1015567931

Signal:

 RX_DATA_PREV
FromToCountThreshold
Bin0114025281
Bin1014009271

Signal:

 TX_DATA_PREV
FromToCountThreshold
Bin016337971
Bin106322001

Signal:

 RX_DATA_SYNC_PREV
FromToCountThreshold
Bin0114010261
Bin1013994251

Signal:

 RX_EDGE_I
FromToCountThreshold
Bin0114009281
Bin1014025281

Signal:

 TX_EDGE_I
FromToCountThreshold
Bin016338281
Bin106354291

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 161:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10875933231
BinTrue24248831

"=" expression on line 169:

 tq_edge = '1' 
Evaluated toCountThreshold
BinFalse1999440541
BinTrue3438476241

"and" expression on line 180:

 (tx_data_prev /= tx_data) and (tx_data_prev = RECESSIVE) 
  <---------LHS--------->       <---------RHS---------->  

LHSRHSCountThreshold
BinFalseTrue6337971
BinTrueFalse6321691
BinTrueTrue6338281

"/=" expression on line 180:

 tx_data_prev /= tx_data 
Evaluated toCountThreshold
BinFalse12675981
BinTrue12659971

"=" expression on line 180:

 tx_data_prev = RECESSIVE 
Evaluated toCountThreshold
BinFalse12659701
BinTrue12676251

"and" expression on line 189:

 (rx_data_prev /= rx_data) and (rx_data_prev = RECESSIVE) 
  <---------LHS--------->       <---------RHS---------->  

LHSRHSCountThreshold
BinFalseTrue14006371
BinTrueFalse14008761
BinTrueTrue14009281

"/=" expression on line 189:

 rx_data_prev /= rx_data 
Evaluated toCountThreshold
BinFalse28018981
BinTrue28018041

"=" expression on line 189:

 rx_data_prev = RECESSIVE 
Evaluated toCountThreshold
BinFalse28021371
BinTrue28015651

"and" expression on lines 201 to 204:

 (rx_data_sync_prev /= rx_data) and (rx_data_sync_prev = RECESSIVE) and (prev_rx_sample /= rx_data) and (tq_edge = '1') 
 <----------------------------------------------LHS----------------------------------------------->      <----RHS---->  

LHSRHSCountThreshold
BinFalseTrue1168557581
BinTrueFalse4706741
BinTrueTrue15551921

"and" expression on lines 201 to 203:

 (rx_data_sync_prev /= rx_data) and (rx_data_sync_prev = RECESSIVE) and (prev_rx_sample /= rx_data) 
 <------------------------------LHS------------------------------->      <----------RHS---------->  

LHSRHSCountThreshold
BinFalseTrue378930581
BinTrueFalse59141
BinTrueTrue20258661

"and" expression on lines 201 to 202:

 (rx_data_sync_prev /= rx_data) and (rx_data_sync_prev = RECESSIVE) 
  <-----------LHS------------>       <------------RHS------------>  

LHSRHSCountThreshold
BinFalseTrue1515865571
BinTrueFalse20356961
BinTrueTrue20317801

"/=" expression on line 201:

 rx_data_sync_prev /= rx_data 
Evaluated toCountThreshold
BinFalse2256678551
BinTrue40674761

"=" expression on line 202:

 rx_data_sync_prev = RECESSIVE 
Evaluated toCountThreshold
BinFalse761169941
BinTrue1536183371

"/=" expression on line 203:

 prev_rx_sample /= rx_data 
Evaluated toCountThreshold
BinFalse1898164071
BinTrue399189241

"=" expression on line 204:

 tq_edge = '1' 
Evaluated toCountThreshold
BinFalse1113243811
BinTrue1184109501

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: