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

Signal assignment statement on line 201:

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

Signal assignment statement on line 202:

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

Signal assignment statement on line 204:

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

Signal assignment statement on line 205:

205:            mr_settings_ena_reg_2   <= mr_settings_ena_reg; 
Count: 547174334
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: 30710
Threshold: 1

Signal assignment statement on line 210:

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

Signal assignment statement on line 211:

211:               '0'
Count: 20996
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: 25877
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: 19395
Threshold: 1

Signal assignment statement on line 221:

221:    tseg2_nbt <= std_logic_vector(resize(unsigned(mr_btr_ph2),      G_TSEG2_NBT_WIDTH))
Count: 10698
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: 10095
Threshold: 1

Signal assignment statement on line 227:

227:    sjw_nbt <= std_logic_vector(resize(unsigned(mr_btr_sjw),        G_SJW_NBT_WIDTH))
Count: 10046
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: 5738
Threshold: 1

Signal assignment statement on line 233:

233:    brp_nbt <= std_logic_vector(resize(unsigned(mr_btr_brp),        G_BRP_NBT_WIDTH))
Count: 9787
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: 9793
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: 10820
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: 10125
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: 1096781321
Threshold: 1

Signal assignment statement on line 258:

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

Signal assignment statement on line 259:

259:            tseg1_dbt <= std_logic_vector(to_unsigned(7, G_TSEG1_DBT_WIDTH)); 
Count: 2422674
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: 547174334
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
BinTrue24226741
BinFalse10943586471

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

203:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5471743341
BinFalse5471843131

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

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

"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
BinFalse193951

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

254:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24226741
BinFalse10943586471

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

260:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5471743341
BinFalse5471843131

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

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

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)014591
Bin(7)1020581
Bin(6)0116871
Bin(6)1032881
Bin(5)018081
Bin(5)1024071
Bin(4)019341
Bin(4)1025331
Bin(3)0159791
Bin(3)1043791
Bin(2)0141921
Bin(2)1057831
Bin(1)0110661
Bin(1)1026641
Bin(0)0137611
Bin(0)1021601

Port:

 TSEG2_NBT
ElementFromToCountThreshold
Bin(5)012061
Bin(5)1018051
Bin(4)013461
Bin(4)1019441
Bin(3)013151
Bin(3)1019141
Bin(2)0138741
Bin(2)1022751
Bin(1)0134121
Bin(1)1050031
Bin(0)0121581
Bin(0)105571

Port:

 BRP_NBT
ElementFromToCountThreshold
Bin(7)01141
Bin(7)1016151
Bin(6)01121
Bin(6)1016131
Bin(5)01121
Bin(5)1016131
Bin(4)01161
Bin(4)1016171
Bin(3)0148311
Bin(3)1032421
Bin(2)019291
Bin(2)1025231
Bin(1)0147621
Bin(1)1031701
Bin(0)0123161
Bin(0)1039141

Port:

 SJW_NBT
ElementFromToCountThreshold
Bin(4)012091
Bin(4)1018071
Bin(3)012661
Bin(3)1018641
Bin(2)019651
Bin(2)1025631
Bin(1)0126231
Bin(1)1010311
Bin(0)0131161
Bin(0)1047141

Port:

 TSEG1_DBT
ElementFromToCountThreshold
Bin(6)0123351
Bin(6)1039341
Bin(5)012651
Bin(5)1018661
Bin(4)0124071
Bin(4)1040061
Bin(3)0136481
Bin(3)1052381
Bin(2)0143991
Bin(2)1027981
Bin(1)0132721
Bin(1)1016801
Bin(0)0120801
Bin(0)104791

Port:

 TSEG2_DBT
ElementFromToCountThreshold
Bin(4)012811
Bin(4)1018801
Bin(3)013171
Bin(3)1019161
Bin(2)0112091
Bin(2)1027991
Bin(1)0117251
Bin(1)101251
Bin(0)0138681
Bin(0)1022671

Port:

 BRP_DBT
ElementFromToCountThreshold
Bin(7)01181
Bin(7)1016191
Bin(6)01301
Bin(6)1016311
Bin(5)01171
Bin(5)1016181
Bin(4)01271
Bin(4)1016281
Bin(3)01281
Bin(3)1016291
Bin(2)0148431
Bin(2)1032541
Bin(1)017641
Bin(1)1023631
Bin(0)0125981
Bin(0)1041891

Port:

 SJW_DBT
ElementFromToCountThreshold
Bin(4)012381
Bin(4)1018361
Bin(3)012821
Bin(3)1018801
Bin(2)019241
Bin(2)1025221
Bin(1)0125571
Bin(1)109651
Bin(0)019591
Bin(0)1025571

Port:

 START_EDGE
FromToCountThreshold
Bin0164821
Bin1080831

Signal:

 TSEG1_NBT_D
ElementFromToCountThreshold
Bin(7)012051
Bin(7)1018041
Bin(6)011231
Bin(6)1017231
Bin(5)012251
Bin(5)1018241
Bin(4)013011
Bin(4)1019001
Bin(3)0138711
Bin(3)1022721
Bin(2)0133121
Bin(2)1049031
Bin(1)015241
Bin(1)1021221
Bin(0)0122061
Bin(0)106061

Signal:

 TSEG1_DBT_D
ElementFromToCountThreshold
Bin(6)012241
Bin(6)1018221
Bin(5)01911
Bin(5)1016921
Bin(4)012711
Bin(4)1018701
Bin(3)0111361
Bin(3)1027261
Bin(2)0138491
Bin(2)1022491
Bin(1)0126001
Bin(1)1010091
Bin(0)0118221
Bin(0)102221

Signal:

 MR_SETTINGS_ENA_REG
FromToCountThreshold
Bin0164821
Bin1080721

Signal:

 MR_SETTINGS_ENA_REG_2
FromToCountThreshold
Bin0164821
Bin1080721

Signal:

 CAPTURE
FromToCountThreshold
Bin0197141
Bin10113141

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 200:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10943586471
BinTrue24226741

"and" expression on line 210:

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

LHSRHSCountThreshold
BinFalseTrue96731
BinTrueFalse64821
BinTrueTrue97141

"=" expression on line 210:

 mr_settings_ena = '1' 
Evaluated toCountThreshold
BinFalse145141
BinTrue161961

"=" expression on line 210:

 mr_settings_ena_reg = '0' 
Evaluated toCountThreshold
BinFalse113231
BinTrue193871

"and" expression on line 215:

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

LHSRHSCountThreshold
BinFalseTrue64821
BinTrueFalse80721
BinTrueTrue64821

"=" expression on line 215:

 mr_settings_ena_reg_2 = '0' 
Evaluated toCountThreshold
BinFalse113231
BinTrue145541

"=" expression on line 215:

 mr_settings_ena_reg = '1' 
Evaluated toCountThreshold
BinFalse129131
BinTrue129641

"=" expression on line 254:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10943586471
BinTrue24226741

"=" expression on line 261:

 capture = '1' 
Evaluated toCountThreshold
BinFalse5471678511
BinTrue64831

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: