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: 199791
Threshold: 1

Signal assignment statement on line 147:

147:    read_pointer_d <= read_pointer_q + 1
Count: 198122
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: 1096846734
Threshold: 1

Signal assignment statement on line 156:

156:            write_pointer_q        <= (others => '0'); 
Count: 6496613
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: 545153718
Threshold: 1

Signal assignment statement on line 159:

159:                write_pointer_q    <= write_pointer_d; 
Count: 194479
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: 1096846734
Threshold: 1

Signal assignment statement on line 168:

168:            read_pointer_q         <= (others => '0'); 
Count: 6496613
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: 545153718
Threshold: 1

Signal assignment statement on line 171:

171:                read_pointer_q     <= read_pointer_d; 
Count: 193079
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: 1096846734
Threshold: 1

Signal assignment statement on line 183:

183:            tx_cache_mem <= (others => G_TX_CACHE_RST_VAL); 
Count: 6496613
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: 545153718
Threshold: 1

Signal assignment statement on line 186:

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

Signal assignment statement on line 196:

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

Uncovered branches:

Excluded branches:

Covered branches:

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

155:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue64966131
BinFalse10903501211

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

157:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5451537181
BinFalse5451964031

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

158:            if (write = '1') then 
Evaluated toCountThreshold
BinTrue1944791
BinFalse5449592391

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

167:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue64966131
BinFalse10903501211

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

169:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5451537181
BinFalse5451964031

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

170:            if (read = '1') then 
Evaluated toCountThreshold
BinTrue1930791
BinFalse5449606391

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

182:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue64966131
BinFalse10903501211

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

184:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5451537181
BinFalse5451964031

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

185:            if (write = '1') then 
Evaluated toCountThreshold
BinTrue1944791
BinFalse5449592391

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
Bin011006721
Bin10990711

Signal:

 TX_CACHE_MEM
ElementFromToCountThreshold
Bin(7)01573271
Bin(7)10399051
Bin(6)01511111
Bin(6)10461211
Bin(5)01561351
Bin(5)10410971
Bin(4)01498971
Bin(4)10473351
Bin(3)01492201
Bin(3)10480121
Bin(2)01549651
Bin(2)10422671
Bin(1)01509411
Bin(1)10462911
Bin(0)01475791
Bin(0)10496531

Signal:

 WRITE_POINTER_Q
ElementFromToCountThreshold
Bin(3)01122461
Bin(3)10138471
Bin(2)01242921
Bin(2)10258931
Bin(1)01487641
Bin(1)10503651
Bin(0)01978691
Bin(0)10994701

Signal:

 WRITE_POINTER_D
ElementFromToCountThreshold
Bin(3)01123111
Bin(3)10139121
Bin(2)01245081
Bin(2)10261091
Bin(1)01497061
Bin(1)10513071
Bin(0)01994701
Bin(0)10978691

Signal:

 READ_POINTER_Q
ElementFromToCountThreshold
Bin(3)01936071
Bin(3)101029141
Bin(2)01242031
Bin(2)10260441
Bin(1)01483211
Bin(1)10501621
Bin(0)01970561
Bin(0)10988971

Signal:

 READ_POINTER_D
ElementFromToCountThreshold
Bin(3)01122771
Bin(3)10138781
Bin(2)01243901
Bin(2)10259911
Bin(1)01490631
Bin(1)10506641
Bin(0)01986571
Bin(0)10970561

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 155:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10903501211
BinTrue64966131

"=" expression on line 158:

 write = '1' 
Evaluated toCountThreshold
BinFalse5449592391
BinTrue1944791

"=" expression on line 167:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10903501211
BinTrue64966131

"=" expression on line 170:

 read = '1' 
Evaluated toCountThreshold
BinFalse5449606391
BinTrue1930791

"=" expression on line 182:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10903501211
BinTrue64966131

"=" expression on line 185:

 write = '1' 
Evaluated toCountThreshold
BinFalse5449592391
BinTrue1944791

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: