Code Conv
Code Conv
-2
Objective:
Theory:
Need of code conversion
Binary code
i) Weighted code straight binary code.
Gray code
i) Non Weighted code, single bit change from one
code word to the next in sequence.
ii) Used in Shaft encoders, angle-measuring devices,
K-map, to take output from ADC.
BCD code
i) Decimal number representation using 4-bit
binary. Weighted code (8-4-2-1)
ii) Used in arithmetic operations
Theory (Contd.)
Excess-3 code
i) Non weighted code used to express decimal
numbers
ii) Self complementing code
iii) Used to perform subtraction operation in digital
systems
Theory (Contd.)
Theory (Contd.)
Theory (Contd.)
BCD to Excess-3 code conversion
Convert BCD 0010 to Excess 3 code
0010 + 0011 = 0101 Excess 3 code for BCD 0010
Design
Truth Table
K-Map
Hardware Requirements
3) Circuit diagram:
4) Hardware requirements:
Conclusion:
FAQs:
References :