Truth Tables Digital Circuits
Truth Tables Digital Circuits
1. Decoder 2-to-4
Inputs: A1, A0
- Enable (E) Active High: Outputs are active when E=1, otherwise all outputs are 0.
- Enable (E) Active Low: Outputs are active when E=0, otherwise all outputs are 1.
| A1 | A0 | Y0 | Y1 | Y2 | Y3 |
|----|----|----|----|----|----|
| 0| 0| 1| 0| 0| 0|
| 0| 1| 0| 1| 0| 0|
| 1| 0| 0| 0| 1| 0|
| 1| 1| 0| 0| 0| 1|
2. Decoder 3-to-8
Outputs: Y0 to Y7
- Enable (E) Active High: Outputs are active when E=1, otherwise all outputs are 0.
- Enable (E) Active Low: Outputs are active when E=0, otherwise all outputs are 1.
| A2 | A1 | A0 | Y0 | Y1 | Y2 | Y3 | Y4 | Y5 | Y6 | Y7 |
|----|----|----|----|----|----|----|----|----|----|----|
| 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|
3. Multiplexer 4-to-1
Output: Y
Truth Table:
| S1 | S0 | Y |
|----|----|---|
| 0 | 0 | D0 |
| 0 | 1 | D1 |
| 1 | 0 | D2 |
| 1 | 1 | D3 |
4. Demultiplexer 1-to-4
For Demultiplexer 1-to-4:
Truth Table:
| S1 | S0 | Y0 | Y1 | Y2 | Y3 |
|----|----|----|----|----|----|
| 0| 0|D | 0| 0| 0|
| 0| 1| 0|D | 0| 0|
| 1| 0| 0| 0|D | 0|
| 1| 1| 0| 0| 0|D |