Logic Circuits and Design
Logic Circuits and Design
TOPIC PRE
OUTLINE ASSESSMENT
At the end of this module, you should be able to: 3. Obtain the 1’s and 2’s complements of the
following binary numbers:
1. Learn the different types of logic gates. (a) 00010000
2. Understand the functions of each Logic gates in dig- (b) 00000000
ital design. (c) 11011010
3. Derive the equation from a circuit diagram.
4. Use the logic gate in a working mechanism/circuit, LOGIC
GATES
AND GATE
IMPLEMENTATION OF
BASIC LOGIC GATES
Figure 3: OR Gate
UNIVERSAL
NOT GATE LOGIC GATES
The NAND and NOR gates are the universal gates. Each
of this gates can realize the logic circuits single
handedly. The NAND and NOR are also called as
universal building blocks. Both NAND and NOR has the
ability to perform three basic logic functions such as
Figure 4: NOT Gate AND,OR and NOT. NAND gate is a combination of an
AND gate and a NOT gate. The expression for the
NAND gate is ‘—‘whole bar. The output of the NAND
The NOT gate is an electronic circuit that produces an gate is at logic 0 level only when each of the inputs
inverted version of the input at its output. It is also assumes a logic 1 level. The truth table of two-input
known as an inverter. If the input variable is A, the NAND gate is given below:
NAND GATE input for Nor gate, together with the input C. These
inputs now will go through the Nor gate, it will be added
first and then inverted, so the output equation of the
circuit will be ((AB)0 + C)0 .
NAND GATE
IMPLEMENTATION OF
UNIVERSAL LOGIC GATES
Figure 10: XNOR Gate
The illustration of the interconnected NAND and NOR
gate in figure 8 shows that the inputs A and B will pass The symbol for XNOR gate, as illustrated in figure ?? is
through NAND gate and will have an output of A just like XOR gate but with a bubble on the output which
multiplied to B, then inverted using a (’). The output means that, outputs are inverted. The function of XNOR
equation,(AB)0 of NAND gate will now be one of the is totally the reverse of XOR wherein the output will be
high (1), if both inputs A and B are the same high (1) or 2. The Inverter is also called
the same low (0). The output equation for XNOR can be
given in many forms other than the output equation in a) Not Gate b) And Gate
figure ?? c) Or GAte d) Xor Gate
¯ B)
(A ⊕ (1)
3. The NOR gate is OR gate followed by
or
..................
(A ⊕ B)0 (2)
or a) And Gate b) Nand Gate
0 0
(AB + A B ) (3) c) Not GAte d) None of the above
A. Multiple Choice Questions: Choose the correct c) Not Gate d) Nor Gate
answer.
10. . . . . . . . . . . .. input values will cause an AND logic
gate to produce a HIGH output.
1. The universal gate is . . . . . . . . . . . . . . . . . .
a) At least one input is b) At least one input is
a) Nand Gate b) Or Gate HIGH LOW
c) And Gate d) None of the Above c) All inputs are HIGH d) All inputs are LOW
11. The logic gate that will have HIGH or “1” at its
output when any one of its inputs is HIGH is a(n):
13. The output will be a LOW for any case when one or
more inputs are zero in a(n):
SUMMARY
a) Or Gate b) Not Gate
c) And Gate d) Nand Gate The Logic gates consists the basic gates, the universal
gates, and the exclusive gates.. The basic logic gates
14. The boolean expression of an OR gate is are And, Or and N ot. The And Gate will only have a
high ouput (1), only if both inputs are high (1), otherwise
a) A.B b) A0 B + AB 0
the output is low (0). The Or Gate will only have a low
c) A + B d) A0 B 0 output (0), only if both inputs are low (0), otherwise the
output is high (1). The N ot Gate, also called the
15. The expression of an XOR gate is inverter will give a high (1) output if the input is low (0)
but if the input is high (1), the output will be low (0).
a) A0 B + AB 0 b) AB + A0 B 0
The Universal gates are N and and N or, where the
c) A + A.B d) A0 + B 0 N and is an And gate with N ot gate on the output, that is
why there is a bubble on the output of the N and Gate.
The N or Gate is also an Or gate with a N ot Gate on the
B. Write the output expression of the following circuit output. Both these gates functioned as the reverse of
diagrams. the And gate for N and and Or gate for N or.
REFERENCES
[3] https://www.tutorialspoint.com/computer-logical-
organization/logic-gates.htm
[4] https://www.elprocus.com/basic-logic-gates-with-
truth-tables
Prepared by:
ENGR. IRENE F. SALVADOR, CPE, MSME
Faculty, Computer Engineering Department
College of Engineering and Architecture