Practical Work 5A - COMBINATIONAL LOGIC GATES 1
Practical Work 5A - COMBINATIONAL LOGIC GATES 1
OBJECTIVES : 1.To understand method of designing and digital circuit simulation by using circuit maker.
2. To set up a digital/logic simulation.
3. To determine logic level simulation results for the logic circuits.
4. To evaluate the simulation results and make comparison to the expected theoretical output
of the circuits simulated.
THEORY : A combinational circuit is one for which the output value is determined solely by the values of
the inputs. Logic gates can be combined to produce more complex functions. They can also
be combined to substitute one type of gate for another. Any logic circuit, no matter how
complex, may be completely described using the Boolean operations, because the OR gate,
AND gate, and NOT circuit are the basic building blocks of digital systems. If the operation of a
circuit is defined by a Boolean equation, a logic-circuit diagram can be implemented directly
from that expression. Once the Boolean equation for a circuit output has been obtained, the
output logic level can be determined for any set of input levels.
PROCEDURE :
1.1 Using a circuit maker, draw the circuit in figure 1 (A=B = Logic switch), (L1=Logic display)
(Devices → Browse/Search) or
1.2 Do a digital simulation. (Simulation→analog/digital →digital mode. Click to run
simulation.
1.3 Do an analysis based on the output.
1.4 Complete the truth table (table 1) at the simulation part.
Figure 1
1
THEORITICAL SIMULATION
INPUT OUTPUT INPUT OUTPUT
A B L1 A B L1
0 0 0 0 0 0
0 1 1 0 1 1
1 0 1 1 0 1
1 1 0 1 1 0
2
3
Table 1: Results for combinational logic gate
1
2.1 Using a circuit maker, draw the circuit in figure 1 (A=B = Logic switch), (L1=Logic display)
(Devices → Browse/Search) or
2.2 Do an analysis based on the output.
2.3 Complete the truth table (table 2) at the simulation part
4
Figure 2
THEORITICAL SIMULATION
INPUT OUTPUT INPUT OUTPUT
A B L1 A B L1
0 0 1 0 0 1
0 1 0 0 1 0
1 0 0 1 0 0
1 1 1 1 1 1
5
6
3. COMBINATIONAL LOGIC GATE 3
3.1 Using a circuit maker, draw the circuit in figure 1 (A=B=C= Logic switch), (L1=Logic display)
(Devices → Browse/Search) or
3.2 Do an analysis based on the output.
3.3 Complete the truth table (table 3) at the simulation part.
7
Figure 3
THEORETICAL SIMULATION
INPUT OUTPUT INPUT OUTPUT
A B C L1 A B C L1
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 0
0 1 0 1 0 1 0 1
0 1 1 0 0 1 1 0
1 0 0 1 1 0 0 1
1 0 1 0 1 0 1 0
1 1 0 0 1 1 0 0
1 1 1 1 1 1 1 1
8
9
10
11
QUESTION
12
2. Draw a digital circuit according to the Boolean equation
below.
3. Draw a truth table and obtain the output of combinational logic gate.
� = ��� + ���
A B C D AB’C +B(CD’)’
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 1
0 1 0 1 1
0 1 1 0 0
0 1 1 1 1
1 0 0 0 0
1 0 0 1 0
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 0
1 1 1 1 1
13
………………………………….… …………………….……………
..…………………………… ….…