Lab 1 - Basic Logic Gate Simulation (1)
Lab 1 - Basic Logic Gate Simulation (1)
Experiment #1
Basic Logic Gate Simulation
Assessment:
Assessment Point Weight Grade
Methodology and correctness of results
Discussion of results
Attendance and participation
Assessment Points’ Grade:
Comments:
EGC221: Digital Logic Lab – Lab Report Experiment # 1
Experiment #1:
Objectives:
1. Introduce students to the tools, facilities and components needed for the
experiments in digital electronics,
2. Relate voltage levels and electrical connections to digital logic levels, and
3. Verify the operation of the basic logic gates.
Discussion:
Digital electronic circuits are built using logic gates. Each logic gate implements a
logic function such as the NOT (also known as the inverter), the AND, the OR and
the Exclusive OR (also known as the EX-OR gate). In some cases the output of a
gate is internally inverted. The AND gate with the output inverted is called the NAND
gate. The OR gate with the output inverted is called the NOR gate. The EX-OR gate
with the output inverted is called the EX-NOR gate.
A A A A A
(ii) A X X X X X X
B B B B B
A X A B X A B X A B X A B X A B X
(iv) 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1
1 0 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0
1 0 0 1 0 1 1 0 1 1 0 1 1 0 0
1 1 1 1 1 1 1 1 0 1 1 0 1 1 0
Figure 1 shows the basic logic gates. Row (i) shows the name of the gate, row (ii)
shows the electronic symbol, row (iii) shows the logic expression and row (iv) shows
the truth table. A truth table is a table showing all possible values at the inputs of a
digital circuit and the corresponding value of the output.
Procedure:
(a) Download and Run Logisim and place the AND gate component by clicking on
the corresponding gate icon as shown in Figure 2. Also change the number of
inputs to 2.
(d) Add Labels by first clicking on an entity, followed by filling in the label field, as
shown in figure 5.
(e) Click on the Hand and use it modify the input values by clicking on the
corresponding input. Fill in and verify the AND truth table by going through the
states, as shown in Figure 6.
(f) In LOGISIM place the OR gate circuit (with I/O) and verify its operation through
Simulation. Complete Figure 7 and Table 2.
(g) In LOGISIM place the NOT gate circuit (with I/O) and verify its operation through
Simulation. Complete Figure 8 and Table 3.
(h) In LOGISIM place the XOR gate circuit (with I/O) and verify its operation through
Simulation. Complete Figure 9 and Table 4.
(i) In LOGISIM place the NAND gate circuit (with I/O) and verify its operation through
Simulation. Complete Figure 10 and Table 5.
(j) In LOGISIM place the NOR gate circuit (with I/O) and verify its operation through
Simulation. Complete Figure 11 and Table 6.
(k) In LOGISIM place the XNOR gate circuit (with I/O) and verify its operation through
Simulation. Complete Figure 12 and Table 7.