Chapter 3 DLD
Chapter 3 DLD
Chapter 3 DLD
B. The OR Gate
An OR gate is a logic circuit with two or more inputs and one output.
Figure below is the logic symbol for a two-input OR gate.
The OR gate operates in such a way that its output is HIGH (logic’ 1) if either input A or B or
both are at a logic 1 level, otherwise the output will be LOW
The operation is summarized using truth table for two inputs variables.
Addition in Boolean algebra involves variables whose values are either binary 1 or binary 0.
The basic rules for Boolean addition are as follows:
Expression:-If one input variable is A, if the other input
variable is B, and if the output variable is X, then the Boolean expression is:
X=A+B
For instance, the function of a 3-input OR gate can be expressed as X = A + B + C. and so on.
WOLAITA SODO UNIVERSITY.
By Abinet.A
The AND gate is a circuit that operates in such a way that its output is HIGH only when
all its inputs are HIGH. For all other cases the AND gate output is LOW.
The operation is summarized using truth table for two inputs variables in above table
(b).
Boolean multiplication follows the same basic rules governing
binary multiplication.
Expression:- If one input variable is A, the other input variable is B, and
the output variable is X, then the Boolean expression is X=AB
WOLAITA SODO UNIVERSITY.
By Abinet.A
A NOR gate produces a LOW output when any of its inputs is HIGH.
Only when all of its inputs are LOW is the output HIGH.
The truth table is shown as above.
The output of a two-input NOR gate is logically expressed as
In general, the Boolean expression for a NOR gate with more than two inputs can be
written as:
WOLAITA SODO UNIVERSITY.
By Abinet.A
The output of an exclusive-OR gate is HIGH only when the two inputs
are at opposite logic levels.
The output of a two-input EX-OR gate is expressed by
Example:- How do you implement three-input and four-input EX-OR
logic functions with the help of two-input EX-OR gates?(a)
Example:-How do you implement a three-input EX-NOR function using only two-input EX-NOR
gates?
WOLAITA SODO UNIVERSITY.
By Abinet.A
Timing Diagrams
A timing diagram ¡s a graphical method of showing the exact output behavior
of a logic circuit for every possible set of input conditions.
It is often used to describe the operation of digital devices because its visual
characteristics are much easier to understand than a word explanation.
Example 1:- If two waveforms, A and B, are applied to the AND gate inputs as
in Figure below, what is the resulting output waveform?
If two waveforms, A and B, are applied to the AND gate inputs as in Figure
below, what is the resulting output waveform?
WOLAITA SODO UNIVERSITY.
By Abinet.A
Cont.…
Example 3:- For the situation depicted in Figure below, determine the
waveform at the OR gate output and AND gate output?