Chapter Two: Logic Gates: August 2020
Chapter Two: Logic Gates: August 2020
Chapter Two: Logic Gates: August 2020
net/publication/343361651
CITATION READS
1 23,368
1 author:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Qasim Mohammed Hussein on 01 August 2020.
2.1 Introduction
The individual memory cells used in computers are
bistable in operation (pendulous between 1 and 0) and
capable of storing a single binary bit. Therefore, it is
most practical to use the binary number system that
uses only two basic symbols 0 and 1 to represent
numbers.
Binary logic is used to describe, in mathematical way,
the manipulation and processing of binary information.
Binary logic consists of binary variables and logic
operations. The binary variables are letters of the
alphabet such as X, A, D . . . etc. Each variable has
two possible values, 0 or 1. The basic logic operations
are the three operations OR, AND, and NOT.
2.2 Gates
A gate is simply an electronic circuit which operates
on one or more input signals to perform the logic
operation and produce an output signal. There are
many types of gates such as: OR, AND, NOT, NOR,
NAND gates. Each gate has its block diagram symbol.
(a)Periodic waveform
Prof Dr. Qasim Mohammed Hussein Page 54
Chapter Two: Gates
A B X
0 0 0
0 1 0
1 0 0
1 1 1
2.5 OR gate :
It is one of the simplest and most common used. It is a
device whose output is logic ‘1’ if either or both of its
inputs are ‘1’. The OR gate composed of two or more
inputs and single output. It performs logical addition.
The OR operation is represented by a plus sign, +. For
example, X + Y = Z is read " X OR Y is equal to Z".
The standard logic symbol for the OR gate is shown in
fig (2-3-a) and the truth table of combinations for the
inputs and outputs for it's is shown in fig (2-3-b).
A B X
0 0 0
0 1 1
1 0 1
1 1 1
A X= A
0 1
1 0
Solution
The number of inputs variables is 3, so the number of
combinations are . The sequence of perform the
operation as follow
One can see the last column is equal the value of first
column. The block diagram of the circuit that represent
the expression is, figure 2-5:
Fig (2-5)
Fig (2-6)
Discussion
1. If only 2 input OR gates are available, what is
the minimum gates level possible to implement an
8 input OR gate? Construct the circuit?
A B X
0 0 1
0 1 1
1 0 1
1 1 0
A B X
0 0 1
0 1 1
1 0 1
1 1 0
A B X
0 0 1
0 1 0
1 0 0
1 1 0
A B X
0 0 0
0 1 1
1 0 1
1 1 0
A B X
0 0 1
0 1 0
1 0 0
1 1 1
Fig (2-14)
Fig (2-15)
Discussion:
1. Give two level two-input AND gate with A, B and
C which are 1 (high), 0 (low) and high what will be
the output?
2. Prove, using truth table, that the circuit in fig (2-16)
is equivalent to that in fig (2-17)?
3. Draw and implement the logic circuit for X=AB
(CD) and find its truth table?
4. Show using truth table that X ⊕ Y ⊕ Z = 1, IFF (if
and only if) the number of 1’s in the input
combination is odd.
5. Find the value of L1, L2, and L3in fig (2-18) for all
inputs combination?
Fig (2-18)