Maker Pro
Maker Pro

Hamming code problem

riyasharma

Oct 2, 2012
4
Joined
Oct 2, 2012
Messages
4
Encode binary digits 1011 into even parity 7-bit hamming code.
Check for no error.
Assuming error in D7 bit, determine the error position and correct it.

CAN ANYONE HELP ME!!!!
Please
and thanks in advance.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
Hello and welcome to Electronics Point.

We don't give answers to homework, but we try to point you along the right way.

Where are you stuck? Did the thread that you previously posted into offer any assistance?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
You have to:

1) convert that 4 bit value into it's hamming code equivalent
2) Using this value verify the correctness of the value
3) Flip bit D7 then go through the process of correcting the resulting code.
 

riyasharma

Oct 2, 2012
4
Joined
Oct 2, 2012
Messages
4
I have done the first step and answer to this is 0110011.
Do i have to check error in this?I mean is the error 010 i.e D2 ?
And after assuming error in D7 and flipping value repeat the steps again ?
 
Last edited:

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
First step -- OK (I'll assume that is correct)

Next step -- Yes, you have to check for errors. What do you think you'll find?

Last step. Yep, repeat it. Now what do you think you'll find?
 
Top