NVC code coverage report

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.CAN_CORE_INST.OPERATION_CONTROL_INST

File:  /__w/ctu-can-regression/ctu-can-regression/src/can_core/operation_control.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.CAN_CORE_INST.OPERATION_CONTROL_INST 100.0 % (28/28) 100.0 % (32/32) 100.0 % (24/24) 100.0 % (32/32) 100.0 % (8/8) N.A. 100.0 % (124/124)

Details:

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

Uncovered statements:

Excluded statements:

Covered statements:

If statement:

151:    go_to_off <= '1' when (is_bus_off = '1') and (rx_trigger = '1') 
152:                     else 
153:                 '0'; 

Count: 20048891
Threshold: 1

Signal assignment statement:

151:    go_to_off <= '1' when (is_bus_off = '1') and (rx_trigger = '1') 
Count: 319372
Threshold: 1

Signal assignment statement:

153:                 '0'
Count: 19729519
Threshold: 1

Signal assignment statement:

161:        next_state <= curr_state; 
Count: 1077541
Threshold: 1

Sequential statement:

163:        case curr_state is 
164:        when s_oc_off => 
...
192:            end if; 
193:        end case; 

Count: 1077541
Threshold: 1

If statement:

165:            if (set_idle = '1') then 
166:                next_state <= s_oc_idle; 
167:            end if; 

Count: 643461
Threshold: 1

Signal assignment statement:

166:                next_state <= s_oc_idle; 
Count: 6636
Threshold: 1

If statement:

170:            if (go_to_off = '1') then 
171:                next_state <= s_oc_off; 
...
175:                next_state <= s_oc_receiver; 
176:            end if; 

Count: 168836
Threshold: 1

Signal assignment statement:

171:                next_state <= s_oc_off; 
Count: 6767
Threshold: 1

Signal assignment statement:

173:                next_state <= s_oc_transmitter; 
Count: 19375
Threshold: 1

Signal assignment statement:

175:                next_state <= s_oc_receiver; 
Count: 30070
Threshold: 1

If statement:

179:            if (go_to_off = '1') then 
180:                next_state <= s_oc_off; 
...
184:                next_state <= s_oc_receiver; 
185:            end if; 

Count: 117936
Threshold: 1

Signal assignment statement:

180:                next_state <= s_oc_off; 
Count: 112
Threshold: 1

Signal assignment statement:

182:                next_state <= s_oc_idle; 
Count: 28171
Threshold: 1

Signal assignment statement:

184:                next_state <= s_oc_receiver; 
Count: 1172
Threshold: 1

If statement:

188:            if (set_idle = '1') then 
189:                next_state <= s_oc_idle; 
190:            elsif (set_transmitter = '1') then 
191:                next_state <= s_oc_transmitter; 
192:            end if; 

Count: 147308
Threshold: 1

Signal assignment statement:

189:                next_state <= s_oc_idle; 
Count: 56703
Threshold: 1

Signal assignment statement:

191:                next_state <= s_oc_transmitter; 
Count: 1067
Threshold: 1

Signal assignment statement:

202:        is_idle <= '0'; 
Count: 114459
Threshold: 1

Signal assignment statement:

203:        is_transmitter <= '0'; 
Count: 114459
Threshold: 1

Signal assignment statement:

204:        is_receiver <= '0'; 
Count: 114459
Threshold: 1

Sequential statement:

206:        case curr_state is 
207:        when s_oc_off => 
...
213:            is_receiver <= '1'; 
214:        end case; 

Count: 114459
Threshold: 1

Signal assignment statement:

209:            is_idle <= '1'; 
Count: 55452
Threshold: 1

Signal assignment statement:

211:            is_transmitter <= '1'; 
Count: 19892
Threshold: 1

Signal assignment statement:

213:            is_receiver <= '1'; 
Count: 30888
Threshold: 1

If statement:

222:        if (res_n = '0') then 
223:            curr_state <= s_oc_off; 
224:        elsif (rising_edge(clk_sys)) then 
225:            curr_state <= next_state; 
226:        end if; 

Count: 1055177083
Threshold: 1

Signal assignment statement:

223:            curr_state <= s_oc_off; 
Count: 2418499
Threshold: 1

Signal assignment statement:

225:            curr_state <= next_state; 
Count: 526374300
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

151:    go_to_off <= '1' when (is_bus_off = '1') and (rx_trigger = '1') 
Evaluated toCountThreshold
BinTrue3193721
BinFalse197295191

"case" / "with" / "select" choice:

164:        when s_oc_off => 
Choice ofCountThreshold
Bins_oc_off6434611

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

165:            if (set_idle = '1') then 
Evaluated toCountThreshold
BinTrue66361
BinFalse6368251

"case" / "with" / "select" choice:

169:        when s_oc_idle => 
Choice ofCountThreshold
Bins_oc_idle1688361

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

170:            if (go_to_off = '1') then 
Evaluated toCountThreshold
BinTrue67671
BinFalse1620691

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

172:            elsif (set_transmitter = '1') then 
Evaluated toCountThreshold
BinTrue193751
BinFalse1426941

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

174:            elsif (set_receiver = '1') then 
Evaluated toCountThreshold
BinTrue300701
BinFalse1126241

"case" / "with" / "select" choice:

178:        when s_oc_transmitter => 
Choice ofCountThreshold
Bins_oc_transmitter1179361

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

179:            if (go_to_off = '1') then 
Evaluated toCountThreshold
BinTrue1121
BinFalse1178241

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

181:            elsif (set_idle = '1') then 
Evaluated toCountThreshold
BinTrue281711
BinFalse896531

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

183:            elsif (set_receiver = '1' or arbitration_lost = '1') then 
Evaluated toCountThreshold
BinTrue11721
BinFalse884811

"case" / "with" / "select" choice:

187:        when s_oc_receiver => 
Choice ofCountThreshold
Bins_oc_receiver1473081

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

188:            if (set_idle = '1') then 
Evaluated toCountThreshold
BinTrue567031
BinFalse906051

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

190:            elsif (set_transmitter = '1') then 
Evaluated toCountThreshold
BinTrue10671
BinFalse895381

"case" / "with" / "select" choice:

207:        when s_oc_off => 
Choice ofCountThreshold
Bins_oc_off82271

"case" / "with" / "select" choice:

208:        when s_oc_idle => 
Choice ofCountThreshold
Bins_oc_idle554521

"case" / "with" / "select" choice:

210:        when s_oc_transmitter => 
Choice ofCountThreshold
Bins_oc_transmitter198921

"case" / "with" / "select" choice:

212:        when s_oc_receiver => 
Choice ofCountThreshold
Bins_oc_receiver308881

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

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

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

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

Uncovered toggles:

Excluded toggles:

Covered toggles:

Port:

 CLK_SYS
FromToCountThreshold
Bin015275788691
Bin105275804601

Port:

 RES_N
FromToCountThreshold
Bin0180821
Bin1080721

Port:

 RX_TRIGGER
FromToCountThreshold
Bin01100154141
Bin10100170141

Port:

 IS_BUS_OFF
FromToCountThreshold
Bin0182271
Bin1082361

Port:

 ARBITRATION_LOST
FromToCountThreshold
Bin0111721
Bin1027721

Port:

 SET_TRANSMITTER
FromToCountThreshold
Bin01398101
Bin10414101

Port:

 SET_RECEIVER
FromToCountThreshold
Bin01304691
Bin10320691

Port:

 SET_IDLE
FromToCountThreshold
Bin01956741
Bin10972741

Port:

 IS_TRANSMITTER
FromToCountThreshold
Bin01198921
Bin10214921

Port:

 IS_RECEIVER
FromToCountThreshold
Bin01308881
Bin10324821

Port:

 IS_IDLE
FromToCountThreshold
Bin01554521
Bin10570491

Signal:

 GO_TO_OFF
FromToCountThreshold
Bin013193721
Bin103209721

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression

151:    go_to_off <= '1' when (is_bus_off = '1') and (rx_trigger = '1') 
Evaluated toCountThreshold
BinFalse194087381
BinTrue6401531

"=" expression

151:    go_to_off <= '1' when (is_bus_off = '1') and (rx_trigger = '1'
Evaluated toCountThreshold
BinFalse100266591
BinTrue100222321

"and" expression

151:    go_to_off <= '1' when (is_bus_off = '1') and (rx_trigger = '1') 
                               <-----LHS------>       <-----RHS------>  

LHSRHSCountThreshold
BinFalseTrue97028601
BinTrueFalse3207811
BinTrueTrue3193721

"=" expression

165:            if (set_idle = '1') then 
Evaluated toCountThreshold
BinFalse6368251
BinTrue66361

"=" expression

170:            if (go_to_off = '1') then 
Evaluated toCountThreshold
BinFalse1620691
BinTrue67671

"=" expression

172:            elsif (set_transmitter = '1') then 
Evaluated toCountThreshold
BinFalse1426941
BinTrue193751

"=" expression

174:            elsif (set_receiver = '1') then 
Evaluated toCountThreshold
BinFalse1126241
BinTrue300701

"=" expression

179:            if (go_to_off = '1') then 
Evaluated toCountThreshold
BinFalse1178241
BinTrue1121

"=" expression

181:            elsif (set_idle = '1') then 
Evaluated toCountThreshold
BinFalse896531
BinTrue281711

"=" expression

183:            elsif (set_receiver = '1' or arbitration_lost = '1') then 
Evaluated toCountThreshold
BinFalse895441
BinTrue1091

"=" expression

183:            elsif (set_receiver = '1' or arbitration_lost = '1') then 
Evaluated toCountThreshold
BinFalse885901
BinTrue10631

"or" expression

183:            elsif (set_receiver = '1' or arbitration_lost = '1') then 
                       <------LHS------->    <--------RHS--------->       

LHSRHSCountThreshold
BinFalseFalse884811
BinFalseTrue10631
BinTrueFalse1091

"=" expression

188:            if (set_idle = '1') then 
Evaluated toCountThreshold
BinFalse906051
BinTrue567031

"=" expression

190:            elsif (set_transmitter = '1') then 
Evaluated toCountThreshold
BinFalse895381
BinTrue10671

"=" expression

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

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

"T_OPERATION_CONTROL_STATE" FSM

138:    signal curr_state : t_operation_control_state; 
StateCountThreshold
BinS_OC_OFF82271
BinS_OC_IDLE554521
BinS_OC_TRANSMITTER198921
BinS_OC_RECEIVER308881

"T_OPERATION_CONTROL_STATE" FSM

139:    signal next_state : t_operation_control_state; 
StateCountThreshold
BinS_OC_OFF148641
BinS_OC_IDLE981741
BinS_OC_TRANSMITTER304131
BinS_OC_RECEIVER582061

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: