If you have 4-bit memory word, how many parity bits should be added to form a code
Question:
If you have 4-bit memory word, how many parity bits should be added to form a code word that can detect and correct 1-bit error using the Hamming Algorithm. Show your work.
Suppose we are working with an error-correcting code that will allow all single-bit errors to be corrected for memory word of length 7. We have already calculated that we need 4 parity bits, and the length of all code words will be 11. Code words are created according to the Hamming Algorithm presented in the text. We now receive the following code word:
1 1 1 1 1 0 1 0 0 0 1
Assuming even parity, is this a legal code word? If not, according to our error-correcting code, where is the error? Prove your work.
Digital Systems Design Using Verilog
ISBN: 978-1285051079
1st edition
Authors: Charles Roth, Lizy K. John, Byeong Kil Lee