Skip to content
Sahithyan's S2
1
Sahithyan's S2 — Computer Organization and Digital Design

Logic Gates

There are AND, OR, XOR, and their inverted versions. Usually takes 2 inputs. Can be extended for n-inputs.

Returns true iff when the number of true inputs are odd.

A gate is a universal gate iff a collection of that gates can be arranged to implement AND, OR & NOT gates. Can be used to implement any circuit. Is functionally complete.

NAND and NOR gates are universal.

Universal NAND

Universal NOR

Logical circuits are a abstraction of transistor circuits. The logical circuits can be built using TTL or CMOS.

Two or more (bipolar junction) transistors are used. 0V for LOW. 5V for HIGH. Power consumption is high (even when idle). Switching is fast. Slow compared to modern CMOS. Low noise margin compared to CMOS.

Uses 2 metal oxide semiconductors. Power consumption is very low. High speed. High noise margin.

Dynamic power consumption=CV2f\text{Dynamic power consumption} = CV^2 f

Here:

  • CC - Capacitance of the circuit
  • VV - Supply voltage
  • ff - Charging frequency of the capacitor
Static power consumption=VIleakage\text{Static power consumption} = V I_{\text{leakage}}

Here:

  • VV - Supply voltage
  • IleakageI_{\text{leakage}} - Leakage current
Energy consumption=Power×Time\text{Energy consumption} = \text{Power} \times \text{Time}
Combinational LogicSequential Logic
MemoryNoYes
Feedback loopNoYes
OutputDepends only on inputDepends on input & memory