NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BTL_TOP.I_BTL_CFG_CAPTURE

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/bit_timing_logic/btl_top.vhd


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BTL_TOP.I_BTL_CFG_CAPTURE 100.0 % (25/25) 100.0 % (14/14) 100.0 % (270/270) 100.0 % (20/20) N.A. N.A. 100.0 % (329/329)

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 200 to 206:

200:        if (rst_n = '0') then 
201:            mr_settings_ena_reg     <= '0'; 
...
205:            mr_settings_ena_reg_2   <= mr_settings_ena_reg; 
206:        end if; 

Count: 1089136168
Threshold: 1

Signal assignment statement on line 201:

201:            mr_settings_ena_reg     <= '0'; 
Count: 2422593
Threshold: 1

Signal assignment statement on line 202:

202:            mr_settings_ena_reg_2   <= '0'; 
Count: 2422593
Threshold: 1

Signal assignment statement on line 204:

204:            mr_settings_ena_reg     <= mr_settings_ena; 
Count: 543351807
Threshold: 1

Signal assignment statement on line 205:

205:            mr_settings_ena_reg_2   <= mr_settings_ena_reg; 
Count: 543351807
Threshold: 1

If statement on lines 210 to 211:

210:    capture <= '1' when (mr_settings_ena = '1' and mr_settings_ena_reg = '0') else 
211:               '0'; 

Count: 30712
Threshold: 1

Signal assignment statement on line 210:

210:    capture <= '1' when (mr_settings_ena = '1' and mr_settings_ena_reg = '0') else 
Count: 9715
Threshold: 1

Signal assignment statement on line 211:

211:               '0'; 
Count: 20997
Threshold: 1

If statement on lines 215 to 216:

215:    start_edge <= '1' when (mr_settings_ena_reg_2 = '0' and mr_settings_ena_reg = '1') else 
216:                  '0'; 

Count: 25878
Threshold: 1

Signal assignment statement on line 215:

215:    start_edge <= '1' when (mr_settings_ena_reg_2 = '0' and mr_settings_ena_reg = '1') else 
Count: 6482
Threshold: 1

Signal assignment statement on line 216:

216:                  '0'; 
Count: 19396
Threshold: 1

Signal assignment statement on line 221:

221:    tseg2_nbt <= std_logic_vector(resize(unsigned(mr_btr_ph2),      G_TSEG2_NBT_WIDTH)); 
Count: 10700
Threshold: 1

Signal assignment statement on line 222:

222:    tseg2_dbt <= std_logic_vector(resize(unsigned(mr_btr_fd_ph2_fd),G_TSEG2_DBT_WIDTH)); 
Count: 10096
Threshold: 1

Signal assignment statement on line 227:

227:    sjw_nbt <= std_logic_vector(resize(unsigned(mr_btr_sjw),        G_SJW_NBT_WIDTH)); 
Count: 10049
Threshold: 1

Signal assignment statement on line 228:

228:    sjw_dbt <= std_logic_vector(resize(unsigned(mr_btr_fd_sjw_fd),  G_SJW_DBT_WIDTH)); 
Count: 5741
Threshold: 1

Signal assignment statement on line 233:

233:    brp_nbt <= std_logic_vector(resize(unsigned(mr_btr_brp),        G_BRP_NBT_WIDTH)); 
Count: 9789
Threshold: 1

Signal assignment statement on line 234:

234:    brp_dbt <= std_logic_vector(resize(unsigned(mr_btr_fd_brp_fd),  G_BRP_DBT_WIDTH)); 
Count: 9792
Threshold: 1

Signal assignment statement on lines 239 to 242:

239:    tseg1_nbt_d   <= std_logic_vector( 
240:                        resize(unsigned(mr_btr_prop),       G_TSEG1_NBT_WIDTH) + 
241:                        resize(unsigned(mr_btr_ph1),        G_TSEG1_NBT_WIDTH) + 
242:                        resize(sync_length,                 G_TSEG1_NBT_WIDTH)); 

Count: 10821
Threshold: 1

Signal assignment statement on lines 244 to 247:

244:    tseg1_dbt_d   <= std_logic_vector( 
245:                        resize(unsigned(mr_btr_fd_prop_fd), G_TSEG1_DBT_WIDTH) + 
246:                        resize(unsigned(mr_btr_fd_ph1_fd),  G_TSEG1_DBT_WIDTH) + 
247:                        resize(sync_length,                 G_TSEG1_DBT_WIDTH)); 

Count: 10126
Threshold: 1

If statement on lines 254 to 265:

254:        if (rst_n = '0') then 
255:            -- Matching reset values to what is in Memory registers. 
...
264:            end if; 
265:        end if; 

Count: 1089136168
Threshold: 1

Signal assignment statement on line 258:

258:            tseg1_nbt <= std_logic_vector(to_unsigned(9, G_TSEG1_NBT_WIDTH)); 
Count: 2422593
Threshold: 1

Signal assignment statement on line 259:

259:            tseg1_dbt <= std_logic_vector(to_unsigned(7, G_TSEG1_DBT_WIDTH)); 
Count: 2422593
Threshold: 1

If statement on lines 261 to 264:

261:            if (capture = '1') then 
262:                tseg1_nbt <= tseg1_nbt_d; 
263:                tseg1_dbt <= tseg1_dbt_d; 
264:            end if; 

Count: 543351807
Threshold: 1

Signal assignment statement on line 262:

262:                tseg1_nbt <= tseg1_nbt_d; 
Count: 6483
Threshold: 1

Signal assignment statement on line 263:

263:                tseg1_dbt <= tseg1_dbt_d; 
Count: 6483
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

200:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24225931
BinFalse10867135751

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

203:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5433518071
BinFalse5433617681

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

210:    capture <= '1' when (mr_settings_ena = '1' and mr_settings_ena_reg = '0') else 
Evaluated toCountThreshold
BinTrue97151
BinFalse209971

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

215:    start_edge <= '1' when (mr_settings_ena_reg_2 = '0' and mr_settings_ena_reg = '1') else 
Evaluated toCountThreshold
BinTrue64821
BinFalse193961

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

254:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24225931
BinFalse10867135751

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

260:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5433518071
BinFalse5433617681

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

261:            if (capture = '1') then 
Evaluated toCountThreshold
BinTrue64831
BinFalse5433453241

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:

 MR_SETTINGS_ENA
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 MR_BTR_PROP
ElementFromToCountThresholdExcluded due to
Bin(6)0101Exclude file
Bin(6)1001Exclude file
Bin(5)0101Exclude file
Bin(5)1001Exclude file
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 MR_BTR_PH1
ElementFromToCountThresholdExcluded due to
Bin(5)0101Exclude file
Bin(5)1001Exclude file
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 MR_BTR_PH2
ElementFromToCountThresholdExcluded due to
Bin(5)0101Exclude file
Bin(5)1001Exclude file
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 MR_BTR_BRP
ElementFromToCountThresholdExcluded due to
Bin(7)0101Exclude file
Bin(7)1001Exclude file
Bin(6)0101Exclude file
Bin(6)1001Exclude file
Bin(5)0101Exclude file
Bin(5)1001Exclude file
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 MR_BTR_SJW
ElementFromToCountThresholdExcluded due to
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 MR_BTR_FD_PROP_FD
ElementFromToCountThresholdExcluded due to
Bin(5)0101Exclude file
Bin(5)1001Exclude file
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 MR_BTR_FD_PH1_FD
ElementFromToCountThresholdExcluded due to
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 MR_BTR_FD_PH2_FD
ElementFromToCountThresholdExcluded due to
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 MR_BTR_FD_BRP_FD
ElementFromToCountThresholdExcluded due to
Bin(7)0101Exclude file
Bin(7)1001Exclude file
Bin(6)0101Exclude file
Bin(6)1001Exclude file
Bin(5)0101Exclude file
Bin(5)1001Exclude file
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 MR_BTR_FD_SJW_FD
ElementFromToCountThresholdExcluded due to
Bin(4)0101Exclude file
Bin(4)1001Exclude file
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Covered toggles:

Port:

 TSEG1_NBT
ElementFromToCountThreshold
Bin(7)014571
Bin(7)1020561
Bin(6)0116891
Bin(6)1032901
Bin(5)018061
Bin(5)1024051
Bin(4)019351
Bin(4)1025341
Bin(3)0159811
Bin(3)1043811
Bin(2)0141931
Bin(2)1057851
Bin(1)0110641
Bin(1)1026621
Bin(0)0137621
Bin(0)1021611

Port:

 TSEG2_NBT
ElementFromToCountThreshold
Bin(5)012031
Bin(5)1018021
Bin(4)013471
Bin(4)1019451
Bin(3)013121
Bin(3)1019111
Bin(2)0138731
Bin(2)1022741
Bin(1)0134121
Bin(1)1050041
Bin(0)0121601
Bin(0)105591

Port:

 BRP_NBT
ElementFromToCountThreshold
Bin(7)01131
Bin(7)1016141
Bin(6)01111
Bin(6)1016121
Bin(5)01121
Bin(5)1016131
Bin(4)01161
Bin(4)1016171
Bin(3)0148321
Bin(3)1032421
Bin(2)019291
Bin(2)1025241
Bin(1)0147631
Bin(1)1031701
Bin(0)0123151
Bin(0)1039131

Port:

 SJW_NBT
ElementFromToCountThreshold
Bin(4)012081
Bin(4)1018061
Bin(3)012701
Bin(3)1018681
Bin(2)019691
Bin(2)1025671
Bin(1)0126241
Bin(1)1010311
Bin(0)0131161
Bin(0)1047141

Port:

 TSEG1_DBT
ElementFromToCountThreshold
Bin(6)0123321
Bin(6)1039311
Bin(5)012651
Bin(5)1018661
Bin(4)0124071
Bin(4)1040061
Bin(3)0136501
Bin(3)1052411
Bin(2)0143951
Bin(2)1027941
Bin(1)0132741
Bin(1)1016811
Bin(0)0120701
Bin(0)104691

Port:

 TSEG2_DBT
ElementFromToCountThreshold
Bin(4)012781
Bin(4)1018771
Bin(3)013151
Bin(3)1019141
Bin(2)0112121
Bin(2)1028031
Bin(1)0117341
Bin(1)101341
Bin(0)0138701
Bin(0)1022691

Port:

 BRP_DBT
ElementFromToCountThreshold
Bin(7)01191
Bin(7)1016201
Bin(6)01281
Bin(6)1016291
Bin(5)01181
Bin(5)1016191
Bin(4)01261
Bin(4)1016271
Bin(3)01281
Bin(3)1016291
Bin(2)0148441
Bin(2)1032541
Bin(1)017591
Bin(1)1023581
Bin(0)0126011
Bin(0)1041931

Port:

 SJW_DBT
ElementFromToCountThreshold
Bin(4)012471
Bin(4)1018451
Bin(3)012771
Bin(3)1018751
Bin(2)019231
Bin(2)1025211
Bin(1)0125741
Bin(1)109811
Bin(0)019571
Bin(0)1025551

Port:

 START_EDGE
FromToCountThreshold
Bin0164821
Bin1080831

Signal:

 TSEG1_NBT_D
ElementFromToCountThreshold
Bin(7)012001
Bin(7)1017991
Bin(6)011271
Bin(6)1017271
Bin(5)012261
Bin(5)1018251
Bin(4)013011
Bin(4)1019001
Bin(3)0138701
Bin(3)1022711
Bin(2)0133121
Bin(2)1049041
Bin(1)015221
Bin(1)1021201
Bin(0)0122051
Bin(0)106051

Signal:

 TSEG1_DBT_D
ElementFromToCountThreshold
Bin(6)012211
Bin(6)1018191
Bin(5)01911
Bin(5)1016921
Bin(4)012691
Bin(4)1018681
Bin(3)0111401
Bin(3)1027311
Bin(2)0138491
Bin(2)1022491
Bin(1)0126041
Bin(1)1010121
Bin(0)0118091
Bin(0)102091

Signal:

 MR_SETTINGS_ENA_REG
FromToCountThreshold
Bin0164821
Bin1080731

Signal:

 MR_SETTINGS_ENA_REG_2
FromToCountThreshold
Bin0164821
Bin1080731

Signal:

 CAPTURE
FromToCountThreshold
Bin0197151
Bin10113151

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 200:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"and" expression on line 210:

 mr_settings_ena = '1' and mr_settings_ena_reg = '0' 
 <--------LHS-------->     <----------RHS----------> 

LHSRHSCountThreshold
BinFalseTrue96741
BinTrueFalse64821
BinTrueTrue97151

"=" expression on line 210:

 mr_settings_ena = '1' 
Evaluated toCountThreshold
BinFalse145151
BinTrue161971

"=" expression on line 210:

 mr_settings_ena_reg = '0' 
Evaluated toCountThreshold
BinFalse113231
BinTrue193891

"and" expression on line 215:

 mr_settings_ena_reg_2 = '0' and mr_settings_ena_reg = '1' 
 <-----------LHS----------->     <----------RHS----------> 

LHSRHSCountThreshold
BinFalseTrue64821
BinTrueFalse80731
BinTrueTrue64821

"=" expression on line 215:

 mr_settings_ena_reg_2 = '0' 
Evaluated toCountThreshold
BinFalse113231
BinTrue145551

"=" expression on line 215:

 mr_settings_ena_reg = '1' 
Evaluated toCountThreshold
BinFalse129141
BinTrue129641

"=" expression on line 254:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"=" expression on line 261:

 capture = '1' 
Evaluated toCountThreshold
BinFalse5433453241
BinTrue64831

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: