Lab 1
Lab 1
Lab 1
Lab 1
Introduction Simulation
Software and Logic Gates
I. Objectives
II. Procedure
a. NOT gate
- One input of NOT gate wire up to switch.
- Output wire up to led-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of NOT gate.
A Y= A
Low 1
High 0
Implement the circuit via simulation software and paste the result in here
b. AND gate
- Two inputs of AND gate wire up to switches.
- Output wire up to led-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of AND gate.
A B Y= AB
Low Low 0
Low High 0
High Low 0
High High 1
Implement the circuit via simulation software and paste the result in here
c. OR gate
A B Y= A+B
Low Low 0
Low High 1
High Low 1
High High 1
Implement the circuit via simulation software and paste the result in here
d. XOR gate
- Two inputs of XOR gate wire up to switches.
- Output wire up to led-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of XOR gate.
A B Y= A⊕B
Low Low 0
Low High 1
High Low 1
High High 0
Implement the circuit via simulation software and paste the result in here
e. NAND gate
- Two inputs of NAND gate wire up to switches.
- Output wire up to led-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of NAND gate.
A B Y= AB
Low Low 1
Low High 1
High Low 1
High High 0
Implement the circuit via simulation software and paste the result in here
f. NOR gate
- Two inputs of NOR gate wire up to switches.
- Output wire up to led-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of NOR gate.
A B Y= A+ B
Low Low 1
Low High 0
High Low 0
High High 0
Implement the circuit via simulation software and paste the result in here
Figure 1a
Figure 1b
Figure 1c
Figure 1d
- Which do these circuits in figure 1a, 1b, 1c, 1d correspond with logic gates?
1a
A Y
0 1
1 0
Implement the circuit via simulation software and paste the result in here
Implement the circuit via simulation software and paste the result in here
Implement the circuit via simulation software and paste the result in here
Figure 2a
Figure 2b
Figure 2c
Figure 2d
- Which do these circuits in figure 2a, 2b, 2c, 2d correspond with logic gates?
1A
A Y
0 1
1 0
Implement the circuit via simulation software and paste the result in here
Implement the circuit via simulation software and paste the result in here
Implement the circuit via simulation software and paste the result in here
3. Design and simply the combinational logic circuit using logic gates
Implement the circuit via simulation software and paste the result in here
Implement the new expression via simulation software and paste the result in here
Implement the circuit via simulation software and paste the result in here
Implement the new expression via simulation software and paste the result in here
Implement the circuit via simulation software and paste the result in here
The simplified F 3 ( A , B ,C , D ) =¿
Implement the new expression via simulation software and paste the result in here
4. Design and simply the combinational logic circuit using IC logic gates
- Building the circuit from the Integrated Circuits (IC).
IC 74HC00 is quad input NAND gate and 74HC02 is quad input NOR gate
a. Only Using NAND gates in IC 74HC00 to construct the circuit for expression
f (C , B , A)= ∑ (0 , 1 ,2 , 3 , 4)
CBA
Implement the circuit via simulation software and paste the result in here
b. Only Using NOR gates in IC 74HC02 to construct the circuit for expression
f (C , B , A)= ∑ (3 , 4 , 5 , 6 , 7)
CBA
Implement the circuit via simulation software and paste the result in here
Extra Exercise
Besides the IC 74HC00 for NAND gates and 74HC02 for NOR gates, there are also IC
for AND, OR, XOR gates:
+ 74HC08 quad 2-input AND gate
+ 74HC32 quad 2-input OR gate
+ 74HC86 quad 2-input XOR gate
Is the expression is simplest or not? If not, provide your simplification step and
implement the simplified circuit in simulation software.