1
CSL 202, Code Converters
MEC
2
Contents
• Features of Grey Code.
• Binary to Grey Code Conversion.
• Grey Code to Binary Conversion.
• Features of Excess 3 Code.
• BCD to Excess 3 Code Conversion.
• Code Conversion using IC 7483.
3
Grey Code
Unit Distance Code
Reduces Switching Operations.
Reduces Dynamic Power Consumption.
4
5
Binary to Grey Code Conversion
Grey Code:
Only one bit change
between adjacent
numbers.
Binary Input
6
Binary to Grey Code Conversion
7
8
Grey Code to Binary Conversion
Grey Code Input Binary Output
9
Grey Code to Binary Conversion
Truth Table
10
Binary to Grey/Grey to Binary Code
Conversion with Mode Control
M = 0 – Binary to Grey Conversion
M = 1 – Grey to Binary Conversion
11
Binary/Excess 3 Code Converter
with Mode Control
Truth Tables
12
13
Excess 3 Code
• Non-weighted and self-complementary
BCD code used to represent the decimal
numbers.
• Uses different algorithm than normal non-
biased BCD or binary positional number
system.
• Codes 1111 and 0000 are never used for
any decimal digit.
• Add 3 to the decimal digit.
14
BCD to Excess 3 Code Conversion
15
BCD to Excess 3 Code Conversion
XS’3 Code = BCD Number + 3.
16
BCD/Excess 3 Code Conversion
using IC 7483
17
Thank You

Csl 202, code converters