Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CPSC 5155 Lab Assignment 2: Implementing a Full Adder using AND, OR, and NOT Gates - Prof., Assignments of Computer Architecture and Organization

Instructions for a lab assignment in computer architecture (cpsc 5155) where students are required to implement a full adder using only and, or, and not gates using the multimedia tool by softronix, inc. Notes, diagrams, and a screen shot of the initial setup. Students are expected to complete the circuit and create a table for the input and output of the full adder.

Typology: Assignments

Pre 2010

Uploaded on 08/04/2009

koofers-user-1ck
koofers-user-1ck 🇺🇸

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CPSC 5155 Computer Architecture
Lab Assignment 2 Due Monday, April 6, 2009
The purpose of this lab is to implement a full adder using only AND, OR, and NOT gates. You
are to use the Multimedia tool by Softronix, Inc.
Here is the circuit that you are to implement. It is taken from my lecture notes. There are a
few modifications that are worth note.
NOTES: 1. You will need three switches, one each for inputs A, B, and C.
2. I have drawn the NOT gates “facing down”. The tool seems not to support
rotation of logic items. Draw the circuit in any way that is simple.
3. The tool does support multiple–input AND and OR gates. Just place the
gate, then use the Selector Tool (the arrow) to right click on the gate.
Select “Properties” from the pop–up menu and select the number of inputs.
CPSC 5155 Lab 2 Page 1 of 4 pages
pf3
pf4

Partial preview of the text

Download CPSC 5155 Lab Assignment 2: Implementing a Full Adder using AND, OR, and NOT Gates - Prof. and more Assignments Computer Architecture and Organization in PDF only on Docsity!

CPSC 5155 Computer Architecture

Lab Assignment 2 Due Monday, April 6, 2009

The purpose of this lab is to implement a full adder using only AND, OR, and NOT gates. You are to use the Multimedia tool by Softronix, Inc. Here is the circuit that you are to implement. It is taken from my lecture notes. There are a few modifications that are worth note. NOTES: 1. You will need three switches, one each for inputs A, B, and C.

  1. I have drawn the NOT gates “facing down”. The tool seems not to support rotation of logic items. Draw the circuit in any way that is simple.
  2. The tool does support multiple–input AND and OR gates. Just place the gate, then use the Selector Tool (the arrow) to right click on the gate. Select “Properties” from the pop–up menu and select the number of inputs.
  1. At least for me, placing nodes is a problem. See the next page for hints. Here is a screen shot of the lab as I have just started it. At this point, I have
  2. gone to the View menu tab, selected Grid Settings and set the grid to 1000 by 800,
  3. gone to the Multimedia Logic tool bar and clicked “Toggle Palette”,
  4. placed two 3–input AND gates, one 4–input OR gate, and a NOT gate, and
  5. connected the top switch through the NOT gate to one of the AND gates. (Remember that the Wire tool is in the middle of the top row of the palette.) Here is a partial screen shot. Note that the Node tool, at the top right of the palette, has been selected. When I took the screen shot, I thought I’d need it. That may not be the case. At this point, I want to connect one of the inputs of the top AND gate to the top switch. Anyone who has used the more sophisticated Multisim tool will find the steps necessary to do this a bit overly complex. The more expensive tool has a better user interface. Here it is necessary either to place a node on the wire connecting the switch to the NOT gate (this is a bit tricky) or to connect an existing node on the top AND gate to the one node on the switch. That is what I elected to do. After doing that, connecting the top two AND gates to the OR gate (moved down a bit) and adding a LED, this is what I have.

Here is the final circuit. It is messy but the simulation works. Your assignment is to complete the circuit above, just as I have and then complete a write–up. The write–up should include a table, of eight rows and five columns. The headings should be Top Switch, Middle Switch, Bottom Switch, Top LED, and Bottom LED. Each switch position should be indicated as either ON or OFF and each LED should be indicated as ON or OFF. Here are the first two rows of the table. Top Switch Middle Switch Bottom Switch Top LED Bottom LED OFF OFF OFF OFF OFF OFF OFF ON ON OFF Complete the table and submit this (probably in a MS–Word document) along with the LGI file from the Multimedia Logic simulator. Good luck. P.S. – I never needed the node tool.