NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_PC_TOP.I_MAC_PC_TX_SHIFT_REG.I_TX_SHIFT_REG

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/medium_access_control/mac_pc_tx_shift_reg.vhd


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_PC_TOP.I_MAC_PC_TX_SHIFT_REG.I_TX_SHIFT_REG 100.0 % (7/7) 100.0 % (8/8) 100.0 % (202/202) 100.0 % (6/6) N.A. N.A. 100.0 % (223/223)

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:

Signal assignment statement on line 129:

129:    reg_output          <= shift_regs(G_WIDTH - 1)
Count: 1052453
Threshold: 1

If statement on lines 136 to 145:

136:        if (rst_n = G_RESET_POLARITY) then 
137:            shift_regs <= G_RESET_VALUE; 
...
144:            end if; 
145:        end if; 

Count: 1096781321
Threshold: 1

Signal assignment statement on line 137:

137:            shift_regs <= G_RESET_VALUE; 
Count: 2422674
Threshold: 1

If statement on lines 140 to 144:

140:            if (preload = '1') then 
141:                shift_regs <= preload_val; 
142:            elsif (enable = '1') then 
143:                shift_regs <= shift_regs(G_WIDTH - 2 downto 0) & '0'; 
144:            end if; 

Count: 547174334
Threshold: 1

Signal assignment statement on line 141:

141:                shift_regs <= preload_val; 
Count: 316701
Threshold: 1

Signal assignment statement on line 143:

143:                shift_regs <= shift_regs(G_WIDTH - 2 downto 0) & '0'; 
Count: 2356473
Threshold: 1

Signal assignment statement on line 151:

151:    reg_stat <= shift_regs
Count: 2289612
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

136:        if (rst_n = G_RESET_POLARITY) then 
Evaluated toCountThreshold
BinTrue24226741
BinFalse10943586471

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

139:        elsif (rising_edge(clk)) then 
Evaluated toCountThreshold
BinTrue5471743341
BinFalse5471843131

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

140:            if (preload = '1') then 
Evaluated toCountThreshold
BinTrue3167011
BinFalse5468576331

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

142:            elsif (enable = '1') then 
Evaluated toCountThreshold
BinTrue23564731
BinFalse5445011601

Uncovered toggles:

Excluded toggles:

Port:

 CLK
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RST_N
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 PRELOAD
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 PRELOAD_VAL
ElementFromToCountThresholdExcluded due to
Bin(31)0101Exclude file
Bin(31)1001Exclude file
Bin(30)0101Exclude file
Bin(30)1001Exclude file
Bin(29)0101Exclude file
Bin(29)1001Exclude file
Bin(28)0101Exclude file
Bin(28)1001Exclude file
Bin(27)0101Exclude file
Bin(27)1001Exclude file
Bin(26)0101Exclude file
Bin(26)1001Exclude file
Bin(25)0101Exclude file
Bin(25)1001Exclude file
Bin(24)0101Exclude file
Bin(24)1001Exclude file
Bin(23)0101Exclude file
Bin(23)1001Exclude file
Bin(22)0101Exclude file
Bin(22)1001Exclude file
Bin(21)0101Exclude file
Bin(21)1001Exclude file
Bin(20)0101Exclude file
Bin(20)1001Exclude file
Bin(19)0101Exclude file
Bin(19)1001Exclude file
Bin(18)0101Exclude file
Bin(18)1001Exclude file
Bin(17)0101Exclude file
Bin(17)1001Exclude file
Bin(16)0101Exclude file
Bin(16)1001Exclude file
Bin(15)0101Exclude file
Bin(15)1001Exclude file
Bin(14)0101Exclude file
Bin(14)1001Exclude file
Bin(13)0101Exclude file
Bin(13)1001Exclude file
Bin(12)0101Exclude file
Bin(12)1001Exclude file
Bin(11)0101Exclude file
Bin(11)1001Exclude file
Bin(10)0101Exclude file
Bin(10)1001Exclude file
Bin(9)0101Exclude file
Bin(9)1001Exclude file
Bin(8)0101Exclude file
Bin(8)1001Exclude file
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:

 ENABLE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 REG_STAT
ElementFromToCountThreshold
Bin(31)015246261
Bin(31)105262261
Bin(30)015012421
Bin(30)105028411
Bin(29)014762701
Bin(29)104778681
Bin(28)014515291
Bin(28)104531271
Bin(27)014106281
Bin(27)104122271
Bin(26)013937741
Bin(26)103953731
Bin(25)013687951
Bin(25)103703931
Bin(24)013513321
Bin(24)103529311
Bin(23)013276601
Bin(23)103292601
Bin(22)013107001
Bin(22)103123011
Bin(21)012869591
Bin(21)102885581
Bin(20)012610461
Bin(20)102626451
Bin(19)012448741
Bin(19)102464741
Bin(18)012327311
Bin(18)102343301
Bin(17)012152711
Bin(17)102168691
Bin(16)011949001
Bin(16)101965011
Bin(15)011801401
Bin(15)101817391
Bin(14)011644481
Bin(14)101660491
Bin(13)011499801
Bin(13)101515811
Bin(12)011408621
Bin(12)101424631
Bin(11)011307681
Bin(11)101323691
Bin(10)011217651
Bin(10)101233661
Bin(9)011109191
Bin(9)101125201
Bin(8)011017131
Bin(8)101033141
Bin(7)01913021
Bin(7)10929031
Bin(6)01824211
Bin(6)10840221
Bin(5)01715091
Bin(5)10731101
Bin(4)01633691
Bin(4)10649701
Bin(3)01528151
Bin(3)10544161
Bin(2)01445741
Bin(2)10461751
Bin(1)01346221
Bin(1)10362231
Bin(0)01264271
Bin(0)10280281

Port:

 REG_OUTPUT
FromToCountThreshold
Bin015246261
Bin105262261

Signal:

 SHIFT_REGS
ElementFromToCountThreshold
Bin(31)0111364431
Bin(31)1011515681
Bin(30)015012421
Bin(30)106252581
Bin(29)014762701
Bin(29)104783811
Bin(28)014515291
Bin(28)104536181
Bin(27)014106281
Bin(27)104126981
Bin(26)013937741
Bin(26)103958241
Bin(25)013687951
Bin(25)103708321
Bin(24)013513321
Bin(24)103533461
Bin(23)013276601
Bin(23)103296561
Bin(22)013107001
Bin(22)103126811
Bin(21)012869591
Bin(21)102889231
Bin(20)012610461
Bin(20)102629941
Bin(19)012448741
Bin(19)102467991
Bin(18)012327311
Bin(18)102346301
Bin(17)012152711
Bin(17)102171451
Bin(16)011949001
Bin(16)101967571
Bin(15)011801401
Bin(15)101819771
Bin(14)011644481
Bin(14)101662701
Bin(13)011499801
Bin(13)101517841
Bin(12)011408621
Bin(12)101426621
Bin(11)011307681
Bin(11)101325611
Bin(10)011217651
Bin(10)101235451
Bin(9)011109191
Bin(9)101126901
Bin(8)011017131
Bin(8)101034761
Bin(7)01913021
Bin(7)10930541
Bin(6)01824211
Bin(6)10841571
Bin(5)01715091
Bin(5)10732231
Bin(4)01633691
Bin(4)10650721
Bin(3)01528151
Bin(3)10545091
Bin(2)01445741
Bin(2)10462591
Bin(1)01346221
Bin(1)10362891
Bin(0)01264271
Bin(0)10280751

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 136:

 rst_n = G_RESET_POLARITY 
Evaluated toCountThreshold
BinFalse10943586471
BinTrue24226741

"=" expression on line 140:

 preload = '1' 
Evaluated toCountThreshold
BinFalse5468576331
BinTrue3167011

"=" expression on line 142:

 enable = '1' 
Evaluated toCountThreshold
BinFalse5445011601
BinTrue23564731

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: