NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_RXB_TOP.I_RXB_RAM.G_PARITY_TRUE

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/rx_buffer/rxb_ram.vhd

Nested Instances Statement Branch Toggle Expression FSM state Functional Average
I_PARITY_CALCULATOR_WRITE 100.0 % (4/4) N.A. 100.0 % (66/66) N.A. N.A. N.A. 100.0 % (70/70)
I_PARITY_CALCULATOR_READ 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.I_DUT.I_RXB_TOP.I_RXB_RAM.G_PARITY_TRUE 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 (rst_n = '0') then 
228:                parity_word <= (others => '0'); 
...
232:                end if; 
233:            end if; 

Count: 27017404
Threshold: 1

Signal assignment statement on line 228:

228:                parity_word <= (others => '0'); 
Count: 897762
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: 13057892
Threshold: 1

Signal assignment statement on line 231:

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

If statement on lines 256 to 260:

256:            if (rst_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: 27017404
Threshold: 1

Signal assignment statement on line 257:

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

Signal assignment statement on line 259:

259:                parity_read_exp <= parity_word(to_integer(unsigned(rxb_port_b_address))); 
Count: 13057892
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: 48087
Threshold: 1

Signal assignment statement on line 263:

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

Signal assignment statement on line 265:

265:                           '0'
Count: 18801
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

227:            if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue8977621
BinFalse261196421

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

229:            elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue130578921
BinFalse130617501

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

230:                if (rxb_port_a_write = '1') then 
Evaluated toCountThreshold
BinTrue684511
BinFalse129894411

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

256:            if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue8977621
BinFalse261196421

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

258:            elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue130578921
BinFalse130617501

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

263:        parity_mismatch <= '1' when (parity_read_real /= parity_read_exp
Evaluated toCountThreshold
BinTrue292861
BinFalse188011

Uncovered toggles:

Excluded toggles:

Covered toggles:

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 227:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse261196421
BinTrue8977621

"=" expression on line 230:

 rxb_port_a_write = '1' 
Evaluated toCountThreshold
BinFalse129894411
BinTrue684511

"=" expression on line 256:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse261196421
BinTrue8977621

"/=" expression on line 263:

 parity_read_real /= parity_read_exp 
Evaluated toCountThreshold
BinFalse188011
BinTrue292861

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: