NVC code coverage report

Hierarchy

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/prescaler.vhd


Current 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 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 (res_n = '0') then 
201:            mr_settings_ena_reg     <= '0'; 
...
205:            mr_settings_ena_reg_2   <= mr_settings_ena_reg; 
206:        end if; 

Count: 1090018206
Threshold: 1

Signal assignment statement on line 201:

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

Signal assignment statement on line 202:

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

Signal assignment statement on line 204:

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

Signal assignment statement on line 205:

205:            mr_settings_ena_reg_2   <= mr_settings_ena_reg; 
Count: 543791678
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: 10699
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: 10093
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: 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: 9788
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: 9787
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 (res_n = '0') then 
255:            -- Matching reset values to what is in Memory registers. 
...
264:            end if; 
265:        end if; 

Count: 1090018206
Threshold: 1

Signal assignment statement on line 258:

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

Signal assignment statement on line 259:

259:            tseg1_dbt <= std_logic_vector(to_unsigned(7, G_TSEG1_DBT_WIDTH)); 
Count: 2424883
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: 543791678
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 (res_n = '0') then 
Evaluated toCountThreshold
BinTrue24248831
BinFalse10875933231

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

203:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5437916781
BinFalse5438016451

"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 (res_n = '0') then 
Evaluated toCountThreshold
BinTrue24248831
BinFalse10875933231

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

260:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5437916781
BinFalse5438016451

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

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

Uncovered toggles:

Excluded toggles:

Port:

 CLK_SYS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RES_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)018071
Bin(5)1024061
Bin(4)019341
Bin(4)1025331
Bin(3)0159811
Bin(3)1043811
Bin(2)0141911
Bin(2)1057821
Bin(1)0110641
Bin(1)1026621
Bin(0)0137611
Bin(0)1021601

Port:

 TSEG2_NBT
ElementFromToCountThreshold
Bin(5)012041
Bin(5)1018031
Bin(4)013491
Bin(4)1019471
Bin(3)013131
Bin(3)1019121
Bin(2)0138741
Bin(2)1022751
Bin(1)0134121
Bin(1)1050031
Bin(0)0121601
Bin(0)105591

Port:

 BRP_NBT
ElementFromToCountThreshold
Bin(7)01131
Bin(7)1016141
Bin(6)01141
Bin(6)1016151
Bin(5)01121
Bin(5)1016131
Bin(4)01161
Bin(4)1016171
Bin(3)0148311
Bin(3)1032421
Bin(2)019301
Bin(2)1025241
Bin(1)0147621
Bin(1)1031701
Bin(0)0123171
Bin(0)1039151

Port:

 SJW_NBT
ElementFromToCountThreshold
Bin(4)012041
Bin(4)1018021
Bin(3)012711
Bin(3)1018691
Bin(2)019711
Bin(2)1025681
Bin(1)0126241
Bin(1)1010321
Bin(0)0131161
Bin(0)1047131

Port:

 TSEG1_DBT
ElementFromToCountThreshold
Bin(6)0123301
Bin(6)1039291
Bin(5)012671
Bin(5)1018681
Bin(4)0124121
Bin(4)1040111
Bin(3)0136451
Bin(3)1052351
Bin(2)0143991
Bin(2)1027981
Bin(1)0132811
Bin(1)1016891
Bin(0)0120731
Bin(0)104721

Port:

 TSEG2_DBT
ElementFromToCountThreshold
Bin(4)012881
Bin(4)1018871
Bin(3)013151
Bin(3)1019141
Bin(2)0112121
Bin(2)1028021
Bin(1)0117341
Bin(1)101341
Bin(0)0138701
Bin(0)1022691

Port:

 BRP_DBT
ElementFromToCountThreshold
Bin(7)01181
Bin(7)1016191
Bin(6)01291
Bin(6)1016301
Bin(5)01171
Bin(5)1016181
Bin(4)01301
Bin(4)1016311
Bin(3)01271
Bin(3)1016281
Bin(2)0148431
Bin(2)1032541
Bin(1)017571
Bin(1)1023551
Bin(0)0126001
Bin(0)1041921

Port:

 SJW_DBT
ElementFromToCountThreshold
Bin(4)012471
Bin(4)1018451
Bin(3)012891
Bin(3)1018871
Bin(2)019161
Bin(2)1025131
Bin(1)0125681
Bin(1)109761
Bin(0)019531
Bin(0)1025501

Port:

 START_EDGE
FromToCountThreshold
Bin0164821
Bin1080831

Signal:

 TSEG1_NBT_D
ElementFromToCountThreshold
Bin(7)012001
Bin(7)1017991
Bin(6)011281
Bin(6)1017281
Bin(5)012231
Bin(5)1018221
Bin(4)013001
Bin(4)1018991
Bin(3)0138711
Bin(3)1022721
Bin(2)0133121
Bin(2)1049031
Bin(1)015221
Bin(1)1021201
Bin(0)0122031
Bin(0)106031

Signal:

 TSEG1_DBT_D
ElementFromToCountThreshold
Bin(6)012181
Bin(6)1018161
Bin(5)01941
Bin(5)1016951
Bin(4)012761
Bin(4)1018751
Bin(3)0111321
Bin(3)1027221
Bin(2)0138481
Bin(2)1022481
Bin(1)0126111
Bin(1)1010201
Bin(0)0118151
Bin(0)102151

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:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10875933231
BinTrue24248831

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

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10875933231
BinTrue24248831

"=" expression on line 261:

 capture = '1' 
Evaluated toCountThreshold
BinFalse5437851951
BinTrue64831

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: