PHY118 · 2081 · 5 marks
The output of a digital circuit (y) is given by this expression y = (AB + overlineCBA)(B + C) Where A, B and C represent inputs. Draw a circuit of above equation using OR, AND and NOT gate and hence find its truth table. [5+0]
The output of a digital circuit (y) is given by this expression $y = (AB + \overline{C}BA)(B + C)$ Where A, B and C represent inputs. Draw a circuit of above equation using OR, AND and NOT gate and hence find its truth table. [5+0]
Digital Circuit: $y = (AB + \bar{C}BA)(B + C)$
Given
Boolean expression: $$y = (AB + \bar{C}BA)(B + C)$$
Inputs: $A$, $B$, $C$ Gates allowed: OR, AND, NOT
Step 2: Simplify the Expression
The first bracket: $$AB + \bar{C}BA = AB + AB\bar{C} = AB(1 + \bar{C}) = AB$$
(using $1 + \bar{C} = 1$)
So: $$y = AB(B + C)$$
Expand: $$y = AB\cdot B + AB\cdot C = ABB + ABC$$
Since $B\cdot B = B$: $$y = AB + ABC = AB(1 + C) = AB$$
Therefore: $$\boxed{y = AB}$$
Step 3: Circuit Diagram (drawn as per given expression)
AB
A ──┬──────────[AND1]──────────┐
│ │ │
B ──┼──┬─────────┘ ├─[OR1]─┐
│ │ │ │
│ │ ┌─[AND2]────────────┘ │
│ │ │ ABC̄ ├─[AND3]── y
C ──┼──┼─[NOT] │
│ │ (C̄) │
│ └───────────────[OR2]────────────┘
│ │ (B+C)
C ──┴───────────────────┘
Gate list:
| Gate | Inputs | Output |
|---|---|---|
| NOT | $C$ | $\bar{C}$ |
| AND1 | $A, B$ | $AB$ |
| AND2 | $A, B, \bar{C}$ | $AB\bar{C}$ |
| OR1 | $AB, AB\bar{C}$ | $AB + AB\bar{C}$ |
| OR2 | $B, C$ | $B + C$ |
| AND3 (final) | $(AB + AB\bar{C}),\ (B+C)$ | $y$ |
Step 4: Truth Table
| $A$ | $B$ | $C$ | $\bar{C}$ | $AB$ | $AB\bar{C}$ | $AB+AB\bar{C}$ | $B+C$ | $y$ |
|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 |
| 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 |
| 1 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 |
Conclusion
The circuit simplifies to $y = AB$. Output $y = 1$ only when both $A = 1$ and $B = 1$, independent of $C$.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.