Week 02 01
Week 02 01
Ayon Chakraborty
Department of CSE, IIT Madras
The Transformation Hierarchy
Information:
ON/OFF
Cell 1K-
switching Transistor 2-8/gate Gate 2-16/cell 10K/module
Interpret as 0 Interpret as 1
V < VTH V ≥ VTH
#1
Volts
VTH
Interpret as 0 “Forbidden” zone Interpret as 1
#2
V ≤ VL VL > V > V H V ≥ VH
Volts
VL VH
Ayon Chakraborty, Department of CSE, IITM CS3031
Binary Digital System
Digital System: Binary (base 2) System:
Finite number of values Uses two states or values
Module 2 Module 3
Foundations,
Digital World, Design of Design of Sequential
Logic Gates, Combinational Logic Logic Elements
Boolean Algebra, Elements → ALU → CPU Timing, Control
Computer
Arithmetic Processor Design and Instruction Set Architecture
Transistors implementing
logic gates
Combinational Logic
Memoryless
Outputs are strictly dependent on the combination of input values
that are being applied to circuit right now.
Transformation
AIJ = ‘X’ or ‘O’
AIJ = 1 if it contains ‘X’ Natural language.
= 0 otherwise Can be ambiguous!
A11 A12 A13
Rule: “If all three AIJs are 1 along any
A21 A22 A23 row, column or diagonal, the player ‘X’
wins”
A31 A32 A33
A
A• B
B
expressions
❑ Allow us to do some simplification on Boolean expressions
2. Closure a,b ∈ B,
(i) a + b ∈ B Result of AND, OR
(ii) a • b ∈ B stays in set you
start with
3. Commutative Laws: a,b ∈ B, For primitive AND, OR of
(i) a + b = b + a
(ii) a • b = b • a 2 inputs, order doesn’t matter
5. Distributive Laws:
(i) a + (b • c) = (a + b) • (a + c) • distributes over +, just like algebra
(ii) a • (b + c) = a • b + a • c … but + distributes over •, also
6. Complement:
(i) a + 𝑎=ത 1 There is a complement element;
(ii) 𝐚 • 𝒂 = 0 AND/ORing with it gives the
identity elm.
❑ So any derivation you could make that is true, can be flipped into
Idempotent Law:
3. X + X = X 3D. X • X = X AND, OR with self = self
Involution Law:
double complement =
ഥ) = X
4. (𝑿 no complement
Commutative Law:
6. X + Y = Y + X 6D. X • Y = Y • X Just an axiom…
Distributive Laws:
8. X • (Y+ Z) = (X • Y) + (X • Z) 8D. X + (Y• Z) = (X + Y) • (X + Z) Axiom
Simplification Theorems:
ഥ= X
9. X • Y + X • 𝒀 ഥ) = X
9D. (X + Y) • (X +𝒀
Useful for
10. X + X • Y = X 10D. X • (X + Y) = X simplifying
ഥ) • Y = X • Y
11. (X + 𝒀 ഥ) + Y = X + Y
11D. (X •𝒀 expressions
ഥ= X
EX: Prove the theorem: X • Y + X • 𝒀
ത) =X
X • ( Y +𝐘 Distributive (5)
X•1 =X Complement (6)
X =X Identity (4)
X =X Identity (4)
F=A+B+C
At least one of A, B, C is TRUE --> It is not the case that A, B, C are all false
ഥ𝒀
𝑨 = (𝑿 + 𝒀) = 𝑿 ഥ 𝑿
𝒀 𝑨
𝑿
𝑩
ഥ+𝒀
ഥ 𝒀
𝑩 = (𝑿𝒀) = 𝑿
𝑿
𝑩
𝒀
NAND is equivalent to OR
with inputs complemented
Computational Problem
Higher Levels of Abstraction
Algorithms
Common CL Blocks
Programming Languages
System Software (Compilers/OS)
Minimizing CL Circuits
HW/SW Interface (Firmware, Drivers)
Micro-Architecture Combinational Logic (CL)
Logic Circuits
Boolean Algebra Logic Gates
Devices
Electrons
Transistors, CMOS Logic
in a 1 output
❑ If ANY of the combinations of input variables that results
in a 1 is TRUE, then the output is 1
❑ F = OR of all input variable combinations that result in a 1
ഥ + Y•Z mean?
What does 𝑊• 𝑿