NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BTL_TOP.I_BTL_TRIGGER_GENERATOR

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/bit_timing_logic/btl_top.vhd


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BTL_TOP.I_BTL_TRIGGER_GENERATOR 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: 68382564
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: 11393249
Threshold: 1

Signal assignment statement on line 169:

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

Signal assignment statement on line 170:

170:                          tx_trig_req_flag_q; 
Count: 22788821
Threshold: 1

If statement on lines 174 to 178:

174:        if (rst_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: 1089136168
Threshold: 1

Signal assignment statement on line 175:

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

Signal assignment statement on line 177:

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

Signal assignment statement on line 181:

181:    tx_trig_req_flag_dq <= tx_trig_req or tx_trig_req_flag_q; 
Count: 45595326
Threshold: 1

If statement on lines 188 to 192:

188:        if (rst_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: 1089136168
Threshold: 1

Signal assignment statement on line 189:

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

Signal assignment statement on line 191:

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

Signal assignment statement on line 200:

200:    rx_triggers(1) <= rx_trig_req; 
Count: 45604006
Threshold: 1

Signal assignment statement on line 201:

201:    rx_triggers(0) <= rx_trig_req_q; 
Count: 22789726
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: 68380071
Threshold: 1

Signal assignment statement on line 208:

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

Signal assignment statement on line 209:

209:                  tx_trig_req_flag_dq; 
Count: 34201208
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
BinTrue113932491
BinFalse569893151

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

169:                          '0' when (rx_trig_req_q = '0') else 
Evaluated toCountThreshold
BinTrue342004941
BinFalse227888211

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

174:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24225931
BinFalse10867135751

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

176:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5433518071
BinFalse5433617681

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

188:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24225931
BinFalse10867135751

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

190:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5433518071
BinFalse5433617681

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

208:    tx_trigger <= '0' when (rx_trig_req_q = '1') else 
Evaluated toCountThreshold
BinTrue341788631
BinFalse342012081

Uncovered toggles:

Excluded toggles:

Port:

 CLK_SYS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RST_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)01341936641
Bin(1)10341968661
Bin(0)01227865241
Bin(0)10456024051

Port:

 TX_TRIGGER
FromToCountThreshold
Bin01114020181
Bin10114036181

Signal:

 RX_TRIG_REQ_Q
FromToCountThreshold
Bin01113932621
Bin10113948631

Signal:

 TX_TRIG_REQ_FLAG_D
FromToCountThreshold
Bin01113932491
Bin10113948501

Signal:

 TX_TRIG_REQ_FLAG_Q
FromToCountThreshold
Bin018871
Bin1024881

Signal:

 TX_TRIG_REQ_FLAG_DQ
FromToCountThreshold
Bin01227943751
Bin10227959751

Uncovered expressions:

Excluded expressions:

Covered expressions:

"and" expression on line 168:

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

LHSRHSCountThreshold
BinFalseTrue114020181
BinTrueFalse227856191
BinTrueTrue113932491

"=" expression on line 168:

 rx_trig_req_q = '1' 
Evaluated toCountThreshold
BinFalse342036961
BinTrue341788681

"=" expression on line 168:

 tx_trig_req = '1' 
Evaluated toCountThreshold
BinFalse455872971
BinTrue227952671

"=" expression on line 169:

 rx_trig_req_q = '0' 
Evaluated toCountThreshold
BinFalse227888211
BinTrue342004941

"=" expression on line 174:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"or" expression on line 181:

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

LHSRHSCountThreshold
Bin'0''0'227959751
Bin'0''1'8871
Bin'1''0'227943751

"=" expression on line 188:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"=" expression on line 208:

 rx_trig_req_q = '1' 
Evaluated toCountThreshold
BinFalse342012081
BinTrue341788631

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: