Hamming & SECDED Code
(a) For data, using 3 Hamming code parity bits determine the maximum number of data bits that can be protected.
(b) A SECDED encoded character has been retrieved, with the hexadecimal value of 409(base16). You may assume that the SECDED parity is even.
1. Was there an error in transmission? Explain your answer.
2. If there was an error, either correct it (reporting the corrected ASCII character) or explain why it could not be corrected (Show your Hamming/SECDED table).
(a) For data, using 3 Hamming code parity bits determine the maximum number of data bits that can be protected.
A byte of data:
10011010
Create the data word, leaving spaces for the parity bits: _ _ 1 _ 0
0 1 _ 1 0 1 0
Calculate the parity for each parity bit (a ? represents the bit
position being set):
(b) A SECDED encoded character has been retrieved, with the hexadecimal value of 409(base16). You may assume that the SECDED parity is even.
Length of Data Sequence | Number of Parity Bits | Length of CodeWord |
---|---|---|
12 | 5 | 17 |
Parity Scheme
P0 = D0 + D1 + D3 +
D4 + D6 + D8 + D10 +
D11
P1 = D0 + D2 + D3 +
D5 + D6 + D9 +
D10
P2 = D1 + D2 + D3 +
D7 + D8 + D9 +
D10
P3 = D4 + D5 + D6 +
D7 + D8 + D9 +
D10
P4 = D11
Syndrome Matrix
D11 | D10 | D9 | D8 | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | P4 | P3 | P2 | P1 | P0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 |
0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 |
1 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 |
1)The checksum matrix shows that the received codeword contains no errors.
Hamming & SECDED Code (a) For data, using 3 Hamming code parity bits determine the maximum...
Showing all your working out and intermediate steps. a) For data, using 4 Hamming code parity bits determine the maximum number of data bits that can be protected. b) A SECDED encoded character has been retrieved, with the hexadecimal value of BE4. You may assume that the SECDED parity is even. i. Was there an error in transmission? Explain your answer. ii. If there was an error, either correct it (and report the corrected data binary string) or explain why it could not be...
Q3. In a (7,4) Hamming Code, three parity bits p1, p2, p3 are added to four data bits dl, d2, d3, and d4, and the coverage of each parity bit is as shown in the table below: Bit position 2 3 4 5 6 7 Encoded data bits p1 p2 di p3 d2 d3 d4 da X p1 X X X x Parity bit coverage p2 х X X p3 X X X х 1) (3 pts) Assume even parity...
In Hamming codes with 8 data bits and 4 parity bits: If d3 is the only error in transmission, what does the receiver do? If d3 and d6 are the only two error bits in transmission, what does the receiver do? If the receiver ends up correcting d6, what are three possible scenarios that could have happened (there are many more scenarios, but you need to list only three)?
Given the data-bits m = 11010110 , determine the number of k (parity-bits) by using Hamming Code requirements. Illustrate the error detection and correction scheme using Hamming code method, for both the sender and receiver to detect an error at the following positions: a. 6 th bit position . b. 11 th bit position . Assume an odd-parity scheme for this problem. You must show detailed calculations to receive full-credit.
A 12-bit Hamming code word containing 8 bits of data and 4 parity bits is read from memory. What was the original 8-bit data word that was written into memory if the 12-bit word read out is as follows: 101110000110
5) (2 pt) A 12-bit Hamming code word containing 8 bits of data and 4 parity bits is read from memory. What was the original 8-bit data word that was written into memory if the 12-bit word read out is 010011111000? Show your work. 5) (2 pt) A 12-bit Hamming code word containing 8 bits of data and 4 parity bits is read from memory. What was the original 8-bit data word that was written into memory if the 12-bit...
A sequence of received data bits is 011100101011. Check if an error exists in bit transmission, assuming that the word was created using the even parity Hamming code.
Question 2. Using the Hamming code algorithm (7,4), convert a data message (0111) using 7bit. a) b) c) d) e) Find number of parity bits needed Evaluate values of parity bits using Exclusive-OR. Show final message bits with parity bits. How do you identify that the received message has error? Inject an error (o or 1) at position 3 and identify the error position.
Please show how this answer was obtained. Problem #6 (15 points) A 12-bit hamming code was generated from an 8-bit code using the format as follows Original 8-bit value Modified 8-bit value (12-bt hamming code format) 10 9 C3 co The 12-bit hamming code was transmitted over a communication channel. An error may or may not have occurred during the transmission. The received 12-bit values were shown as follows: Received 12-bit value 10 Determine whether an eror had been occurred,...
1. How many different characters could be encoded using a six-bit code? 2. What is the numerical difference between ASCI a and ASClI 'AN if you treaj them as hexadecimal (hex) numbers? 3. The ASCII codes for the characters 'O' through '9' are what hex numbers? If an asynchronous frame is used to send ASCII characters in the form of bytes (8 bits), what is the shortest time it could take to send 1000 characters if each bit in a...