Professional Documents
Culture Documents
02 Binary Codes and Error Detection
02 Binary Codes and Error Detection
DIGITAL ELECTRONICS
Reference:
1. Malvino and Leach, Digital Principles & applications, 7th
edition, TMH, 2010
2. Morris Mano, “Digital design”, Prentice Hall of India, Third
Edition.
Learning outcomes
At the end of this module, students will be able to:
Weighted Codes
4
Department of Electronics and Communication Engineering, MIT, Manipal
Weighted codes
5
Department of Electronics and Communication Engineering, MIT, Manipal
Decimal number (A)10
8 4 2 1
2 4 2 1
8 4 -2 -1
6
Examples are
1.EXCESS-3 CODE
2.GRAY CODE
10
12
Department of Electronics and Communication Engineering, MIT, Manipal
Binary to Gray-code conversion
• Introduction
15
0001
0100
0101
0111
a. 10101010
b. 1110110
c. 10111001
a) 10110111
b) 10011010
c) 11101010
19
Department of Electronics and Communication Engineering, MIT, Manipal
(7,4) Hamming code
where