NVC code coverage report

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/trigger_generator.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.PRESCALER_INST.TRIGGER_GENERATOR_INST 100.0 % (14/14) 100.0 % (14/14) 100.0 % (22/22) 100.0 % (18/18) N.A. N.A. 100.0 % (68/68)

Details:

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

Uncovered statements:

Excluded statements:

Covered statements:

If statement:

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: 66234385
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

170:                          tx_trig_req_flag_q
Count: 22072720
Threshold: 1

If statement:

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: 1055177083
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

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

If statement:

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: 1055177083
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

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

If statement:

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

Count: 66231839
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

209:                  tx_trig_req_flag_dq
Count: 33127094
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

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

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

169:                          '0' when (rx_trig_req_q = '0') else 
Evaluated toCountThreshold
BinTrue331264341
BinFalse220727201

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

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

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

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

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

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

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

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

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

208:    tx_trigger <= '0' when (rx_trig_req_q = '1') else 
Evaluated toCountThreshold
BinTrue331047451
BinFalse331270941

Uncovered toggles:

Excluded toggles:

Covered toggles:

Port:

 CLK_SYS
FromToCountThreshold
Bin015275788691
Bin105275804601

Port:

 RES_N
FromToCountThreshold
Bin0180821
Bin1080721

Port:

 RX_TRIG_REQ
FromToCountThreshold
Bin01220841271
Bin10220857271

Port:

 TX_TRIG_REQ
FromToCountThreshold
Bin01220782881
Bin10220798871

Port:

 RX_TRIGGERS(1)
FromToCountThreshold
Bin01331193621
Bin10331225621

Port:

 RX_TRIGGERS(0)
FromToCountThreshold
Bin01220704701
Bin10441698541

Port:

 TX_TRIGGER
FromToCountThreshold
Bin01110440031
Bin10110456021

Signal:

 RX_TRIG_REQ_Q
FromToCountThreshold
Bin01110352351
Bin10110368351

Signal:

 TX_TRIG_REQ_FLAG_D
FromToCountThreshold
Bin01110352311
Bin10110368311

Signal:

 TX_TRIG_REQ_FLAG_Q
FromToCountThreshold
Bin019401
Bin1025401

Signal:

 TX_TRIG_REQ_FLAG_DQ
FromToCountThreshold
Bin01220782881
Bin10220798871

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression

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

"=" expression

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

"and" expression

168:    tx_trig_req_flag_d <= '1' when (rx_trig_req_q = '1' and tx_trig_req = '1') else 
                                        <-------LHS------->     <------RHS------>       

LHSRHSCountThreshold
BinFalseTrue110440031
BinTrueFalse220695201
BinTrueTrue110352311

"=" expression

169:                          '0' when (rx_trig_req_q = '0') else 
Evaluated toCountThreshold
BinFalse220727201
BinTrue331264341

"=" expression

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

"or" expression

181:    tx_trig_req_flag_dq <= tx_trig_req or tx_trig_req_flag_q
                               <---LHS--->    <------RHS------->  

LHSRHSCountThreshold
Bin'0''0'220798871
Bin'0''1'9401
Bin'1''0'220782881

"=" expression

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

"=" expression

208:    tx_trigger <= '0' when (rx_trig_req_q = '1') else 
Evaluated toCountThreshold
BinFalse331270941
BinTrue331047451

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: