The fundamental formula for a Hamming coding is as below:
Where k = # of parity bits and n = data bits
In a DDR system with ECC feature, every data byte will generate an additional ECC bit which makes a byte data 9 bits long.
However, if simply applying the Hamming code formula here, 8 bits of data will require 4 parity bits which will make the encoded data 12 bits long.
In this case, how can the DDR ECC feature be realized with the Hamming coding scheme?