| Current Instance | Statement | Branch | Toggle | Expression | FSM state | Functional | Average |
|---|---|---|---|---|---|---|---|
| CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.CAN_CORE_INST.FAULT_CONFINEMENT_INST.FAULT_CONFINEMENT_FSM_INST | 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 (res_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 (res_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 | 2024 | 1 |
| Bin | False | 31571 | 1 |
174: rx_err_ctr_mt_erp <= '1' when (unsigned(rx_err_ctr) >= unsigned(mr_erp_erp_limit)) | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 8863 | 1 |
| Bin | False | 18593 | 1 |
179: tx_err_ctr_mt_255 <= '1' when (unsigned(tx_err_ctr) > 255) | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 246 | 1 |
| Bin | False | 33180 | 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 | 2620 | 1 |
| Bin | False | 30976 | 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 | 9275 | 1 |
| Bin | False | 18182 | 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 | 1175 | 1 |
| Bin | False | 3979 | 1 |
202: if (res_n = '0') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 2424883 | 1 |
| Bin | False | 1087593323 | 1 |
204: elsif (rising_edge(clk_sys)) then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 543791678 | 1 |
| Bin | False | 543801645 | 1 |
209: err_warning_limit_pulse <= '1' when (err_warning_limit_d /= err_warning_limit_q) | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 3156 | 1 |
| Bin | False | 4757 | 1 |
224: when s_fc_err_active => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_err_active | 17595 | 1 |
225: if (tx_err_ctr_mt_erp = '1' or rx_err_ctr_mt_erp = '1') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 1101 | 1 |
| Bin | False | 16494 | 1 |
229: when s_fc_err_passive => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_err_passive | 1534 | 1 |
230: if (tx_err_ctr_mt_255 = '1') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 260 | 1 |
| Bin | False | 1274 | 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 | 1086 | 1 |
236: when s_fc_bus_off => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_bus_off | 15287 | 1 |
237: if (set_err_active = '1') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 6637 | 1 |
| Bin | False | 8650 | 1 |
249: if (res_n = '0') then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 2424883 | 1 |
| Bin | False | 1087593323 | 1 |
251: elsif (rising_edge(clk_sys)) then | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 543791678 | 1 |
| Bin | False | 543801645 | 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 | 761 | 1 |
272: when s_fc_bus_off => | Choice of | Count | Threshold | |
|---|---|---|---|
| Bin | s_fc_bus_off | 8227 | 1 |
278: fcs_changed <= '1' when (curr_state /= next_state) else | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | True | 15983 | 1 |
| Bin | False | 17584 | 1 |
CLK_SYS| From | To | Count | Threshold | Excluded due to | |
|---|---|---|---|---|---|
| Bin | 0 | 1 | 0 | 1 | Exclude file |
| Bin | 1 | 0 | 0 | 1 | Exclude file |
RES_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 | 778 | 1 |
| Bin | 1 | 0 | 2378 | 1 |
IS_ERR_ACTIVE| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 8426 | 1 |
| Bin | 1 | 0 | 8415 | 1 |
IS_ERR_PASSIVE| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 761 | 1 |
| Bin | 1 | 0 | 2362 | 1 |
IS_BUS_OFF| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 8227 | 1 |
| Bin | 1 | 0 | 8238 | 1 |
FCS_CHANGED| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 15983 | 1 |
| Bin | 1 | 0 | 17584 | 1 |
ERR_WARNING_LIMIT_PULSE| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 3156 | 1 |
| Bin | 1 | 0 | 4757 | 1 |
TX_ERR_CTR_MT_ERP| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 686 | 1 |
| Bin | 1 | 0 | 2287 | 1 |
RX_ERR_CTR_MT_ERP| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 518 | 1 |
| Bin | 1 | 0 | 2119 | 1 |
TX_ERR_CTR_MT_EWL| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 703 | 1 |
| Bin | 1 | 0 | 2304 | 1 |
RX_ERR_CTR_MT_EWL| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 436 | 1 |
| Bin | 1 | 0 | 2036 | 1 |
TX_ERR_CTR_MT_255| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 246 | 1 |
| Bin | 1 | 0 | 1847 | 1 |
ERR_WARNING_LIMIT_D| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 778 | 1 |
| Bin | 1 | 0 | 2378 | 1 |
ERR_WARNING_LIMIT_Q| From | To | Count | Threshold | |
|---|---|---|---|---|
| Bin | 0 | 1 | 778 | 1 |
| Bin | 1 | 0 | 2378 | 1 |
tx_err_ctr_mt_ewl = '1' or rx_err_ctr_mt_ewl = '1'
<---------LHS---------> <---------RHS---------> | LHS | RHS | Count | Threshold | |
|---|---|---|---|---|
| Bin | False | False | 3979 | 1 |
| Bin | False | True | 290 | 1 |
| Bin | True | False | 524 | 1 |
tx_err_ctr_mt_ewl = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 4269 | 1 |
| Bin | True | 885 | 1 |
rx_err_ctr_mt_ewl = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 4503 | 1 |
| Bin | True | 651 | 1 |
res_n = '0' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 1087593323 | 1 |
| Bin | True | 2424883 | 1 |
err_warning_limit_d /= err_warning_limit_q | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 4757 | 1 |
| Bin | True | 3156 | 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 | 310 | 1 |
| Bin | True | False | 488 | 1 |
tx_err_ctr_mt_erp = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 16804 | 1 |
| Bin | True | 791 | 1 |
rx_err_ctr_mt_erp = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 16982 | 1 |
| Bin | True | 613 | 1 |
tx_err_ctr_mt_255 = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 1274 | 1 |
| Bin | True | 260 | 1 |
tx_err_ctr_mt_erp = '0' and rx_err_ctr_mt_erp = '0'
<---------LHS---------> <---------RHS---------> | LHS | RHS | Count | Threshold | |
|---|---|---|---|---|
| Bin | False | True | 467 | 1 |
| Bin | True | False | 310 | 1 |
| Bin | True | True | 188 | 1 |
tx_err_ctr_mt_erp = '0' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 776 | 1 |
| Bin | True | 498 | 1 |
rx_err_ctr_mt_erp = '0' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 619 | 1 |
| Bin | True | 655 | 1 |
set_err_active = '1' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 8650 | 1 |
| Bin | True | 6637 | 1 |
res_n = '0' | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 1087593323 | 1 |
| Bin | True | 2424883 | 1 |
curr_state /= next_state | Evaluated to | Count | Threshold | |
|---|---|---|---|
| Bin | False | 17584 | 1 |
| Bin | True | 15983 | 1 |
163: signal curr_state : t_fault_conf_state; | State | Count | Threshold | |
|---|---|---|---|
| Bin | S_FC_ERR_ACTIVE | 8426 | 1 |
| Bin | S_FC_ERR_PASSIVE | 761 | 1 |
| Bin | S_FC_BUS_OFF | 8227 | 1 |
164: signal next_state : t_fault_conf_state; | State | Count | Threshold | |
|---|---|---|---|
| Bin | S_FC_ERR_ACTIVE | 8596 | 1 |
| Bin | S_FC_ERR_PASSIVE | 931 | 1 |
| Bin | S_FC_BUS_OFF | 8227 | 1 |