Professional Documents
Culture Documents
Boolean Algebra and Logic Gates
Boolean Algebra and Logic Gates
CEN - 220 1
Outline
2.1. Basic Definition
2.2. Axiomatic Definition of Boolean Algebra
2.3. Basic Theorems and Properties of
Boolean Algebra
2.4. Boolean Functions
2.5. Canonical and Standard Forms
2.6. Other Logic Operations
2.7. Digital Logic Gates
2.8. Integrated Circuits
CEN - 220 2
2.1. Basic Definition
Boolean algebra, like any other deductive mathematical
system, may be defined with a set of elements, a set of
operators, and a number of unproved axioms or
postulates
If S is a set, and x and y are certain objects, then the
notation x S means that x is a member of the set S and
y S means that y is not an element of S.
A binary operator defined on a set S of elements is a rule
that assigns, to each pair of elements from S, a unique
element from S.
As an example, consider the relation a *b = c. We say that * is a
binary operator if it specifies a rule for finding c from the pair (a,
b) and also if a, b, c S. However, * is not a binary operator if a,
b S, and if c S.
CEN - 220 3
2.1. Basic Definition: Postulates
The postulates of a mathematical system form the basic assumptions
from which it is possible to deduce the rules, theorems, and properties
of the system
CEN - 220 4
2.1. Basic Definition: Postulates
CEN - 220 5
2.2. Boolean Algebra
For the formal definition of Boolean algebra, we shall employ the
postulates formulated by E. V. Huntington in 1904.
CEN - 220 6
2.2. Boolean Algebra:
CEN - 220 7
2.2. Boolean Algebra:
CEN - 220 8
2.2. Boolean Algebra:
CEN - 220 9
2.3. Basic Theorems and Properties of
Boolean Algebra
Duality
If the dual of the algebric expression is desired :
• Interchange OR and AND Operation
CEN - 220 10
2.3. Basic Theorems and Properties of
Boolean Algebra
CEN - 220 11
2.3. Basic Theorems and Properties of
Boolean Algebra
CEN - 220 12
2.3. Basic Theorems and Properties of
Boolean Algebra
CEN - 220 13
2.3. Basic Theorems and Properties of
Boolean Algebra
DeMorgan’s theorem
Operator Precedence
The operator precedence for evaluating Boolean expressions is
1. parentheses,
2. NOT
3. AND
4. OR
CEN - 220 14
2.4. Boolean Functions
1. A Boolean function described by an algebraic expression consists of
binary variables, the
2. constants 0 and 1, and the logic operation symbols. For a given value
of the binary variables, the function can be equal to either 1 or 0
CEN - 220 15
2.4. Boolean Functions
There is one way a function is represented
in Truth table.
In algebraic form, a circuit can be
represented a variety of ways.
By manipulating a Boolean expression
according to the rules of the algebraic
equation, it is sometimes possible to obtain a
simpler expression for the same function.
CEN - 220 16
2.4. Boolean Functions
CEN - 220 17
2.4. Boolean Functions
CEN - 220 18
2.4. Boolean Functions
When a Boolean expression is implemented with
logic gates, each term requires a gate and each
variable within the term designates an input to
the gate.
We define a literal to be a single variable within a
term, in complemented or uncomplemented form.
By reducing the number of terms, the number of
literals, or both in a Boolean expression, it is
often possible to obtain a simpler circuit.
CEN - 220 19
Boolean Functions: Algebraic
Manipulation
Postulate 4
CEN - 220 20
Complement of a Function
The complement of a function F is F and is
obtained from an interchange of 0’s for 1’s and
1’s for 0’s in the value of F.
The complement of a function may be derived
algebraically through DeMorgan’s theorems.
CEN - 220 21
DeMorgan’s theorems can be extended to three
or more variables.
CEN - 220 22
Complement of a Function
CEN - 220 23
2.5. Canonical and Standard Forms
Minterm or Standard Product:
A binary variable may appear either in its
CEN - 220 24
2.5. Canonical and Standard Forms
Maxterm or Standard Sum:n variables forming an OR
term, with each variable being primed or unprimed,
provide 2n possible combinations, called maxterms, or
standard sums. Each maxterm is the complement of its
corresponding minterm and vice versa.
CEN - 220 25
2.5. Canonical and Standard Forms
CEN - 220 26
2.5. Missing Variables
CEN - 220 27
2.5 Product of Maxterm
CEN - 220 28
2.5 Conversion between Canonical Forms
CEN - 220 29
2.6. Other Logic Operations
CEN - 220 30
Other Gates
CEN - 220 31
Extension to Multiple Input gates
CEN - 220 32
Extension to Multiple Input gates
CEN - 220 33
Positive and Negative Logic
CEN - 220 34
Assignment: Submission Date is 6th
Oct.15
2.1
2.4
2.5
2.9
2.12
2.14
2.16
2.18
2.19
2.20
2.21
CEN - 220 35