NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BM_TOP.I_BM_TX_DATA_CACHE

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/bus_management/bm_top.vhd


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BM_TOP.I_BM_TX_DATA_CACHE 100.0 % (15/15) 100.0 % (18/18) 100.0 % (60/60) 100.0 % (12/12) N.A. N.A. 100.0 % (105/105)

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:

Signal assignment statement on line 146:

146:    write_pointer_d <= write_pointer_q + 1; 
Count: 185407
Threshold: 1

Signal assignment statement on line 147:

147:    read_pointer_d <= read_pointer_q + 1; 
Count: 183123
Threshold: 1

If statement on lines 155 to 161:

155:        if (rst_n = '0') then 
156:            write_pointer_q        <= (others => '0'); 
...
160:            end if; 
161:        end if; 

Count: 1089206409
Threshold: 1

Signal assignment statement on line 156:

156:            write_pointer_q        <= (others => '0'); 
Count: 6528002
Threshold: 1

If statement on lines 158 to 160:

158:            if (write = '1') then 
159:                write_pointer_q    <= write_pointer_d; 
160:            end if; 

Count: 541316663
Threshold: 1

Signal assignment statement on line 159:

159:                write_pointer_q    <= write_pointer_d; 
Count: 179871
Threshold: 1

If statement on lines 167 to 173:

167:        if (rst_n = '0') then 
168:            read_pointer_q         <= (others => '0'); 
...
172:            end if; 
173:        end if; 

Count: 1089206409
Threshold: 1

Signal assignment statement on line 168:

168:            read_pointer_q         <= (others => '0'); 
Count: 6528002
Threshold: 1

If statement on lines 170 to 172:

170:            if (read = '1') then 
171:                read_pointer_q     <= read_pointer_d; 
172:            end if; 

Count: 541316663
Threshold: 1

Signal assignment statement on line 171:

171:                read_pointer_q     <= read_pointer_d; 
Count: 178162
Threshold: 1

If statement on lines 182 to 188:

182:        if (rst_n = '0') then 
183:            tx_cache_mem <= (others => G_TX_CACHE_RST_VAL); 
...
187:            end if; 
188:        end if; 

Count: 1089206409
Threshold: 1

Signal assignment statement on line 183:

183:            tx_cache_mem <= (others => G_TX_CACHE_RST_VAL); 
Count: 6528002
Threshold: 1

If statement on lines 185 to 187:

185:            if (write = '1') then 
186:                tx_cache_mem(to_integer(write_pointer_q(2 downto 0))) <= data_in; 
187:            end if; 

Count: 541316663
Threshold: 1

Signal assignment statement on line 186:

186:                tx_cache_mem(to_integer(write_pointer_q(2 downto 0))) <= data_in; 
Count: 179871
Threshold: 1

Signal assignment statement on line 196:

196:    data_out <= tx_cache_mem(to_integer(read_pointer_q(2 downto 0))); 
Count: 270583
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

155:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue65280021
BinFalse10826784071

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

157:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5413166631
BinFalse5413617441

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

158:            if (write = '1') then 
Evaluated toCountThreshold
BinTrue1798711
BinFalse5411367921

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

167:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue65280021
BinFalse10826784071

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

169:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5413166631
BinFalse5413617441

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

170:            if (read = '1') then 
Evaluated toCountThreshold
BinTrue1781621
BinFalse5411385011

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

182:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue65280021
BinFalse10826784071

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

184:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5413166631
BinFalse5413617441

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

185:            if (write = '1') then 
Evaluated toCountThreshold
BinTrue1798711
BinFalse5411367921

Uncovered toggles:

Excluded toggles:

Port:

 CLK_SYS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RST_N
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 WRITE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 READ
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 DATA_IN
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 DATA_OUT
FromToCountThreshold
Bin01919761
Bin10903751

Signal:

 TX_CACHE_MEM
ElementFromToCountThreshold
Bin(7)01528901
Bin(7)10379301
Bin(6)01492021
Bin(6)10416181
Bin(5)01495391
Bin(5)10412811
Bin(4)01499621
Bin(4)10408581
Bin(3)01463401
Bin(3)10444801
Bin(2)01482151
Bin(2)10426051
Bin(1)01482751
Bin(1)10425451
Bin(0)01397021
Bin(0)10511181

Signal:

 WRITE_POINTER_Q
ElementFromToCountThreshold
Bin(3)01113001
Bin(3)10129011
Bin(2)01222791
Bin(2)10238801
Bin(1)01449871
Bin(1)10465881
Bin(0)01907791
Bin(0)10923801

Signal:

 WRITE_POINTER_D
ElementFromToCountThreshold
Bin(3)01113581
Bin(3)10129591
Bin(2)01226281
Bin(2)10242291
Bin(1)01462471
Bin(1)10478481
Bin(0)01923801
Bin(0)10907791

Signal:

 READ_POINTER_Q
ElementFromToCountThreshold
Bin(3)01861921
Bin(3)10953301
Bin(2)01221721
Bin(2)10240351
Bin(1)01447131
Bin(1)10465761
Bin(0)01895061
Bin(0)10913691

Signal:

 READ_POINTER_D
ElementFromToCountThreshold
Bin(3)01113171
Bin(3)10129181
Bin(2)01223671
Bin(2)10239681
Bin(1)01452931
Bin(1)10468941
Bin(0)01911071
Bin(0)10895061

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 155:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10826784071
BinTrue65280021

"=" expression on line 158:

 write = '1' 
Evaluated toCountThreshold
BinFalse5411367921
BinTrue1798711

"=" expression on line 167:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10826784071
BinTrue65280021

"=" expression on line 170:

 read = '1' 
Evaluated toCountThreshold
BinFalse5411385011
BinTrue1781621

"=" expression on line 182:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10826784071
BinTrue65280021

"=" expression on line 185:

 write = '1' 
Evaluated toCountThreshold
BinFalse5411367921
BinTrue1798711

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: