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: 1056327
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: 1089136168
Threshold: 1

Signal assignment statement on line 137:

137:            shift_regs <= G_RESET_VALUE; 
Count: 2422593
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: 543351807
Threshold: 1

Signal assignment statement on line 141:

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

Signal assignment statement on line 143:

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

Signal assignment statement on line 151:

151:    reg_stat <= shift_regs; 
Count: 2293024
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
BinTrue24225931
BinFalse10867135751

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

139:        elsif (rising_edge(clk)) then 
Evaluated toCountThreshold
BinTrue5433518071
BinFalse5433617681

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

140:            if (preload = '1') then 
Evaluated toCountThreshold
BinTrue3163261
BinFalse5430354811

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

142:            elsif (enable = '1') then 
Evaluated toCountThreshold
BinTrue23652061
BinFalse5406702751

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)015265631
Bin(31)105281631
Bin(30)015024301
Bin(30)105040291
Bin(29)014756861
Bin(29)104772861
Bin(28)014528051
Bin(28)104544031
Bin(27)014127051
Bin(27)104143051
Bin(26)013960091
Bin(26)103976071
Bin(25)013731391
Bin(25)103747381
Bin(24)013522281
Bin(24)103538281
Bin(23)013313591
Bin(23)103329581
Bin(22)013106141
Bin(22)103122141
Bin(21)012914211
Bin(21)102930191
Bin(20)012669681
Bin(20)102685671
Bin(19)012495451
Bin(19)102511451
Bin(18)012347411
Bin(18)102363411
Bin(17)012189611
Bin(17)102205591
Bin(16)011979551
Bin(16)101995531
Bin(15)011830771
Bin(15)101846771
Bin(14)011668491
Bin(14)101684501
Bin(13)011518521
Bin(13)101534531
Bin(12)011431191
Bin(12)101447201
Bin(11)011324831
Bin(11)101340841
Bin(10)011234571
Bin(10)101250581
Bin(9)011112131
Bin(9)101128141
Bin(8)011029441
Bin(8)101045451
Bin(7)01918701
Bin(7)10934711
Bin(6)01838351
Bin(6)10854361
Bin(5)01731771
Bin(5)10747781
Bin(4)01650561
Bin(4)10666571
Bin(3)01543541
Bin(3)10559551
Bin(2)01462471
Bin(2)10478481
Bin(1)01347191
Bin(1)10363201
Bin(0)01271191
Bin(0)10287201

Port:

 REG_OUTPUT
FromToCountThreshold
Bin015265631
Bin105281631

Signal:

 SHIFT_REGS
ElementFromToCountThreshold
Bin(31)0111380661
Bin(31)1011533571
Bin(30)015024311
Bin(30)106269081
Bin(29)014756871
Bin(29)104774911
Bin(28)014528051
Bin(28)104545971
Bin(27)014127051
Bin(27)104144971
Bin(26)013960091
Bin(26)103977971
Bin(25)013731391
Bin(25)103749231
Bin(24)013522281
Bin(24)103540021
Bin(23)013313591
Bin(23)103331291
Bin(22)013106141
Bin(22)103123751
Bin(21)012914211
Bin(21)102931791
Bin(20)012669681
Bin(20)102687181
Bin(19)012495451
Bin(19)102512791
Bin(18)012347411
Bin(18)102364691
Bin(17)012189611
Bin(17)102206761
Bin(16)011979551
Bin(16)101996671
Bin(15)011830771
Bin(15)101847921
Bin(14)011668491
Bin(14)101685581
Bin(13)011518521
Bin(13)101535571
Bin(12)011431191
Bin(12)101448181
Bin(11)011324831
Bin(11)101341801
Bin(10)011234571
Bin(10)101251481
Bin(9)011112131
Bin(9)101128961
Bin(8)011029441
Bin(8)101046211
Bin(7)01918701
Bin(7)10935431
Bin(6)01838351
Bin(6)10855041
Bin(5)01731771
Bin(5)10748441
Bin(4)01650561
Bin(4)10667171
Bin(3)01543541
Bin(3)10560091
Bin(2)01462471
Bin(2)10479021
Bin(1)01347191
Bin(1)10363681
Bin(0)01271191
Bin(0)10287661

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 136:

 rst_n = G_RESET_POLARITY 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"=" expression on line 140:

 preload = '1' 
Evaluated toCountThreshold
BinFalse5430354811
BinTrue3163261

"=" expression on line 142:

 enable = '1' 
Evaluated toCountThreshold
BinFalse5406702751
BinTrue23652061

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: