Question: We want to design a Hamming Code for single error correction where the size of the dataword d 1 d 2 d 3 d 4
We want to design a Hamming Code for single error correction where the size of the dataword is
a Show that we need parity bits for the code. Let these bits be
b Now we need to have a Show the placement of the s and s over the bits of
c Construct the parityencoded codewords for the datawords. That is fill up the codewords in the table below. You may write a program to fill up the table if you want.
tableDatawordCodeword
Hint: Outline of Hamming Coding Algorithm:
The idea is to add a set of new bits, also called parity bits, to detect and correct errors in the data.
Each parity bit covers a specific set of data bits. The parity bit covers bit positions in the following way denote
Start from position
Include consecutive bits
Skip the next consecutive bits
Repeat steps and until the end of the string is reached
d We now need to communicate the string: aaabaaaadaaaaaaaafaaaaabaaacaa
Show the output after every action below:
i Using the Huffman Code designed in Q source encode the string
ii Group the bits of the encoded string in blocks of size at the end, pad s or s as appropriate and Channel encode the blocks using the Hamming Code designed above.
iii. During transmission, every bit of the stream gets flipped. Use Hamming errorcorrecting decoding of the blocks and show that is correctly received.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
