Hi,
Returning back to the Blog after a long time.
Java programming will be started soon in a few days. I will updated the pages as soon as they are ready.
Hope for the best.
Thank you.
This BLOG is for ISC Students of XI & XII. Content is kept simple & easy to understand. If any topic generates queries then feel free to ask it by writing comments. It will be resolved as soon as possible.
Hi,
Returning back to the Blog after a long time.
Java programming will be started soon in a few days. I will updated the pages as soon as they are ready.
Hope for the best.
Thank you.
Decoder:
It is a combinational logic circuit which does opposite of Encoder. A decoder converts a binary number to its equivalent decimal or hexadecimal number.
Types of Decoder:
We will study following types of decoders:
1) 2 to 4 Decoder (2 inputs and 4 outputs)
2) 3 to 8 Decoder (3 inputs and 8 outputs)
3) 4 to 16 Decoder (4 inputs and 16 outputs)
2 to 4 Decoder:
Since 2 binary bits can store a maximum of 3 in decimal number system, thus a 2 to 4 decoder has 2 input lines which accepts 4 set of truth values and generates 4 decimal numbers (0 to 3) as output.
Truth Table for 2 to 4 Decoder:
Input | Output | ||||
x | y | D3 | D2 | D1 | D0 |
0 | 0 | 0 | 0 | 0 | 1 |
0 | 1 | 0 | 0 | 1 | 0 |
1 | 0 | 0 | 1 | 0 | 0 |
1 | 1 | 1 | 0 | 0 | 0 |
Here is the logic circuit and Block diagrams of a 2 to 4 Decoder:
3 to 8 Decoder:
A 3 to 8 decoder has 3 input lines for binary number as input and it generates 8 decimal values as output.
Truth Table for 3 to 8 Decoder:
Input |
Output |
|||||||||
x |
y |
z |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |