Question: Lab 4 . O Hamming Code DESCRIPTION The Hamming code is a special technique for encoding and decoding information to enable error detection and correction.
Lab O Hamming Code
DESCRIPTION
The Hamming code is a special technique for encoding and decoding information to enable error
detection and correction. Richard Hamming published his work in The high cost of
hardware in the past made this technique costly and, therefore, not practical. A CRAY computer
design was released to the marketplace which uses single error correcting techniques as
described in the Hamming paper.
ENCODING
A significant feature of the Hamming code is that all components of the algorithm are
mathematically sound and practical. The encoding procedure is to compute even parity bits
based on the information to be transmitted and send those parity bits along with the transmitted
information. If the information contains bits abcd then three parity bits rst are needed.
These parity bits are called check bits. The encoded message is then structured as:
position
bit a b c r d s t
where:
r is set to create even parity for bits and ;
s is set to create even parity for bits and ;
t is set to create even parity for bits and
You are to encode the contents of a byte in memory where the information bits a b c and d are
located as shown in the following:
xxxxabcd
For example, suppose that you have the following memory configuration, your task would be to
compose the encoded bytes as shown:
Memory Encoded Message
xxxx
xxxx
xxxx
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
