Line Coverage for Module :
prim_secded_hamming_22_16_dec
| Line No. | Total | Covered | Percent |
TOTAL | | 24 | 24 | 100.00 |
ALWAYS | 16 | 24 | 24 | 100.00 |
15 // Syndrome calculation
16 1/1 syndrome_o[0] = ^(data_i & 22'h01AD5B);
Tests: T1 T2 T3
17 1/1 syndrome_o[1] = ^(data_i & 22'h02366D);
Tests: T1 T2 T3
18 1/1 syndrome_o[2] = ^(data_i & 22'h04C78E);
Tests: T1 T2 T3
19 1/1 syndrome_o[3] = ^(data_i & 22'h0807F0);
Tests: T1 T2 T3
20 1/1 syndrome_o[4] = ^(data_i & 22'h10F800);
Tests: T1 T2 T3
21 1/1 syndrome_o[5] = ^(data_i & 22'h3FFFFF);
Tests: T1 T2 T3
22
23 // Corrected output calculation
24 1/1 data_o[0] = (syndrome_o == 6'h23) ^ data_i[0];
Tests: T1 T2 T3
25 1/1 data_o[1] = (syndrome_o == 6'h25) ^ data_i[1];
Tests: T1 T2 T3
26 1/1 data_o[2] = (syndrome_o == 6'h26) ^ data_i[2];
Tests: T1 T2 T3
27 1/1 data_o[3] = (syndrome_o == 6'h27) ^ data_i[3];
Tests: T1 T2 T3
28 1/1 data_o[4] = (syndrome_o == 6'h29) ^ data_i[4];
Tests: T1 T2 T3
29 1/1 data_o[5] = (syndrome_o == 6'h2a) ^ data_i[5];
Tests: T1 T2 T3
30 1/1 data_o[6] = (syndrome_o == 6'h2b) ^ data_i[6];
Tests: T1 T2 T3
31 1/1 data_o[7] = (syndrome_o == 6'h2c) ^ data_i[7];
Tests: T1 T2 T3
32 1/1 data_o[8] = (syndrome_o == 6'h2d) ^ data_i[8];
Tests: T1 T2 T3
33 1/1 data_o[9] = (syndrome_o == 6'h2e) ^ data_i[9];
Tests: T1 T2 T3
34 1/1 data_o[10] = (syndrome_o == 6'h2f) ^ data_i[10];
Tests: T1 T2 T3
35 1/1 data_o[11] = (syndrome_o == 6'h31) ^ data_i[11];
Tests: T1 T2 T3
36 1/1 data_o[12] = (syndrome_o == 6'h32) ^ data_i[12];
Tests: T1 T2 T3
37 1/1 data_o[13] = (syndrome_o == 6'h33) ^ data_i[13];
Tests: T1 T2 T3
38 1/1 data_o[14] = (syndrome_o == 6'h34) ^ data_i[14];
Tests: T1 T2 T3
39 1/1 data_o[15] = (syndrome_o == 6'h35) ^ data_i[15];
Tests: T1 T2 T3
40
41 // err_o calc. bit0: single error, bit1: double error
42 1/1 err_o[0] = syndrome_o[5];
Tests: T1 T2 T3
43 1/1 err_o[1] = |syndrome_o[4:0] & ~syndrome_o[5];
Tests: T1 T2 T3
Cond Coverage for Module :
prim_secded_hamming_22_16_dec
| Total | Covered | Percent |
Conditions | 99 | 99 | 100.00 |
Logical | 99 | 99 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 24
EXPRESSION ((syndrome_o == 6'h23) ^ data_i[0])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T259,T287,T155 |
1 | 1 | Covered | T4,T130,T146 |
LINE 24
SUB-EXPRESSION (syndrome_o == 6'h23)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T130,T146 |
LINE 25
EXPRESSION ((syndrome_o == 6'h25) ^ data_i[1])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T126,T119,T194 |
1 | 1 | Covered | T4,T88,T66 |
LINE 25
SUB-EXPRESSION (syndrome_o == 6'h25)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T88,T66 |
LINE 26
EXPRESSION ((syndrome_o == 6'h26) ^ data_i[2])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T95,T361,T362 |
1 | 1 | Covered | T4,T5,T124 |
LINE 26
SUB-EXPRESSION (syndrome_o == 6'h26)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T5,T124 |
LINE 27
EXPRESSION ((syndrome_o == 6'h27) ^ data_i[3])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T145,T119,T37 |
1 | 1 | Covered | T5,T126,T128 |
LINE 27
SUB-EXPRESSION (syndrome_o == 6'h27)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T5,T126,T145 |
LINE 28
EXPRESSION ((syndrome_o == 6'h29) ^ data_i[4])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T7,T199,T316 |
1 | 1 | Covered | T6,T66,T18 |
LINE 28
SUB-EXPRESSION (syndrome_o == 6'h29)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T7,T6,T66 |
LINE 29
EXPRESSION ((syndrome_o == 6'h2a) ^ data_i[5])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T363,T164,T229 |
1 | 1 | Covered | T126,T194,T120 |
LINE 29
SUB-EXPRESSION (syndrome_o == 6'h2a)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T126,T194,T120 |
LINE 30
EXPRESSION ((syndrome_o == 6'h2b) ^ data_i[6])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T126,T118,T92 |
1 | 1 | Covered | T4,T66,T124 |
LINE 30
SUB-EXPRESSION (syndrome_o == 6'h2b)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T66,T124 |
LINE 31
EXPRESSION ((syndrome_o == 6'h2c) ^ data_i[7])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T2,T5,T194 |
1 | 1 | Covered | T66,T117,T37 |
LINE 31
SUB-EXPRESSION (syndrome_o == 6'h2c)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T5,T66 |
LINE 32
EXPRESSION ((syndrome_o == 6'h2d) ^ data_i[8])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T100,T34,T364 |
1 | 1 | Covered | T4,T194,T199 |
LINE 32
SUB-EXPRESSION (syndrome_o == 6'h2d)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T194,T199 |
LINE 33
EXPRESSION ((syndrome_o == 6'h2e) ^ data_i[9])
----------1---------- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T8,T316,T262 |
1 | 1 | Covered | T195,T37,T153 |
LINE 33
SUB-EXPRESSION (syndrome_o == 6'h2e)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T8,T195,T37 |
LINE 34
EXPRESSION ((syndrome_o == 6'h2f) ^ data_i[10])
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T88,T61,T117 |
1 | 1 | Covered | T4,T5,T18 |
LINE 34
SUB-EXPRESSION (syndrome_o == 6'h2f)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T5,T88 |
LINE 35
EXPRESSION ((syndrome_o == 6'h31) ^ data_i[11])
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T4,T92,T221 |
1 | 1 | Covered | T4,T8,T198 |
LINE 35
SUB-EXPRESSION (syndrome_o == 6'h31)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T8,T92 |
LINE 36
EXPRESSION ((syndrome_o == 6'h32) ^ data_i[12])
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T199,T100,T46 |
1 | 1 | Covered | T66,T118,T122 |
LINE 36
SUB-EXPRESSION (syndrome_o == 6'h32)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T66,T118,T199 |
LINE 37
EXPRESSION ((syndrome_o == 6'h33) ^ data_i[13])
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T116,T118,T210 |
1 | 1 | Covered | T130,T87,T88 |
LINE 37
SUB-EXPRESSION (syndrome_o == 6'h33)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T130,T87,T88 |
LINE 38
EXPRESSION ((syndrome_o == 6'h34) ^ data_i[14])
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T61,T94,T261 |
1 | 1 | Covered | T116,T200,T152 |
LINE 38
SUB-EXPRESSION (syndrome_o == 6'h34)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T116,T61,T200 |
LINE 39
EXPRESSION ((syndrome_o == 6'h35) ^ data_i[15])
----------1---------- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T4 |
1 | 0 | Covered | T122,T9,T261 |
1 | 1 | Covered | T18,T93,T195 |
LINE 39
SUB-EXPRESSION (syndrome_o == 6'h35)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T18,T93,T195 |
LINE 43
EXPRESSION (((|syndrome_o[4:0])) & ((~syndrome_o[5])))
----------1--------- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T4,T5 |
1 | 1 | Covered | T2,T4,T5 |