CC442 Digital Logic Basics
CC442 Digital Logic Basics
CC442 Digital Logic Basics
Simple gates
AND
OR
NOT
Functionality can be
expressed by a truth table
A truth table lists output for
each possible input
combination
Precedence
NOT > AND > OR
F=AB+AB
= (A (B)) + ((A) B)
Basic Concepts (cont.)
2009 Dr. Hesham EL Zouka
Number of functions
With N logical variables, we can define
N
22 functions
Some of them are useful
AND, NAND, NOR, XOR, …
Some are not useful:
Output is always 1
Output is always 0
“Number of functions” definition is useful in proving completeness
property
Basic Concepts (cont.)
2009 Dr. Hesham EL Zouka
Complete sets
A set of gates is complete
If we can implement any logical function using only the type of gates in the set
You can uses as many gates as you want
Some example complete sets
{AND, OR, NOT} Not a minimal complete set
{AND, NOT}
{OR, NOT}
{NAND}
{NOR}
Minimal complete set
A complete set with no redundant elements.
Basic Concepts (cont.)
2009 Dr. Hesham EL Zouka
Integration levels
SSI (small scale integration)
Introduced in late 1960s
1-10 gates (previous examples)
MSI (medium scale integration)
Introduced in late 1960s
10-100 gates
LSI (large scale integration)
Introduced in early 1970s
100-10,000 gates
VLSI (very large scale integration)
Introduced in late 1970s
More than 10,000 gates
Logic Functions
2009 Dr. Hesham EL Zouka
A B F1 = A B F3 = (A + B) (A + B) (A + B)
0 0 0 0
0 1 0 0
1 0 0 0
1 1 1 1
Boolean Algebra
2009 Dr. Hesham EL Zouka
Boolean Algebra (cont.)
2009 Dr. Hesham EL Zouka
Boolean Algebra (cont.)
2009 Dr. Hesham EL Zouka
Simplification examples
Karnaugh Map Method (cont.)
2009 Dr. Hesham EL Zouka
No redundant groupings