- Digital Electronics Tutorial
- Digital Electronics - Home
- Digital Electronics Basics
- Types of Digital Systems
- Types of Signals
- Logic Levels And Pulse Waveforms
- Digital System Components
- Digital Logic Operations
- Digital Systems Advantages
- Number Systems
- Number Systems
- Base Conversions
- Binary Numbers Representation
- Binary Arithmetic
- Signed Binary Arithmetic
- Octal Arithmetic
- Hexadecimal Arithmetic
- Complement Arithmetic
- Binary Codes
- Binary Codes
- 8421 BCD Code
- Excess-3 Code
- Gray Code
- ASCII Codes
- EBCDIC Code
- Code Conversion
- Error Detection & Correction Codes
- Logic Gates
- Logic Gates
- AND Gate
- OR Gate
- NOT Gate
- Universal Gates
- XOR Gate
- XNOR Gate
- CMOS Logic Gate
- Two Level Logic Realization
- Threshold Logic
- Boolean Algebra
- Boolean Algebra
- Laws of Boolean Algebra
- Boolean Functions
- DeMorgan's Theorem
- SOP and POS Form
- Minimization Techniques
- K-Map Minimization
- Three Variable K-Map
- Four Variable K-Map
- Five Variable K-Map
- Six Variable K-Map
- Don't Care Condition
- Quine-McCluskey Method
- Min Terms and Max Terms
- Canonical and Standard Form
- Max Term Representation
- Simplification using Boolean Algebra
- Combinational Logic Circuits
- Digital Combinational Circuits
- Digital Arithmetic Circuits
- Multiplexers
- Parity Bit Generator and Checker
- Comparators
- Encoders
- Keyboard Encoders
- Priority Encoders
- Decoders
- Demultiplexers
- Arithmetic Logic Unit
- 7-Segment LED Display
- Code Converters
- Code Converters
- Binary to Decimal Converter
- Decimal to BCD Converter
- BCD to Decimal Converter
- Binary to Gray Code Converter
- Gray Code to Binary Converter
- BCD to Excess-3 Converter
- Excess-3 to BCD Converter
- Adders
- Half Adders
- Full Adders
- Serial Adders
- Parallel Adders
- Full Adder using Half Adder
- Half Adder vs Full Adder
- Binary Adder-Subtractor
- Subtractors
- Half Subtractors
- Full Subtractors
- Parallel Subtractors
- Full Subtractor using 2 Half Subtractors
- Half Subtractor using NAND Gates
- Sequential Logic Circuits
- Digital Sequential Circuits
- Clock Signal and Triggering
- Latches
- Flip-Flops
- Conversion of Flip-Flops
- Shift Registers
- Shift Register Applications
- Counters
- Finite State Machines
- Algorithmic State Machines
- A/D and D/A Converters
- Analog-to-Digital Converter
- Digital-to-Analog Converter
- DAC and ADC ICs
- Realization of Logic Gates
- NOT Gate from NAND Gate
- OR Gate from NAND Gate
- AND Gate from NAND Gate
- NOR Gate from NAND Gate
- XOR Gate from NAND Gate
- XNOR Gate from NAND Gate
- NOT Gate from NOR Gate
- OR Gate from NOR Gate
- AND Gate from NOR Gate
- NAND Gate from NOR Gate
- XOR Gate from NOR Gate
- XNOR Gate from NOR Gate
- NAND/NOR Gate using CMOS
- Memory Devices
- Memory Devices
- RAM and ROM
- Cache Memory Design
- Programmable Logic Devices
- Programmable Logic Devices
- Programmable Logic Array
- Programmable Array Logic
- Field Programmable Gate Arrays
- Digital Electronics Families
- Digital Electronics Families
- CPU Architecture
- CPU Architecture
Excess-3 to BCD Converter
An excess-3 to BCD converter is a type of code converter in digital electronics used to translate an XS-3 code into an equivalent binary-coded decimal.
Therefore, an XS-3 to BCD code converter accepts a digital code in XS-3 format and produces an equivalent digital code in BCD format.
The truth table of the XS-3 to BCD code converter is given below −
Excess-3 Code | BCD Code | ||||||
---|---|---|---|---|---|---|---|
X3 | X2 | X1 | X0 | B3 | B2 | B1 | B0 |
0 | 0 | 0 | 0 | X | X | X | X |
0 | 0 | 0 | 1 | X | X | X | X |
0 | 0 | 1 | 0 | X | X | X | X |
0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 |
0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 |
0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 |
1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 |
1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 |
1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 |
1 | 1 | 0 | 1 | X | X | X | X |
1 | 1 | 1 | 0 | X | X | X | X |
1 | 1 | 1 | 1 | X | X | X | X |
Now, we will simplify this truth table using K-map method to obtain the Boolean expression for the output bits.
K-Map for BCD Bit B0
The following figure shows the K-map simplification for the BCD bit B0.
This K-map gives the following Boolean expression,
$$\mathrm{B_{0} \: = \: \overline{X_{0}}}$$
K-Map for BCD Bit B1
The following figure shows the K-map simplification for the BCD bit B1.
This K-map gives the following Boolean expression,
$$\mathrm{B_{1} \: = \: \overline{X_{1}} \: X_{0} \: + \: X_{1} \: X_{0}}$$
K-Map for BCD Bit B2
The K-map simplification for the BCD bit B2 is shown below −
The simplification of this K-map gives the following Boolean expression,
$$\mathrm{B_{2} \: = \: \overline{X_{2}} \: \overline{X_{1}} \: + \: \overline{X_{2}} \: \overline{X_{0}} \: + \: X_{2} \: X_{1} \: X_{0}}$$
K-Map for BCD Bit B3
The K-map simplification for the BCD bit B3 is shown in the following figure −
By simplifying this K-map, we obtain the following Boolean expression,
$$\mathrm{B_{3} \: = \: X_{3} \: X_{2} \: + \: X_{3} \: X_{1} \: X_{0}}$$
We can use these Boolean expressions to implement the digital logic circuit to perform the XS-3 to BCD conversion.
The logic circuit diagram to convert an XS-3 code into equivalent BCD code i.e., Excess-3 to BCD converter is shown in the following figure −
This is all about some commonly used digital code converters used in various digital electronic applications.