SECDED
250
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
F021 Flash Module Controller (FMC)
5.3.2 ECC Encoding
Nineteen address lines are also included in the ECC calculation. A failure of a single address line inside of
the bank will be treated as an uncorrectable error. The ECC encoding is shown in
. Bits 31:0
come from the word at the address ending in 0x0 or 0x8, Bits 63:31 come from the word at the address
ending in 0x4 or 0xC.
Table 5-1. ECC Encoding for LE Devices
8
2
8
1
8
0
7
9
7
8
7
7
7
6
7
5
7
4
7
3
7
2
7
1
7
0
6
9
6
8
6
7
6
6
6
5
6
4
Participating Address Bits
ADDR_MSW_LSW
ECC Bit
2
1
2
0
1
9
1
8
1
7
1
6
1
5
1
4
1
3
1
2
1
1
1
0
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0007F_00FFFF00_FF0000FF
7
x
x
x
x
x
x
x
7FF80_FF0000FF_FF0000FF
6
x
x
x
x
x
x
x
x
x
x
x
x
07F80_FF00FF00_FF00FF00
5
x
x
x
x
x
x
x
x
19F83_C0FCC0FC_C0FCC0FC
4
x
x
x
x
x
x
x
x
x
x
6A78D_38E338E3_38E338E3
3
x
x
x
x
x
x
x
x
x
x
x
2A9B5_A699A699_A699A699
2
x
x
x
x
x
x
x
x
x
x
0BAD1_15571557_15571557
1
x
x
x
x
x
x
x
x
x
554EA_B4D1B4D1_4B2E4B2E
0
x
x
x
x
x
x
x
x
x
x
Participating Data Bits
6
3
6
2
6
1
6
0
5
9
5
8
5
7
5
6
5
5
5
4
5
3
5
2
5
1
5
0
4
9
4
8
4
7
4
6
4
5
4
4
4
3
4
2
4
1
4
0
3
9
3
8
3
7
3
6
3
5
3
4
3
3
3
2
3
1
3
0
2
9
2
8
2
7
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
(1)
For Odd parity, XOR a 1 to the row’s XOR result. For even Parity, use the row’s XOR result directly.
(2)
Each ECC[x] bit represents the XOR of all the address and data bits marked with x in the same row.
Participating Data Bits
Parity
(1)
Check Bits
(2)
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1
9
1
8
1
7
1
6
1
5
1
4
1
3
1
2
1
1
1
0
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
x
x
x
x
x
x
x
x
x
x
x
Even
ECC[7]
x
x
x
x
x
x
x
x
x
x
x
Even
ECC[6]
x
x
x
x
x
x
x
x
x
x
x
Even
ECC[5]
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Even
ECC[4]
x
x
x
x
x
x
x
x
x
x
x
x
x
Odd
ECC[3]
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Odd
ECC[2]
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Even
ECC[1]
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Even
ECC[0]