- 2078 Kartik · 2+2 marks
Universal gates; positive and negative logic
Short answer
Universal gates like NAND and NOR can realize any Boolean function. For instance, NAND alone builds NOT, AND, OR. Positive logic assigns HIGH=1, LOW=0; negative logic reverses. Because of this convention change, a gate’s logical function changes: positive AND becomes negative OR, positive NAND becomes negative NOR.
Define universal gates with example. Explain positive and negative logic.
Universal gates
A universal gate is a gate that alone can implement NOT, AND and OR, and hence any Boolean function. NAND and NOR are universal gates.
Examples with NAND only:
- NOT:
- AND: NAND followed by a NAND inverter,
- OR:
Examples with NOR only:
- NOT:
- OR: NOR followed by a NOR inverter
- AND:
OR from NAND:
A --[NAND]-- A' --+
B --[NAND]-- B' --+--[NAND]-- A+B
Positive and negative logic
- Positive logic: HIGH level = logic 1 and LOW level = logic 0 (e.g. +5 V = 1, 0 V = 0).
- Negative logic: HIGH level = logic 0 and LOW level = logic 1.
The same circuit changes its logic name when the convention changes. A gate with output HIGH only when both inputs are HIGH is AND in positive logic but OR in negative logic; similarly positive NAND = negative NOR.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Positive/negative logic; XNOR using NAND · Digital Logic, chapter 2 · asked 2×
- Positive/negative logic; Ex-NOR using NOR · Digital Logic, chapter 2 · asked 2×
- Positive and negative logic · Digital Logic, chapter 2 · asked 2×
- Positive/negative logic; verify 3-variable De Morgan · Digital Logic, chapter 2
- Universal gates; Ex-OR using NAND · Digital Logic, chapter 2
- Why NAND and NOR are universal gates · Digital Logic, chapter 2
- Why NOR and NAND are universal gates · Basic Electronics Engineering, chapter 6
- Short note: Logic gates · Basic Electrical and Electronics Engineering, chapter 3
- Effective mass can be positive or negative · Electrical Engineering Material, chapter 1 · asked 4×
- Short note: Positive and negative feedback · Basic Electronics Engineering, chapter 4