Sie sind auf Seite 1von 2

SE 3202

COMPUTER ARCHITECTURE I LABORATORY MANUAL

[

LABORATORY ACTIVITY 4

Realization of Gates using Universal Building Block (NAND & NOR GATES)

I. OBJECTIVES: Upon completion of this activity you should be able to:

Use MULTISIM to design, build and test the circuits.

Implement Logic Gates using NAND as a universal gate.

To implement Logic Gates using NOR gates.

To design, implement and test a logic circuit based on the given parameters or conditions,

II. Universal Gate | NAND & NOR Gate as Universal Gate

We have discussed about different types of logic gates in previous experiments. Now coming to the topic of this article we are going to discuss about the Universal Gate. AND, NOT and OR gates are the basic gates; we can create any logic gate or any Boolean expression by combining them. Now NOR and NAND gates have the particular property that any one of them can create any logical Boolean expression if designed in a proper way. Now we will look at the operation of each gate separately as universal gates.

NAND GATE as an INVERTER

Implement the circuit using MULTISIM. U2 is a “digital interactive source”. U1A is an inverter. U3A is a NAND Gate. Lastly, X1 and X2 are probe indicators. Simulate the circuit. Press the SPACE key in your keyboard and observe the output. Complete the table below.

NAND GATE functions as an OR GATE

NAND GATE functions as an AND GATE

 U2 X1 X2 (input) (output ) (output) 0 1 U2 U4 X1 X2 (input B) (input A) (output ) (output) 0 0 0 1 1 0 1 1
 U2 U4 X1 X2 (input B) (input A) (output ) (output) 0 0 0 1 1 0 1 1

III.

EXERCISES. Answer the following exercises using MULTISIM.

1. Write a Boolean expression for each diagram and create a truth table. Using Multisim implement the circuit and test the validity of your truth table by comparing the input-output relationship on your truth table. You may add switches and light indicator (see previous figures on using a NAND gate)

2. Simplify the following Boolean expression below, create a truth table, draw the simplified circuit using Multisim. Use logic converter of your Multisim

3. Answer the following problems belo, create a truth table, and use Multisim to draw your design.

A. Design a logic circuit that will output a 1 (HIGH) only if A and B are both 1 while either C or D is 1.

B. Design a logic circuit that will output a 0 only if A or B is 0.

C. Design a logic circuit that will output a LOW only if A is HIGH or B is HIGH while C is LOW or D is LOW.

D. Design a logic circuit that will output a HIGH if only one of the inputs A, B, or C is LOW.

E. Design a circuit that outputs a 1 when the binary value of ABCD

F. Design a circuit that outputs a LOW when the binary value of ABCD

IV. CONCLUSION (See format for answering the conclusion)