NVC code coverage report

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.PRESCALER_INST.BIT_TIME_CFG_CAPTURE_INST

File:  /__w/ctu-can-regression/ctu-can-regression/src/prescaler/bit_time_cfg_capture.vhd

Sub-instances:

Instance Statement Branch Toggle Expression FSM state Functional Average

Current Instance:

Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.PRESCALER_INST.BIT_TIME_CFG_CAPTURE_INST 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 261615 items are not displayed.

Uncovered statements:

Excluded statements:

Covered statements:

If statement:

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

Count: 1055177083
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

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

If statement:

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

Count: 30707
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

211:               '0'
Count: 20993
Threshold: 1

If statement:

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

Count: 25874
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

216:                  '0'
Count: 19393
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

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

Signal assignment statement:

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

If statement:

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

Count: 1055177083
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

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

If statement:

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

Count: 526374300
Threshold: 1

Signal assignment statement:

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

Signal assignment statement:

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

Uncovered branches:

Excluded branches:

Covered branches:

"if" / "when" / "else" condition:

200:        if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue24184991
BinFalse10527585841

"if" / "when" / "else" condition:

203:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5263743001
BinFalse5263842841

"if" / "when" / "else" condition:

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

"if" / "when" / "else" condition:

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

"if" / "when" / "else" condition:

254:        if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue24184991
BinFalse10527585841

"if" / "when" / "else" condition:

260:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5263743001
BinFalse5263842841

"if" / "when" / "else" condition:

261:            if (capture = '1') then 
Evaluated toCountThreshold
BinTrue64821
BinFalse5263678181

Uncovered toggles:

Excluded toggles:

Covered toggles:

Port:

 CLK_SYS
FromToCountThreshold
Bin015275788691
Bin105275804601

Port:

 RES_N
FromToCountThreshold
Bin0180821
Bin1080721

Port:

 MR_SETTINGS_ENA
FromToCountThreshold
Bin0164821
Bin1080721

Port:

 MR_BTR_PROP(6)
FromToCountThreshold
Bin012021
Bin1018001

Port:

 MR_BTR_PROP(5)
FromToCountThreshold
Bin013121
Bin1019091

Port:

 MR_BTR_PROP(4)
FromToCountThreshold
Bin012231
Bin1018201

Port:

 MR_BTR_PROP(3)
FromToCountThreshold
Bin012731
Bin1018701

Port:

 MR_BTR_PROP(2)
FromToCountThreshold
Bin0138201
Bin1022211

Port:

 MR_BTR_PROP(1)
FromToCountThreshold
Bin012611
Bin1018581

Port:

 MR_BTR_PROP(0)
FromToCountThreshold
Bin0117931
Bin101941

Port:

 MR_BTR_PH1(5)
FromToCountThreshold
Bin013161
Bin1019141

Port:

 MR_BTR_PH1(4)
FromToCountThreshold
Bin012501
Bin1018481

Port:

 MR_BTR_PH1(3)
FromToCountThreshold
Bin012591
Bin1018571

Port:

 MR_BTR_PH1(2)
FromToCountThreshold
Bin0113041
Bin1028961

Port:

 MR_BTR_PH1(1)
FromToCountThreshold
Bin0119271
Bin103281

Port:

 MR_BTR_PH1(0)
FromToCountThreshold
Bin0120881
Bin104901

Port:

 MR_BTR_PH2(5)
FromToCountThreshold
Bin012041
Bin1018021

Port:

 MR_BTR_PH2(4)
FromToCountThreshold
Bin013471
Bin1019441

Port:

 MR_BTR_PH2(3)
FromToCountThreshold
Bin013141
Bin1019121

Port:

 MR_BTR_PH2(2)
FromToCountThreshold
Bin0138721
Bin1022741

Port:

 MR_BTR_PH2(1)
FromToCountThreshold
Bin0134111
Bin1050031

Port:

 MR_BTR_PH2(0)
FromToCountThreshold
Bin0121611
Bin105611

Port:

 MR_BTR_BRP(7)
FromToCountThreshold
Bin01131
Bin1016131

Port:

 MR_BTR_BRP(6)
FromToCountThreshold
Bin01121
Bin1016121

Port:

 MR_BTR_BRP(5)
FromToCountThreshold
Bin01131
Bin1016131

Port:

 MR_BTR_BRP(4)
FromToCountThreshold
Bin01171
Bin1016171

Port:

 MR_BTR_BRP(3)
FromToCountThreshold
Bin0148311
Bin1032411

Port:

 MR_BTR_BRP(2)
FromToCountThreshold
Bin019281
Bin1025231

Port:

 MR_BTR_BRP(1)
FromToCountThreshold
Bin0147621
Bin1031691

Port:

 MR_BTR_BRP(0)
FromToCountThreshold
Bin0123151
Bin1039121

Port:

 MR_BTR_SJW(4)
FromToCountThreshold
Bin012051
Bin1018021

Port:

 MR_BTR_SJW(3)
FromToCountThreshold
Bin012691
Bin1018661

Port:

 MR_BTR_SJW(2)
FromToCountThreshold
Bin019661
Bin1025631

Port:

 MR_BTR_SJW(1)
FromToCountThreshold
Bin0126251
Bin1010321

Port:

 MR_BTR_SJW(0)
FromToCountThreshold
Bin0131161
Bin1047131

Port:

 MR_BTR_FD_PROP_FD(5)
FromToCountThreshold
Bin012431
Bin1018401

Port:

 MR_BTR_FD_PROP_FD(4)
FromToCountThreshold
Bin012861
Bin1018831

Port:

 MR_BTR_FD_PROP_FD(3)
FromToCountThreshold
Bin012751
Bin1018721

Port:

 MR_BTR_FD_PROP_FD(2)
FromToCountThreshold
Bin0111851
Bin1027751

Port:

 MR_BTR_FD_PROP_FD(1)
FromToCountThreshold
Bin0147061
Bin1031131

Port:

 MR_BTR_FD_PROP_FD(0)
FromToCountThreshold
Bin0138901
Bin1022901

Port:

 MR_BTR_FD_PH1_FD(4)
FromToCountThreshold
Bin012531
Bin1018511

Port:

 MR_BTR_FD_PH1_FD(3)
FromToCountThreshold
Bin012841
Bin1018821

Port:

 MR_BTR_FD_PH1_FD(2)
FromToCountThreshold
Bin0111791
Bin1027701

Port:

 MR_BTR_FD_PH1_FD(1)
FromToCountThreshold
Bin0116971
Bin10981

Port:

 MR_BTR_FD_PH1_FD(0)
FromToCountThreshold
Bin0138401
Bin1022411

Port:

 MR_BTR_FD_PH2_FD(4)
FromToCountThreshold
Bin012811
Bin1018791

Port:

 MR_BTR_FD_PH2_FD(3)
FromToCountThreshold
Bin013211
Bin1019191

Port:

 MR_BTR_FD_PH2_FD(2)
FromToCountThreshold
Bin0112121
Bin1028031

Port:

 MR_BTR_FD_PH2_FD(1)
FromToCountThreshold
Bin0117321
Bin101331

Port:

 MR_BTR_FD_PH2_FD(0)
FromToCountThreshold
Bin0138711
Bin1022711

Port:

 MR_BTR_FD_BRP_FD(7)
FromToCountThreshold
Bin01191
Bin1016191

Port:

 MR_BTR_FD_BRP_FD(6)
FromToCountThreshold
Bin01271
Bin1016271

Port:

 MR_BTR_FD_BRP_FD(5)
FromToCountThreshold
Bin01181
Bin1016181

Port:

 MR_BTR_FD_BRP_FD(4)
FromToCountThreshold
Bin01281
Bin1016281

Port:

 MR_BTR_FD_BRP_FD(3)
FromToCountThreshold
Bin01251
Bin1016251

Port:

 MR_BTR_FD_BRP_FD(2)
FromToCountThreshold
Bin0148431
Bin1032531

Port:

 MR_BTR_FD_BRP_FD(1)
FromToCountThreshold
Bin017581
Bin1023561

Port:

 MR_BTR_FD_BRP_FD(0)
FromToCountThreshold
Bin0126001
Bin1041921

Port:

 MR_BTR_FD_SJW_FD(4)
FromToCountThreshold
Bin012361
Bin1018331

Port:

 MR_BTR_FD_SJW_FD(3)
FromToCountThreshold
Bin012751
Bin1018721

Port:

 MR_BTR_FD_SJW_FD(2)
FromToCountThreshold
Bin019291
Bin1025261

Port:

 MR_BTR_FD_SJW_FD(1)
FromToCountThreshold
Bin0125581
Bin109651

Port:

 MR_BTR_FD_SJW_FD(0)
FromToCountThreshold
Bin019491
Bin1025461

Port:

 TSEG1_NBT(7)
FromToCountThreshold
Bin014561
Bin1020541

Port:

 TSEG1_NBT(6)
FromToCountThreshold
Bin0116891
Bin1032891

Port:

 TSEG1_NBT(5)
FromToCountThreshold
Bin018061
Bin1024041

Port:

 TSEG1_NBT(4)
FromToCountThreshold
Bin019351
Bin1025331

Port:

 TSEG1_NBT(3)
FromToCountThreshold
Bin0159811
Bin1043821

Port:

 TSEG1_NBT(2)
FromToCountThreshold
Bin0141921
Bin1057841

Port:

 TSEG1_NBT(1)
FromToCountThreshold
Bin0110671
Bin1026641

Port:

 TSEG1_NBT(0)
FromToCountThreshold
Bin0137591
Bin1021591

Port:

 TSEG2_NBT(5)
FromToCountThreshold
Bin012041
Bin1018021

Port:

 TSEG2_NBT(4)
FromToCountThreshold
Bin013471
Bin1019441

Port:

 TSEG2_NBT(3)
FromToCountThreshold
Bin013141
Bin1019121

Port:

 TSEG2_NBT(2)
FromToCountThreshold
Bin0138721
Bin1022741

Port:

 TSEG2_NBT(1)
FromToCountThreshold
Bin0134111
Bin1050031

Port:

 TSEG2_NBT(0)
FromToCountThreshold
Bin0121611
Bin105611

Port:

 BRP_NBT(7)
FromToCountThreshold
Bin01131
Bin1016131

Port:

 BRP_NBT(6)
FromToCountThreshold
Bin01121
Bin1016121

Port:

 BRP_NBT(5)
FromToCountThreshold
Bin01131
Bin1016131

Port:

 BRP_NBT(4)
FromToCountThreshold
Bin01171
Bin1016171

Port:

 BRP_NBT(3)
FromToCountThreshold
Bin0148311
Bin1032411

Port:

 BRP_NBT(2)
FromToCountThreshold
Bin019281
Bin1025231

Port:

 BRP_NBT(1)
FromToCountThreshold
Bin0147621
Bin1031691

Port:

 BRP_NBT(0)
FromToCountThreshold
Bin0123151
Bin1039121

Port:

 SJW_NBT(4)
FromToCountThreshold
Bin012051
Bin1018021

Port:

 SJW_NBT(3)
FromToCountThreshold
Bin012691
Bin1018661

Port:

 SJW_NBT(2)
FromToCountThreshold
Bin019661
Bin1025631

Port:

 SJW_NBT(1)
FromToCountThreshold
Bin0126251
Bin1010321

Port:

 SJW_NBT(0)
FromToCountThreshold
Bin0131161
Bin1047131

Port:

 TSEG1_DBT(6)
FromToCountThreshold
Bin0123321
Bin1039301

Port:

 TSEG1_DBT(5)
FromToCountThreshold
Bin012691
Bin1018691

Port:

 TSEG1_DBT(4)
FromToCountThreshold
Bin0124061
Bin1040041

Port:

 TSEG1_DBT(3)
FromToCountThreshold
Bin0136461
Bin1052371

Port:

 TSEG1_DBT(2)
FromToCountThreshold
Bin0143951
Bin1027951

Port:

 TSEG1_DBT(1)
FromToCountThreshold
Bin0132851
Bin1016921

Port:

 TSEG1_DBT(0)
FromToCountThreshold
Bin0120741
Bin104741

Port:

 TSEG2_DBT(4)
FromToCountThreshold
Bin012811
Bin1018791

Port:

 TSEG2_DBT(3)
FromToCountThreshold
Bin013211
Bin1019191

Port:

 TSEG2_DBT(2)
FromToCountThreshold
Bin0112121
Bin1028031

Port:

 TSEG2_DBT(1)
FromToCountThreshold
Bin0117321
Bin101331

Port:

 TSEG2_DBT(0)
FromToCountThreshold
Bin0138711
Bin1022711

Port:

 BRP_DBT(7)
FromToCountThreshold
Bin01191
Bin1016191

Port:

 BRP_DBT(6)
FromToCountThreshold
Bin01271
Bin1016271

Port:

 BRP_DBT(5)
FromToCountThreshold
Bin01181
Bin1016181

Port:

 BRP_DBT(4)
FromToCountThreshold
Bin01281
Bin1016281

Port:

 BRP_DBT(3)
FromToCountThreshold
Bin01251
Bin1016251

Port:

 BRP_DBT(2)
FromToCountThreshold
Bin0148431
Bin1032531

Port:

 BRP_DBT(1)
FromToCountThreshold
Bin017581
Bin1023561

Port:

 BRP_DBT(0)
FromToCountThreshold
Bin0126001
Bin1041921

Port:

 SJW_DBT(4)
FromToCountThreshold
Bin012361
Bin1018331

Port:

 SJW_DBT(3)
FromToCountThreshold
Bin012751
Bin1018721

Port:

 SJW_DBT(2)
FromToCountThreshold
Bin019291
Bin1025261

Port:

 SJW_DBT(1)
FromToCountThreshold
Bin0125581
Bin109651

Port:

 SJW_DBT(0)
FromToCountThreshold
Bin019491
Bin1025461

Port:

 START_EDGE
FromToCountThreshold
Bin0164811
Bin1080811

Signal:

 TSEG1_NBT_D(7)
FromToCountThreshold
Bin012001
Bin1017981

Signal:

 TSEG1_NBT_D(6)
FromToCountThreshold
Bin011261
Bin1017251

Signal:

 TSEG1_NBT_D(5)
FromToCountThreshold
Bin012261
Bin1018241

Signal:

 TSEG1_NBT_D(4)
FromToCountThreshold
Bin013021
Bin1019001

Signal:

 TSEG1_NBT_D(3)
FromToCountThreshold
Bin0138701
Bin1022721

Signal:

 TSEG1_NBT_D(2)
FromToCountThreshold
Bin0133111
Bin1049031

Signal:

 TSEG1_NBT_D(1)
FromToCountThreshold
Bin015251
Bin1021221

Signal:

 TSEG1_NBT_D(0)
FromToCountThreshold
Bin0122021
Bin106031

Signal:

 TSEG1_DBT_D(6)
FromToCountThreshold
Bin012201
Bin1018171

Signal:

 TSEG1_DBT_D(5)
FromToCountThreshold
Bin01961
Bin1016961

Signal:

 TSEG1_DBT_D(4)
FromToCountThreshold
Bin012681
Bin1018661

Signal:

 TSEG1_DBT_D(3)
FromToCountThreshold
Bin0111381
Bin1027291

Signal:

 TSEG1_DBT_D(2)
FromToCountThreshold
Bin0138451
Bin1022461

Signal:

 TSEG1_DBT_D(1)
FromToCountThreshold
Bin0126101
Bin1010181

Signal:

 TSEG1_DBT_D(0)
FromToCountThreshold
Bin0118171
Bin102181

Signal:

 MR_SETTINGS_ENA_REG
FromToCountThreshold
Bin0164811
Bin1080721

Signal:

 MR_SETTINGS_ENA_REG_2
FromToCountThreshold
Bin0164811
Bin1080721

Signal:

 CAPTURE
FromToCountThreshold
Bin0197141
Bin10113131

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression

200:        if (res_n = '0') then 
Evaluated toCountThreshold
BinFalse10527585841
BinTrue24184991

"=" expression

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

"=" expression

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

"and" expression

210:    capture <= '1' when (mr_settings_ena = '1' and mr_settings_ena_reg = '0') else 
                             <--------LHS-------->     <----------RHS---------->       

LHSRHSCountThreshold
BinFalseTrue96721
BinTrueFalse64811
BinTrueTrue97141

"=" expression

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

"=" expression

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

"and" expression

215:    start_edge <= '1' when (mr_settings_ena_reg_2 = '0' and mr_settings_ena_reg = '1') else 
                                <-----------LHS----------->     <----------RHS---------->       

LHSRHSCountThreshold
BinFalseTrue64811
BinTrueFalse80721
BinTrueTrue64811

"=" expression

254:        if (res_n = '0') then 
Evaluated toCountThreshold
BinFalse10527585841
BinTrue24184991

"=" expression

261:            if (capture = '1') then 
Evaluated toCountThreshold
BinFalse5263678181
BinTrue64821

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: