NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.TXT_BUF_COMP_GEN(7).TXT_BUF_ODD_GEN.TXT_BUFFER_ODD_INST.TXT_BUFFER_RAM_INST.PARITY_TRUE_GEN

File:  /__w/ctu-can-regression/ctu-can-regression/src/txt_buffer/txt_buffer_ram.vhd

Nested Instances Statement Branch Toggle Expression FSM state Functional Average
PARITY_CALCULATOR_READ_INST 100.0 % (4/4) N.A. 100.0 % (66/66) N.A. N.A. N.A. 100.0 % (70/70)

Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.TXT_BUF_COMP_GEN(7).TXT_BUF_ODD_GEN.TXT_BUFFER_ODD_INST.TXT_BUFFER_RAM_INST.PARITY_TRUE_GEN 100.0 % (10/10) 100.0 % (12/12) N.A. 100.0 % (13/13) N.A. N.A. 100.0 % (35/35)

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 225 to 231:

225:            if (res_n = '0') then 
226:                parity_word <= (others => '0'); 
...
230:                end if; 
231:            end if; 

Count: 684328
Threshold: 1

Signal assignment statement on line 226:

226:                parity_word <= (others => '0'); 
Count: 428676
Threshold: 1

If statement on lines 228 to 230:

228:                if (txtb_port_a_write = '1') then 
229:                    parity_word(to_integer(unsigned(txtb_port_a_address))) <= txtb_port_a_parity; 
230:                end if; 

Count: 127300
Threshold: 1

Signal assignment statement on line 229:

229:                    parity_word(to_integer(unsigned(txtb_port_a_address))) <= txtb_port_a_parity; 
Count: 1083
Threshold: 1

If statement on lines 254 to 258:

254:            if (res_n = '0') then 
255:                parity_read_exp <= '0'; 
256:            elsif (rising_edge(clk_sys)) then 
257:                parity_read_exp <= parity_word(to_integer(unsigned(txtb_port_b_address))); 
258:            end if; 

Count: 684328
Threshold: 1

Signal assignment statement on line 255:

255:                parity_read_exp <= '0'; 
Count: 428676
Threshold: 1

Signal assignment statement on line 257:

257:                parity_read_exp <= parity_word(to_integer(unsigned(txtb_port_b_address))); 
Count: 127300
Threshold: 1

If statement on lines 261 to 263:

261:        parity_mismatch <= '1' when (parity_read_real /= parity_read_exp) and (mr_settings_pchke = '1') 
262:                               else 
263:                           '0'; 

Count: 3842
Threshold: 1

Signal assignment statement on line 261:

261:        parity_mismatch <= '1' when (parity_read_real /= parity_read_exp) and (mr_settings_pchke = '1') 
Count: 440
Threshold: 1

Signal assignment statement on line 263:

263:                           '0'
Count: 3402
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

225:            if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue4286761
BinFalse2556521

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

227:            elsif rising_edge(clk_sys) then 
Evaluated toCountThreshold
BinTrue1273001
BinFalse1283521

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

228:                if (txtb_port_a_write = '1') then 
Evaluated toCountThreshold
BinTrue10831
BinFalse1262171

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

254:            if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue4286761
BinFalse2556521

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

256:            elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue1273001
BinFalse1283521

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

261:        parity_mismatch <= '1' when (parity_read_real /= parity_read_exp) and (mr_settings_pchke = '1') 
Evaluated toCountThreshold
BinTrue4401
BinFalse34021

Uncovered toggles:

Excluded toggles:

Covered toggles:

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 225:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse2556521
BinTrue4286761

"=" expression on line 228:

 txtb_port_a_write = '1' 
Evaluated toCountThreshold
BinFalse1262171
BinTrue10831

"=" expression on line 254:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse2556521
BinTrue4286761

"and" expression on line 261:

 (parity_read_real /= parity_read_exp) and (mr_settings_pchke = '1') 
  <---------------LHS--------------->       <---------RHS--------->  

LHSRHSCountThreshold
BinFalseTrue4161
BinTrueFalse16611
BinTrueTrue4401

"/=" expression on line 261:

 parity_read_real /= parity_read_exp 
Evaluated toCountThreshold
BinFalse17411
BinTrue21011

"=" expression on line 261:

 mr_settings_pchke = '1' 
Evaluated toCountThreshold
BinFalse29861
BinTrue8561

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: