NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BM_TOP.I_BM_TRV_DELAY_MEAS

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/bus_management/bm_top.vhd

Nested Instances Statement Branch Toggle Expression FSM state Functional Average
I_TRV_DELAY_RST_REG 100.0 % (6/6) 100.0 % (6/6) 100.0 % (28/28) 100.0 % (2/2) N.A. N.A. 100.0 % (42/42)

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_TRV_DELAY_MEAS 100.0 % (36/36) 100.0 % (31/31) 100.0 % (162/162) 100.0 % (30/30) N.A. N.A. 100.0 % (259/259)

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 247 to 250:

247:    trv_meas_progress_d <= '0' when (tran_delay_meas = '0') else 
248:                           '1' when (edge_tx_valid = '1') else 
249:                           '0' when (edge_rx_valid = '1') else 
250:                           trv_meas_progress_q; 

Count: 4207879
Threshold: 1

Signal assignment statement on line 247:

247:    trv_meas_progress_d <= '0' when (tran_delay_meas = '0') else 
Count: 4054447
Threshold: 1

Signal assignment statement on line 248:

248:                           '1' when (edge_tx_valid = '1') else 
Count: 27568
Threshold: 1

Signal assignment statement on line 249:

249:                           '0' when (edge_rx_valid = '1') else 
Count: 44074
Threshold: 1

Signal assignment statement on line 250:

250:                           trv_meas_progress_q; 
Count: 81790
Threshold: 1

If statement on lines 257 to 263:

257:        if (rst_n = '0') then 
258:            trv_meas_progress_q     <= '0'; 
...
262:            trv_meas_progress_del   <= trv_meas_progress_q; 
263:        end if; 

Count: 1089136168
Threshold: 1

Signal assignment statement on line 258:

258:            trv_meas_progress_q     <= '0'; 
Count: 2422593
Threshold: 1

Signal assignment statement on line 259:

259:            trv_meas_progress_del   <= '0'; 
Count: 2422593
Threshold: 1

Signal assignment statement on line 261:

261:            trv_meas_progress_q     <= trv_meas_progress_d; 
Count: 543351807
Threshold: 1

Signal assignment statement on line 262:

262:            trv_meas_progress_del   <= trv_meas_progress_q; 
Count: 543351807
Threshold: 1

If statement on lines 269 to 271:

269:    trv_delay_ctr_rst_d <= '0' when (tran_delay_meas = '1' and edge_tx_valid = '1') 
270:                               else 
271:                           '1'; 

Count: 1361197
Threshold: 1

Signal assignment statement on line 269:

269:    trv_delay_ctr_rst_d <= '0' when (tran_delay_meas = '1' and edge_tx_valid = '1') 
Count: 13784
Threshold: 1

Signal assignment statement on line 271:

271:                           '1'; 
Count: 1347413
Threshold: 1

Signal assignment statement on line 296:

296:    trv_delay_ctr_add <= std_logic_vector(unsigned(trv_delay_ctr_q) + 1); 
Count: 42827
Threshold: 1

If statement on lines 299 to 301:

299:    trv_delay_ctr_d <= C_TRV_DEL_SAT when (trv_delay_ctr_q = C_TRV_DEL_SAT) 
300:                                     else 
301:                      trv_delay_ctr_add; 

Count: 85654
Threshold: 1

Signal assignment statement on line 299:

299:    trv_delay_ctr_d <= C_TRV_DEL_SAT when (trv_delay_ctr_q = C_TRV_DEL_SAT) 
Count: 30
Threshold: 1

Signal assignment statement on line 301:

301:                      trv_delay_ctr_add; 
Count: 85624
Threshold: 1

If statement on lines 308 to 318:

308:        if (trv_delay_ctr_rst_q_scan = '0') then 
309:            trv_delay_ctr_q(0) <= '1'; 
...
317:            end if; 
318:        end if; 

Count: 1089163735
Threshold: 1

Signal assignment statement on line 309:

309:            trv_delay_ctr_q(0) <= '1'; 
Count: 2476911
Threshold: 1

Signal assignment statement on line 310:

310:            trv_delay_ctr_q(G_TRV_CTR_WIDTH - 1 downto 1) <= (others => '0'); 
Count: 2476911
Threshold: 1

If statement on lines 315 to 317:

315:            if (trv_meas_progress_q = '1') then 
316:                trv_delay_ctr_q <= trv_delay_ctr_d; 
317:            end if; 

Count: 543331540
Threshold: 1

Signal assignment statement on line 316:

316:                trv_delay_ctr_q <= trv_delay_ctr_d; 
Count: 25996
Threshold: 1

Signal assignment statement on lines 325 to 326:

325:    trv_delay_sum <= std_logic_vector(('0' & unsigned(trv_delay_ctr_q)) + 
326:                                      ('0' & unsigned(mr_ssp_cfg_ssp_offset))); 

Count: 50902
Threshold: 1

Sequential statement on lines 333 to 336:

333:    with mr_ssp_cfg_ssp_src select ssp_delay <= 
334:                  trv_delay_sum when SSP_SRC_MEAS_N_OFFSET, 
335:    '0' & mr_ssp_cfg_ssp_offset when SSP_SRC_OFFSET, 
336:                (others => '0') when others; 

Count: 57814
Threshold: 1

Signal assignment statement on line 334:

334:                  trv_delay_sum when SSP_SRC_MEAS_N_OFFSET, 
Count: 36168
Threshold: 1

Signal assignment statement on line 335:

335:    '0' & mr_ssp_cfg_ssp_offset when SSP_SRC_OFFSET, 
Count: 2733
Threshold: 1

Signal assignment statement on line 336:

336:                (others => '0') when others; 
Count: 18913
Threshold: 1

If statement on lines 345 to 354:

345:        if (rst_n = '0') then 
346:            ssp_delay_shadowed <= (others => '0'); 
...
353:            end if; 
354:        end if; 

Count: 1089136168
Threshold: 1

Signal assignment statement on line 346:

346:            ssp_delay_shadowed <= (others => '0'); 
Count: 2422593
Threshold: 1

Signal assignment statement on line 347:

347:            trv_delay_shadowed <= (others => '0'); 
Count: 2422593
Threshold: 1

If statement on lines 350 to 353:

350:            if (ssp_shadow_ce = '1') then 
351:                ssp_delay_shadowed <= ssp_delay; 
352:                trv_delay_shadowed <= trv_delay_ctr_q; 
353:            end if; 

Count: 543351807
Threshold: 1

Signal assignment statement on line 351:

351:                ssp_delay_shadowed <= ssp_delay; 
Count: 13784
Threshold: 1

Signal assignment statement on line 352:

352:                trv_delay_shadowed <= trv_delay_ctr_q; 
Count: 13784
Threshold: 1

If statement on lines 362 to 364:

362:    ssp_shadow_ce <= '1' when (trv_meas_progress_del = '1') and (trv_meas_progress_q = '0') 
363:                         else 
364:                     '0'; 

Count: 59939
Threshold: 1

Signal assignment statement on line 362:

362:    ssp_shadow_ce <= '1' when (trv_meas_progress_del = '1') and (trv_meas_progress_q = '0') 
Count: 13784
Threshold: 1

Signal assignment statement on line 364:

364:                     '0'; 
Count: 46155
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

247:    trv_meas_progress_d <= '0' when (tran_delay_meas = '0') else 
Evaluated toCountThreshold
BinTrue40544471
BinFalse1534321

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

248:                           '1' when (edge_tx_valid = '1') else 
Evaluated toCountThreshold
BinTrue275681
BinFalse1258641

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

249:                           '0' when (edge_rx_valid = '1') else 
Evaluated toCountThreshold
BinTrue440741
BinFalse817901

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

257:        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 269:

269:    trv_delay_ctr_rst_d <= '0' when (tran_delay_meas = '1' and edge_tx_valid = '1') 
Evaluated toCountThreshold
BinTrue137841
BinFalse13474131

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

299:    trv_delay_ctr_d <= C_TRV_DEL_SAT when (trv_delay_ctr_q = C_TRV_DEL_SAT) 
Evaluated toCountThreshold
BinTrue301
BinFalse856241

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

308:        if (trv_delay_ctr_rst_q_scan = '0') then 
Evaluated toCountThreshold
BinTrue24769111
BinFalse10866868241

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

312:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5433315401
BinFalse5433552841

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

315:            if (trv_meas_progress_q = '1') then 
Evaluated toCountThreshold
BinTrue259961
BinFalse5433055441

"case" / "with" / "select" choice on line 334:

334:                  trv_delay_sum when SSP_SRC_MEAS_N_OFFSET, 
Choice ofCountThreshold
BinSSP_SRC_MEAS_N_OFFSET361681

"case" / "with" / "select" choice on line 335:

335:    '0' & mr_ssp_cfg_ssp_offset when SSP_SRC_OFFSET, 
Choice ofCountThreshold
BinSSP_SRC_OFFSET27331

"case" / "with" / "select" choice on line 336:

336:                (others => '0') when others; 
Choice ofCountThreshold
Binothers189131

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

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

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

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

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

350:            if (ssp_shadow_ce = '1') then 
Evaluated toCountThreshold
BinTrue137841
BinFalse5433380231

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

362:    ssp_shadow_ce <= '1' when (trv_meas_progress_del = '1') and (trv_meas_progress_q = '0') 
Evaluated toCountThreshold
BinTrue137841
BinFalse461551

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:

 SCAN_MODE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 EDGE_TX_VALID
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 EDGE_RX_VALID
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TRAN_DELAY_MEAS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 MR_SSP_CFG_SSP_OFFSET
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_SSP_CFG_SSP_SRC
ElementFromToCountThresholdExcluded due to
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Covered toggles:

Port:

 TRV_DELAY_SHADOWED
ElementFromToCountThreshold
Bin(7)01181
Bin(7)1016191
Bin(6)01381
Bin(6)1016391
Bin(5)01711
Bin(5)1016721
Bin(4)01881
Bin(4)1016891
Bin(3)01771
Bin(3)1016781
Bin(2)01831
Bin(2)1016841
Bin(1)0121691
Bin(1)1037701
Bin(0)01531
Bin(0)1016541

Port:

 SSP_DELAY_SHADOWED
ElementFromToCountThreshold
Bin(8)01111
Bin(8)1016121
Bin(7)01331
Bin(7)1016341
Bin(6)01421
Bin(6)1016431
Bin(5)01691
Bin(5)1016701
Bin(4)01611
Bin(4)1016621
Bin(3)012641
Bin(3)1018651
Bin(2)019341
Bin(2)1025351
Bin(1)012411
Bin(1)1018421
Bin(0)019151
Bin(0)1025161

Signal:

 TRV_MEAS_PROGRESS_D
FromToCountThreshold
Bin01137841
Bin10153851

Signal:

 TRV_MEAS_PROGRESS_Q
FromToCountThreshold
Bin01137841
Bin10153851

Signal:

 TRV_MEAS_PROGRESS_DEL
FromToCountThreshold
Bin01137841
Bin10153851

Signal:

 TRV_DELAY_CTR_Q
ElementFromToCountThreshold
Bin(7)01561
Bin(7)1016291
Bin(6)011511
Bin(6)1017051
Bin(5)013711
Bin(5)1018921
Bin(4)017831
Bin(4)1022811
Bin(3)0115541
Bin(3)1030541
Bin(2)0131061
Bin(2)1046161
Bin(1)01198201
Bin(1)10213481
Bin(0)01214441
Bin(0)10197821

Signal:

 TRV_DELAY_CTR_D
ElementFromToCountThreshold
Bin(7)01281
Bin(7)1016291
Bin(6)01761
Bin(6)1016771
Bin(5)011891
Bin(5)1017901
Bin(4)013961
Bin(4)1019971
Bin(3)017851
Bin(3)1023861
Bin(2)0115771
Bin(2)1031781
Bin(1)0146671
Bin(1)1030661
Bin(0)01197821
Bin(0)10213831

Signal:

 TRV_DELAY_CTR_ADD
ElementFromToCountThreshold
Bin(7)01281
Bin(7)1016291
Bin(6)01761
Bin(6)1016771
Bin(5)011891
Bin(5)1017901
Bin(4)013961
Bin(4)1019971
Bin(3)017851
Bin(3)1023861
Bin(2)0115771
Bin(2)1031781
Bin(1)0146671
Bin(1)1030661
Bin(0)01197821
Bin(0)10213831

Signal:

 TRV_DELAY_CTR_RST_D
FromToCountThreshold
Bin01153851
Bin10137841

Signal:

 TRV_DELAY_CTR_RST_Q_SCAN
FromToCountThreshold
Bin01218671
Bin10218571

Signal:

 SSP_SHADOW_CE
FromToCountThreshold
Bin01137841
Bin10153851

Signal:

 SSP_DELAY
ElementFromToCountThreshold
Bin(8)01161
Bin(8)1032181
Bin(7)01511
Bin(7)1032531
Bin(6)01941
Bin(6)1032961
Bin(5)012041
Bin(5)1034061
Bin(4)013541
Bin(4)1035561
Bin(3)0149021
Bin(3)1049131
Bin(2)0138261
Bin(2)1070281
Bin(1)0168421
Bin(1)1068531
Bin(0)01160551
Bin(0)10160661

Signal:

 TRV_DELAY_SUM
ElementFromToCountThreshold
Bin(8)01231
Bin(8)1016241
Bin(7)01651
Bin(7)1016661
Bin(6)011321
Bin(6)1017331
Bin(5)012631
Bin(5)1018641
Bin(4)014711
Bin(4)1020721
Bin(3)0151161
Bin(3)1035261
Bin(2)0142581
Bin(2)1058591
Bin(1)01144951
Bin(1)10129051
Bin(0)01237801
Bin(0)10221791

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 247:

 tran_delay_meas = '0' 
Evaluated toCountThreshold
BinFalse1534321
BinTrue40544471

"=" expression on line 248:

 edge_tx_valid = '1' 
Evaluated toCountThreshold
BinFalse1258641
BinTrue275681

"=" expression on line 249:

 edge_rx_valid = '1' 
Evaluated toCountThreshold
BinFalse817901
BinTrue440741

"=" expression on line 257:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"and" expression on line 269:

 tran_delay_meas = '1' and edge_tx_valid = '1' 
 <--------LHS-------->     <-------RHS-------> 

LHSRHSCountThreshold
BinFalseTrue6283101
BinTrueFalse498871
BinTrueTrue137841

"=" expression on line 269:

 tran_delay_meas = '1' 
Evaluated toCountThreshold
BinFalse12975261
BinTrue636711

"=" expression on line 269:

 edge_tx_valid = '1' 
Evaluated toCountThreshold
BinFalse7191031
BinTrue6420941

"=" expression on line 308:

 trv_delay_ctr_rst_q_scan = '0' 
Evaluated toCountThreshold
BinFalse10866868241
BinTrue24769111

"=" expression on line 315:

 trv_meas_progress_q = '1' 
Evaluated toCountThreshold
BinFalse5433055441
BinTrue259961

"=" expression on line 345:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"=" expression on line 350:

 ssp_shadow_ce = '1' 
Evaluated toCountThreshold
BinFalse5433380231
BinTrue137841

"and" expression on line 362:

 (trv_meas_progress_del = '1') and (trv_meas_progress_q = '0') 
  <-----------LHS----------->       <----------RHS---------->  

LHSRHSCountThreshold
BinFalseTrue169861
BinTrueFalse137841
BinTrueTrue137841

"=" expression on line 362:

 trv_meas_progress_del = '1' 
Evaluated toCountThreshold
BinFalse323711
BinTrue275681

"=" expression on line 362:

 trv_meas_progress_q = '0' 
Evaluated toCountThreshold
BinFalse291691
BinTrue307701

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: