The fundamental formula for a Hamming coding is as below:
2^k≥n+k+1
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?