NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.RX_BUFFER_INST.RX_BUFFER_RAM_INST.PARITY_TRUE_GEN

File:  /__w/ctu-can-regression/ctu-can-regression/src/rx_buffer/rx_buffer_ram.vhd

Nested Instances Statement Branch Toggle Expression FSM state Functional Average
PARITY_CALCULATOR_WRITE_INST 100.0 % (4/4) N.A. 100.0 % (66/66) N.A. N.A. N.A. 100.0 % (70/70)
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.RX_BUFFER_INST.RX_BUFFER_RAM_INST.PARITY_TRUE_GEN 100.0 % (10/10) 100.0 % (12/12) N.A. 100.0 % (8/8) N.A. N.A. 100.0 % (30/30)

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 227 to 233:

227:            if (res_n = '0') then 
228:                parity_word <= (others => '0'); 
...
232:                end if; 
233:            end if; 

Count: 29133163
Threshold: 1

Signal assignment statement on line 228:

228:                parity_word <= (others => '0'); 
Count: 897761
Threshold: 1

If statement on lines 230 to 232:

230:                if (rxb_port_a_write = '1') then 
231:                    parity_word(to_integer(unsigned(rxb_port_a_address))) <= parity_write; 
232:                end if; 

Count: 14115772
Threshold: 1

Signal assignment statement on line 231:

231:                    parity_word(to_integer(unsigned(rxb_port_a_address))) <= parity_write; 
Count: 69123
Threshold: 1

If statement on lines 256 to 260:

256:            if (res_n = '0') then 
257:                parity_read_exp <= '0'; 
258:            elsif (rising_edge(clk_sys)) then 
259:                parity_read_exp <= parity_word(to_integer(unsigned(rxb_port_b_address))); 
260:            end if; 

Count: 29133163
Threshold: 1

Signal assignment statement on line 257:

257:                parity_read_exp <= '0'; 
Count: 897761
Threshold: 1

Signal assignment statement on line 259:

259:                parity_read_exp <= parity_word(to_integer(unsigned(rxb_port_b_address))); 
Count: 14115772
Threshold: 1

If statement on lines 263 to 265:

263:        parity_mismatch <= '1' when (parity_read_real /= parity_read_exp) 
264:                               else 
265:                           '0'; 

Count: 48505
Threshold: 1

Signal assignment statement on line 263:

263:        parity_mismatch <= '1' when (parity_read_real /= parity_read_exp) 
Count: 29627
Threshold: 1

Signal assignment statement on line 265:

265:                           '0'
Count: 18878
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

227:            if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue8977611
BinFalse282354021

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

229:            elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue141157721
BinFalse141196301

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

230:                if (rxb_port_a_write = '1') then 
Evaluated toCountThreshold
BinTrue691231
BinFalse140466491

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

256:            if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue8977611
BinFalse282354021

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

258:            elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue141157721
BinFalse141196301

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

263:        parity_mismatch <= '1' when (parity_read_real /= parity_read_exp
Evaluated toCountThreshold
BinTrue296271
BinFalse188781

Uncovered toggles:

Excluded toggles:

Covered toggles:

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 227:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse282354021
BinTrue8977611

"=" expression on line 230:

 rxb_port_a_write = '1' 
Evaluated toCountThreshold
BinFalse140466491
BinTrue691231

"=" expression on line 256:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse282354021
BinTrue8977611

"/=" expression on line 263:

 parity_read_real /= parity_read_exp 
Evaluated toCountThreshold
BinFalse188781
BinTrue296271

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: