NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.PRESCALER_INST.TRIGGER_GENERATOR_INST

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


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.PRESCALER_INST.TRIGGER_GENERATOR_INST 100.0 % (16/16) 100.0 % (14/14) 100.0 % (22/22) 100.0 % (18/18) N.A. N.A. 100.0 % (70/70)

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 168 to 170:

168:    tx_trig_req_flag_d <= '1' when (rx_trig_req_q = '1' and tx_trig_req = '1') else 
169:                          '0' when (rx_trig_req_q = '0') else 
170:                          tx_trig_req_flag_q; 

Count: 68316590
Threshold: 1

Signal assignment statement on line 168:

168:    tx_trig_req_flag_d <= '1' when (rx_trig_req_q = '1' and tx_trig_req = '1') else 
Count: 11382229
Threshold: 1

Signal assignment statement on line 169:

169:                          '0' when (rx_trig_req_q = '0') else 
Count: 34167586
Threshold: 1

Signal assignment statement on line 170:

170:                          tx_trig_req_flag_q
Count: 22766775
Threshold: 1

If statement on lines 174 to 178:

174:        if (res_n = '0') then 
175:            tx_trig_req_flag_q <= '0'; 
176:        elsif (rising_edge(clk_sys)) then 
177:            tx_trig_req_flag_q <= tx_trig_req_flag_d; 
178:        end if; 

Count: 1090018206
Threshold: 1

Signal assignment statement on line 175:

175:            tx_trig_req_flag_q <= '0'; 
Count: 2424883
Threshold: 1

Signal assignment statement on line 177:

177:            tx_trig_req_flag_q <= tx_trig_req_flag_d; 
Count: 543791678
Threshold: 1

Signal assignment statement on line 181:

181:    tx_trig_req_flag_dq <= tx_trig_req or tx_trig_req_flag_q
Count: 45551402
Threshold: 1

If statement on lines 188 to 192:

188:        if (res_n = '0') then 
189:            rx_trig_req_q <= '0'; 
190:        elsif (rising_edge(clk_sys)) then 
191:            rx_trig_req_q <= rx_trig_req; 
192:        end if; 

Count: 1090018206
Threshold: 1

Signal assignment statement on line 189:

189:            rx_trig_req_q <= '0'; 
Count: 2424883
Threshold: 1

Signal assignment statement on line 191:

191:            rx_trig_req_q <= rx_trig_req; 
Count: 543791678
Threshold: 1

Signal assignment statement on line 200:

200:    rx_triggers(1) <= rx_trig_req
Count: 45560178
Threshold: 1

Signal assignment statement on line 201:

201:    rx_triggers(0) <= rx_trig_req_q
Count: 22767676
Threshold: 1

If statement on lines 208 to 209:

208:    tx_trigger <= '0' when (rx_trig_req_q = '1') else 
209:                  tx_trig_req_flag_dq; 

Count: 68314096
Threshold: 1

Signal assignment statement on line 208:

208:    tx_trigger <= '0' when (rx_trig_req_q = '1') else 
Count: 34145796
Threshold: 1

Signal assignment statement on line 209:

209:                  tx_trig_req_flag_dq
Count: 34168300
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

168:    tx_trig_req_flag_d <= '1' when (rx_trig_req_q = '1' and tx_trig_req = '1') else 
Evaluated toCountThreshold
BinTrue113822291
BinFalse569343611

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

169:                          '0' when (rx_trig_req_q = '0') else 
Evaluated toCountThreshold
BinTrue341675861
BinFalse227667751

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

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

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

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

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

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

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

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

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

208:    tx_trigger <= '0' when (rx_trig_req_q = '1') else 
Evaluated toCountThreshold
BinTrue341457961
BinFalse341683001

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:

 RX_TRIG_REQ
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TX_TRIG_REQ
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 RX_TRIGGERS
ElementFromToCountThreshold
Bin(1)01341607251
Bin(1)10341639271
Bin(0)01227644741
Bin(0)10455585771

Port:

 TX_TRIGGER
FromToCountThreshold
Bin01113910771
Bin10113926771

Signal:

 RX_TRIG_REQ_Q
FromToCountThreshold
Bin01113822371
Bin10113838381

Signal:

 TX_TRIG_REQ_FLAG_D
FromToCountThreshold
Bin01113822291
Bin10113838301

Signal:

 TX_TRIG_REQ_FLAG_Q
FromToCountThreshold
Bin018871
Bin1024881

Signal:

 TX_TRIG_REQ_FLAG_DQ
FromToCountThreshold
Bin01227724131
Bin10227740131

Uncovered expressions:

Excluded expressions:

Covered expressions:

"and" expression on line 168:

 rx_trig_req_q = '1' and tx_trig_req = '1' 
 <-------LHS------->     <------RHS------> 

LHSRHSCountThreshold
BinFalseTrue113910771
BinTrueFalse227635731
BinTrueTrue113822291

"=" expression on line 168:

 rx_trig_req_q = '1' 
Evaluated toCountThreshold
BinFalse341707881
BinTrue341458021

"=" expression on line 168:

 tx_trig_req = '1' 
Evaluated toCountThreshold
BinFalse455432841
BinTrue227733061

"=" expression on line 169:

 rx_trig_req_q = '0' 
Evaluated toCountThreshold
BinFalse227667751
BinTrue341675861

"=" expression on line 174:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10875933231
BinTrue24248831

"or" expression on line 181:

 tx_trig_req or tx_trig_req_flag_q 
 <---LHS--->    <------RHS-------> 

LHSRHSCountThreshold
Bin'0''0'227740131
Bin'0''1'8871
Bin'1''0'227724131

"=" expression on line 188:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10875933231
BinTrue24248831

"=" expression on line 208:

 rx_trig_req_q = '1' 
Evaluated toCountThreshold
BinFalse341683001
BinTrue341457961

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: