| Current Instance | Statement | Branch | Toggle | Expression | FSM state | Functional | Average |
|---|---|---|---|---|---|---|---|
| CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_FC_TOP.I_MAC_FC_FSM | 100.0 % (47/47) | 100.0 % (38/38) | 100.0 % (100/100) | 100.0 % (33/33) | 100.0 % (6/6) | N.A. | 100.0 % (224/224) |
| Statement | Branch | Toggle | Expression | FSM state | Functional |
|---|
169: tx_err_ctr_mt_erp <= '1' when (unsigned(tx_err_ctr) >= unsigned(mr_erp_erp_limit))
170: else
171: '0'; 169: tx_err_ctr_mt_erp <= '1' when (unsigned(tx_err_ctr) >= unsigned(mr_erp_erp_limit)) 171: '0'; 174: rx_err_ctr_mt_erp <= '1' when (unsigned(rx_err_ctr) >= unsigned(mr_erp_erp_limit))
175: else
176: '0'; 174: rx_err_ctr_mt_erp <= '1' when (unsigned(rx_err_ctr) >= unsigned(mr_erp_erp_limit)) 176: '0'; 179: tx_err_ctr_mt_255 <= '1' when (unsigned(tx_err_ctr) > 255)
180: else
181: '0'; 179: tx_err_ctr_mt_255 <= '1' when (unsigned(tx_err_ctr) > 255) 181: '0'; 184: tx_err_ctr_mt_ewl <= '1' when (unsigned(tx_err_ctr) >= ('0' & unsigned(mr_ewl_ew_limit)))
185: else
186: '0'; 184: tx_err_ctr_mt_ewl <= '1' when (unsigned(tx_err_ctr) >= ('0' & unsigned(mr_ewl_ew_limit))) 186: '0'; 189: rx_err_ctr_mt_ewl <= '1' when (unsigned(rx_err_ctr) >= ('0' & unsigned(mr_ewl_ew_limit)))
190: else
191: '0'; 189: rx_err_ctr_mt_ewl <= '1' when (unsigned(rx_err_ctr) >= ('0' & unsigned(mr_ewl_ew_limit))) 191: '0'; 193: err_warning_limit_d <= '1' when (tx_err_ctr_mt_ewl = '1' or rx_err_ctr_mt_ewl = '1')
194: else
195: '0'; 193: err_warning_limit_d <= '1' when (tx_err_ctr_mt_ewl = '1' or rx_err_ctr_mt_ewl = '1') 195: '0'; 202: if (rst_n = '0') then
203: err_warning_limit_q <= '0';
204: elsif (rising_edge(clk_sys)) then
205: err_warning_limit_q <= err_warning_limit_d;
206: end if; 203: err_warning_limit_q <= '0'; 205: err_warning_limit_q <= err_warning_limit_d; 209: err_warning_limit_pulse <= '1' when (err_warning_limit_d /= err_warning_limit_q)
210: else
211: '0'; 209: err_warning_limit_pulse <= '1' when (err_warning_limit_d /= err_warning_limit_q) 211: '0'; 213: mr_status_ewl <= err_warning_limit_d; 221: next_state <= curr_state; 223: case curr_state is
224: when s_fc_err_active =>
...
239: end if;
240: end case; 225: if (tx_err_ctr_mt_erp = '1' or rx_err_ctr_mt_erp = '1') then
226: next_state <= s_fc_err_passive;
227: end if; 226: next_state <= s_fc_err_passive; 230: if (tx_err_ctr_mt_255 = '1') then
231: next_state <= s_fc_bus_off;
232: elsif (tx_err_ctr_mt_erp = '0' and rx_err_ctr_mt_erp = '0') then
233: next_state <= s_fc_err_active;
234: end if; 231: next_state <= s_fc_bus_off; 233: next_state <= s_fc_err_active; 237: if (set_err_active = '1') then
238: next_state <= s_fc_err_active;
239: end if; 238: next_state <= s_fc_err_active; 249: if (rst_n = '0') then
250: curr_state <= s_fc_bus_off;
251: elsif (rising_edge(clk_sys)) then
252: curr_state <= next_state;
253: end if; 250: curr_state <= s_fc_bus_off; 252: curr_state <= next_state; 261: is_err_active <= '0'; 262: is_err_passive <= '0'; 263: is_bus_off <= '0'; 265: case curr_state is
266: when s_fc_err_active =>
...
273: is_bus_off <= '1';
274: end case; 267: is_err_active <= '1'; 270: is_err_passive <= '1'; 273: is_bus_off <= '1'; 278: fcs_changed <= '1' when (curr_state /= next_state) else
279: '0'; 278: fcs_changed <= '1' when (curr_state /= next_state) else 279: '0'; 169: tx_err_ctr_mt_erp <= '1' when (unsigned(tx_err_ctr) >= unsigned(mr_erp_erp_limit)) | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 2042 | 1 |
| Bin | False | 32001 | 1 |
174: rx_err_ctr_mt_erp <= '1' when (unsigned(rx_err_ctr) >= unsigned(mr_erp_erp_limit)) | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 8878 | 1 |
| Bin | False | 18608 | 1 |
179: tx_err_ctr_mt_255 <= '1' when (unsigned(tx_err_ctr) > 255) | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 253 | 1 |
| Bin | False | 33619 | 1 |
184: tx_err_ctr_mt_ewl <= '1' when (unsigned(tx_err_ctr) >= ('0' & unsigned(mr_ewl_ew_limit))) | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 2662 | 1 |
| Bin | False | 31381 | 1 |
189: rx_err_ctr_mt_ewl <= '1' when (unsigned(rx_err_ctr) >= ('0' & unsigned(mr_ewl_ew_limit))) | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 9286 | 1 |
| Bin | False | 18200 | 1 |
193: err_warning_limit_d <= '1' when (tx_err_ctr_mt_ewl = '1' or rx_err_ctr_mt_ewl = '1') | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 1178 | 1 |
| Bin | False | 3983 | 1 |
202: if (rst_n = '0') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 2422593 | 1 |
| Bin | False | 1086713575 | 1 |
204: elsif (rising_edge(clk_sys)) then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 543351807 | 1 |
| Bin | False | 543361768 | 1 |
209: err_warning_limit_pulse <= '1' when (err_warning_limit_d /= err_warning_limit_q) | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 3164 | 1 |
| Bin | False | 4765 | 1 |
224: when s_fc_err_active => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_err_active | 17608 | 1 |
225: if (tx_err_ctr_mt_erp = '1' or rx_err_ctr_mt_erp = '1') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 1114 | 1 |
| Bin | False | 16494 | 1 |
229: when s_fc_err_passive => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_err_passive | 1559 | 1 |
230: if (tx_err_ctr_mt_255 = '1') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 272 | 1 |
| Bin | False | 1287 | 1 |
232: elsif (tx_err_ctr_mt_erp = '0' and rx_err_ctr_mt_erp = '0') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 188 | 1 |
| Bin | False | 1099 | 1 |
236: when s_fc_bus_off => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_bus_off | 15301 | 1 |
237: if (set_err_active = '1') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 6637 | 1 |
| Bin | False | 8664 | 1 |
249: if (rst_n = '0') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 2422593 | 1 |
| Bin | False | 1086713575 | 1 |
251: elsif (rising_edge(clk_sys)) then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 543351807 | 1 |
| Bin | False | 543361768 | 1 |
266: when s_fc_err_active => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_err_active | 8426 | 1 |
269: when s_fc_err_passive => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_err_passive | 774 | 1 |
272: when s_fc_bus_off => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_bus_off | 8228 | 1 |
278: fcs_changed <= '1' when (curr_state /= next_state) else | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 15997 | 1 |
| Bin | False | 17598 | 1 |
CLK_SYS| From | To | Count | Threshold | Excluded due to | |
|---|---|---|---|---|---|
| Bin | 0 | 1 | 0 | 1 | Exclude file |
| Bin | 1 | 0 | 0 | 1 | Exclude file |
RST_N| From | To | Count | Threshold | Excluded due to | |
|---|---|---|---|---|---|
| Bin | 0 | 1 | 0 | 1 | Exclude file |
| Bin | 1 | 0 | 0 | 1 | Exclude file |
SET_ERR_ACTIVE| From | To | Count | Threshold | Excluded due to | |
|---|---|---|---|---|---|
| Bin | 0 | 1 | 0 | 1 | Exclude file |
| Bin | 1 | 0 | 0 | 1 | Exclude file |
MR_EWL_EW_LIMIT| Element | From | To | Count | Threshold | Excluded due to | |
|---|---|---|---|---|---|---|
| Bin | (7) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (7) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (6) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (6) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (5) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (5) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (4) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (4) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (3) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (3) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (2) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (2) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (1) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (1) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (0) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (0) | 1 | 0 | 0 | 1 | Exclude file |
MR_ERP_ERP_LIMIT| Element | From | To | Count | Threshold | Excluded due to | |
|---|---|---|---|---|---|---|
| Bin | (7) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (7) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (6) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (6) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (5) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (5) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (4) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (4) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (3) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (3) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (2) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (2) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (1) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (1) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (0) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (0) | 1 | 0 | 0 | 1 | Exclude file |
TX_ERR_CTR| Element | From | To | Count | Threshold | Excluded due to | |
|---|---|---|---|---|---|---|
| Bin | (8) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (8) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (7) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (7) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (6) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (6) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (5) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (5) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (4) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (4) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (3) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (3) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (2) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (2) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (1) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (1) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (0) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (0) | 1 | 0 | 0 | 1 | Exclude file |
RX_ERR_CTR| Element | From | To | Count | Threshold | Excluded due to | |
|---|---|---|---|---|---|---|
| Bin | (8) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (8) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (7) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (7) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (6) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (6) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (5) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (5) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (4) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (4) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (3) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (3) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (2) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (2) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (1) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (1) | 1 | 0 | 0 | 1 | Exclude file |
| Bin | (0) | 0 | 1 | 0 | 1 | Exclude file |
| Bin | (0) | 1 | 0 | 0 | 1 | Exclude file |
MR_STATUS_EWL| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 782 | 1 |
| Bin | 1 | 0 | 2382 | 1 |
IS_ERR_ACTIVE| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 8426 | 1 |
| Bin | 1 | 0 | 8416 | 1 |
IS_ERR_PASSIVE| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 774 | 1 |
| Bin | 1 | 0 | 2375 | 1 |
IS_BUS_OFF| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 8228 | 1 |
| Bin | 1 | 0 | 8238 | 1 |
FCS_CHANGED| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 15997 | 1 |
| Bin | 1 | 0 | 17598 | 1 |
ERR_WARNING_LIMIT_PULSE| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 3164 | 1 |
| Bin | 1 | 0 | 4765 | 1 |
TX_ERR_CTR_MT_ERP| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 692 | 1 |
| Bin | 1 | 0 | 2293 | 1 |
RX_ERR_CTR_MT_ERP| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 527 | 1 |
| Bin | 1 | 0 | 2128 | 1 |
TX_ERR_CTR_MT_EWL| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 695 | 1 |
| Bin | 1 | 0 | 2296 | 1 |
RX_ERR_CTR_MT_EWL| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 450 | 1 |
| Bin | 1 | 0 | 2050 | 1 |
TX_ERR_CTR_MT_255| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 253 | 1 |
| Bin | 1 | 0 | 1854 | 1 |
ERR_WARNING_LIMIT_D| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 782 | 1 |
| Bin | 1 | 0 | 2382 | 1 |
ERR_WARNING_LIMIT_Q| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 782 | 1 |
| Bin | 1 | 0 | 2382 | 1 |
tx_err_ctr_mt_ewl = '1' or rx_err_ctr_mt_ewl = '1'
<---------LHS---------> <---------RHS---------> | LHS | RHS | Count | Threshold | |
|---|---|---|---|---|
| Bin | False | False | 3983 | 1 |
| Bin | False | True | 255 | 1 |
| Bin | True | False | 560 | 1 |
tx_err_ctr_mt_ewl = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 4238 | 1 |
| Bin | True | 923 | 1 |
rx_err_ctr_mt_ewl = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 4543 | 1 |
| Bin | True | 618 | 1 |
rst_n = '0' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 1086713575 | 1 |
| Bin | True | 2422593 | 1 |
err_warning_limit_d /= err_warning_limit_q | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 4765 | 1 |
| Bin | True | 3164 | 1 |
tx_err_ctr_mt_erp = '1' or rx_err_ctr_mt_erp = '1'
<---------LHS---------> <---------RHS---------> | LHS | RHS | Count | Threshold | |
|---|---|---|---|---|
| Bin | False | False | 16494 | 1 |
| Bin | False | True | 315 | 1 |
| Bin | True | False | 506 | 1 |
tx_err_ctr_mt_erp = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 16809 | 1 |
| Bin | True | 799 | 1 |
rx_err_ctr_mt_erp = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 17000 | 1 |
| Bin | True | 608 | 1 |
tx_err_ctr_mt_255 = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 1287 | 1 |
| Bin | True | 272 | 1 |
tx_err_ctr_mt_erp = '0' and rx_err_ctr_mt_erp = '0'
<---------LHS---------> <---------RHS---------> | LHS | RHS | Count | Threshold | |
|---|---|---|---|---|
| Bin | False | True | 478 | 1 |
| Bin | True | False | 315 | 1 |
| Bin | True | True | 188 | 1 |
tx_err_ctr_mt_erp = '0' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 784 | 1 |
| Bin | True | 503 | 1 |
rx_err_ctr_mt_erp = '0' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 621 | 1 |
| Bin | True | 666 | 1 |
set_err_active = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 8664 | 1 |
| Bin | True | 6637 | 1 |
rst_n = '0' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 1086713575 | 1 |
| Bin | True | 2422593 | 1 |
curr_state /= next_state | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 17598 | 1 |
| Bin | True | 15997 | 1 |
163: signal curr_state : t_fault_conf_state; | State | Count | Threshold | |
|---|---|---|---|
| Bin | S_FC_ERR_ACTIVE | 8426 | 1 |
| Bin | S_FC_ERR_PASSIVE | 774 | 1 |
| Bin | S_FC_BUS_OFF | 8228 | 1 |
164: signal next_state : t_fault_conf_state; | State | Count | Threshold | |
|---|---|---|---|
| Bin | S_FC_ERR_ACTIVE | 8596 | 1 |
| Bin | S_FC_ERR_PASSIVE | 944 | 1 |
| Bin | S_FC_BUS_OFF | 8228 | 1 |