You are on page 1of 6

SIMULATION 1

BASIC LOGIC GATES


1.0 OBJECTIVE

To study the function of basic logic gates INVERTER, AND, OR and gate conversion using logic circuit
simulator and truth table representation

2.0 SIMULATION TOOLS


 2-input AND gate
 2-input OR gate
 NOT gate
 Switches (input)
 LEDs(output)

3.0 PROCEDURES

Part A: INVERTER,AND gate and OR gate

FIGURE 1

1. By used MMLogic simulator ,the INVERTER was designed in Figure 1


2. The switch input and LED output was connected
3. Referred to the table 1.1, controlled the input and observed the output result
4. The result was saved and table 1.1 was completed
5. Repeated the above steps for all logic gates

Part B: Gate Conversion

FIGURE 1.2

1. By used MMLogic simulator, the logic circuit shown in Figure 1.2 was designed
2. The switch inputs and LED output was connected
3. Referred to table 1.2 ,controlled the input and observed the output result
4. The result was saved and table 1.2 was completed
5. Repeated the above steps for figure 1.3

figure 1.3

4.0 RESULTS

PART A

LOGIC GATES INPUT OUTPUT DIAGRAM

A B X

NOT O 1 NOT(0)

1 0 NOT(1)

AND 0 0 0 AND(0,0)

0 1 0 AND(0,1)

1 0 0 AND(1,0)

1 1 1 AND(1,1)

OR 0 0 0 OR(0,0)

0 1 1 OR(0,1)

1 0 1 OR(1,0)

1 1 1 OR(1,1)

DIAGRAM 1.1

NOT 0 AND 1,0


NOT 1 AND 1,1

AND 0,0 OR 0,0

AND 0,1 OR 1,0

OR 0,1 OR 1,1

PART B

FIGURE INPUT OUTPUT


A B AB
0 0 0
1.2 0 1 1
1 0 1
1 1 1
0 0 0
1.3 0 1 0
1 0 0
1 1 1

DIAGRAM 1.2

INPUT 0,0 INPUT 1,0


INPUT 0,1 INPUT 1,1

DIAGRAM 1.3

INPUT 0,0 INPUT 1,0

INPUT 0,1 INPUT 1,1


5.0 QUESTIONS

1. The output of an AND gate will be high if both of its inputs is/are high.
2. The output of an OR gate will be low if none of its inputs is/are high.
3. The logic equation for a 3-input AND gate shown below is X= A.B.C

4. The logic equation for a 4-input OR gate shown below is X= A+B+C+D

5. The output of the logic circuit shown below is X -A

6. The NAND gate is formed by inverting the inputs and output of an AND gate.
7. The NOR gate is formed by inverting the inputs and output of an OR gate.
8. The power supply voltage for TTL ICs is typically 5 volt(s).
9. Draw the outputs waveform of the gates shown

below. a)

b)
CONCLUSION

In this experiment the LED was measured as output result for the INVERTER, AND gate,OR gate,
and gate conversion by using MMLogic simulator and helps to present a truth table of gates

You might also like