Boolean Algebra and Logic Gates
Boolean Algebra and Logic Gates
Boolean algebra
may be defined with a set of elements,
a set of operators, and
a number of unproved axioms or postulates
A binary operator-assigns to each pair of
elements from a unique element from.
As an example, consider the relation
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
Remember that the dual of a function is obtained from the inter-change of AND and
OR operators and1’s and 0's.
Note that each maxterm is the complement of its corresponding minterm, and vice versa.
Product of Maxterms
To express the Boolean function as a product of maxterms, it must
first be brought into a form of OR terms.
any missing variable x in each OR term is ORed with xx’
This procedure is clarified by the following example.
Standard Forms
Canonical forms of Boolean algebra are obtained from reading a
function from the truth table.
Each minterm or maxterm must contain, by definition, all the variables
either complemented or uncomplemented.
Seldom contain least number of literals.
Another way to express Boolean functions is in standard form
By Hailay B. (M.Sc), AdU, CET, ECE October 2016
29
3.4 Canonical and Standard Forms (Cont’d)
In standard forms, the terms that form the function may contain one, two,
or any number of literals.
There are two types of standard forms: the sum of products and product of sums.
An example of a function expressed in sum of products is
This expression has three sum terms of one, two, and four literals each,
respectively.
A Boolean function may be expressed in a nonstandard form. For example, the
function
is neither in sum of products nor in product of sums. can be changed to a
standard form
To overcome this difficulty, we define the multiple NOR (or NAND)
gate as a complemented OR (or AND) gate. Thus, by definition, we
have
There are cases where two squares in the map are considered to be
adjacent even though they do not touch each other.
The function has a total of five minterms, as indicated by the five 1's in the map
of Figure 3.12.
The minterms are read directly from the map to be 1, 2, 3, 5, and 7. The
function can be expressed in sum of minterms form:
The given function can be simplified to an expression with only two terms: