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.
Monday, 21 February 2022
Simplification of Boolean Expressions
Multiplexer (MUX)
Infix to Post/ Prefix Expression
Saturday, 12 February 2022
Decoder
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.
Number of Outputs = 2n, where n= Number of Inputs
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 |
for example: when we pass values for input x & y as 1 & 0 respectively then gate D2 will get its value 1 against the input set as 10 is decimal equivalent of 2.
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 |