- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is Binary Decoder?
A binary decoder is a decoder that has an n-bit binary input code and one activated output which is chosen from output codes. This decoder is accessible in instances where it is important to simulate directly one of the outputs based on an n-bit input value. In a 2 to 4 decoder, 2 inputs are decoded into four outputs, each output describing one of the min-terms of the 2 input variables. The two inverters support the complement of the inputs and each one of the four AND gates creates one of the min-terms.
The diagram shows the circuit diagram of a 2 to 4 Decoder.
The truth table for a 2 x 4 Decoder which are as follows −
Inputs | Outputs | |||||
---|---|---|---|---|---|---|
EN | A | B | Y3 | Y2 | Y1 | Y0 |
0 | X | X | 0 | 0 | 0 | 0 |
1 | 0 | 0 | 0 | 0 | 0 | 1 |
1 | 0 | 1 | 0 | 0 | 1 | 0 |
1 | 1 | 1 | 1 | 0 | 0 | 0 |
1 | 1 | 1 | 1 | 0 | 0 | 0 |
3 to 8 Decoder
The 74x138 is a 3 to 8 decoder. It can receive three binary inputs, such as A, B, and C and it supports eight single active low outputs (Y0-Y7) when allowed. The device has three allowed inputs, such as two active low and one active high.
The diagram shows a 3 to 8 decoder.
The diagram demonstrates the circuit diagram of a 3 to 8 decoder.
The table shows the truth table of a 3 to 8 decoder.
A | B | C | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 |
---|---|---|---|---|---|---|---|---|---|---|
0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
- Related Articles
- What is the difference between Encoder and Decoder in Computer architecture?
- What is the difference between Decoder and Demultiplexer in Computer Architecture?
- Working of 74138 decoder IC
- Difference between Decoder and Demultiplexer
- Difference between Multiplexer and Decoder
- What is Binary Adder?
- What is Binary Variables?
- What Is Binary Decimals?
- JSON encoder and decoder package in Python
- What is Binary Incrementer in Computer Architecture?
- What is the addition of binary numbers?
- What is the subtraction of binary numbers?
- What is Binary Adder-Subtractor in Computer Architecture?
- What is binary countdown protocol in computer networks?
- How can autoencoder be generated using an encoder and decoder using Python?
