CS334: Logisim program lab6

Slides:



Advertisements
Similar presentations
Introduction to the SPL Interpreter
Advertisements

Microsoft ® Office Word 2007 Training Header and footer basics Sweetwater ISD presents:
Step-by-Step: Add a Graphical Hyperlink USE the Special Events Final presentation that is still open from the previous exercise. 1.Go to slide 4, and click.
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
An Introduction to the Interface
An Introduction to Forms (continued). The Major Steps of a MicroSoft Access Database  Tables  Queries  Forms  Macros  Reports  Modules On our road.
Microsoft Word 2010 Lesson 1: Introduction to Word.
Creating a Document with a Table, Chart, and Watermark
CREATING A MULTIPLE PAGE REPORT Presented by: Dr. Ennis-Cole.
Word Processing First Steps
ECE 272 Xilinx Tutorial. Workshop Goals Learn how to use Xilinx to: Draw a schematic Create a symbol Generate a testbench Simulate your circuit.
1 An Introduction to IBM SPSS PSY450 Experimental Psychology Dr. Dwight Hennessy.
A Tutorial by Aaron Price
Fundamentals of Programming in Visual Basic 3.1 Visual basic Objects Visual Basic programs display a Windows style screen (called a form) with boxes into.
Microsoft ® Office PowerPoint ® 2003 Training Playing movies [Your company name] presents:
FSM How Finite State Machine is used to design a circuit.
Academic Computing Services 2010 Microsoft ® Office Visio ® 2007 Training Get to know Visio.
Tool used in the Computer Organization Lab
CS1Q Computer Systems Lecture 8
Creating your own form from scratch.. To create a custom form, you can modify an existing form or design and create a form from scratch. In either case,
XP 1 Microsoft Word 2002 Tutorial 1 – Creating a Document.
Inspiration 7.5 A Tutorial.
In the next step you will enter some data records into the table. This can be done easily using the ‘Data Browser’. The data browser can be accessed via.
> 1 Diagrams in Word Faculty of Health Alan Grace.
ATN GIS Support ArcGIS: ArcMap Layout View.
Creating your Home Directory During Labs you will need to save all your work in a folder called CP120 (or PC120) in your Home Directory (drive I:) To get.
Lab 1 : Introduction to LabView 1 Southern Methodist University Bryan Rodriguez.
Game Maker – Getting Started What is Game Maker?.
Design Studies 20 ‘Show Off’ Project How to make a computer monitor In Google Sketchup By: Liam Jack.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
Expertly position, stack, and group shapes Expertly position shapes One of the main reasons you create diagrams is that they’re much more efficient at.
Digital Logic Circuits (Part 1) Computer Architecture (Fall 2006)
Key Applications Module Lesson 14 — Working with Tables Computer Literacy BASICS.
CS1Q Computer Systems Lecture 8
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
Learning the Basics of ArcMap 3.3 Updated 4/27/2010 Using Arc/View pt. 1 1.
TechKnowlogy Conference August 2, 2011 Using GoogleDocs for Collaboration.
Combinational circuits
Microsoft Word 2010 Lesson 1 Revised February 9, 2011
Logisim program Lecture 10.
Random access memory Sequential circuits all depend upon the presence of memory. A flip-flop can store one bit of information. A register can store a single.
More Devices: Control (Making Choices)
Eclipse Navigation & Usage.
Random access memory Sequential circuits all depend upon the presence of memory. A flip-flop can store one bit of information. A register can store a single.
Bitfields and Logic Basics
Microsoft Official Academic Course, Microsoft Access 2013
EET 2259 Unit 3 Editing and Debugging VIs
Tutorial 1 – Creating a Document
Doing some Boolean: On/Off
How Boolean logic is implemented
Microsoft Official Academic Course, Access 2016
Logisim Getting Started.
Using Charts in a Presentation
Productivity Programs Common Features and Commands
Learning the Basics of ArcMap 3.3 Updated 4/27/2010
Recall: ROM example Here are three functions, V2V1V0, implemented with an 8 x 3 ROM. Blue crosses (X) indicate connections between decoder outputs and.
Whatcha doin'? Aims: Begin to create GUI applications. Objectives:
Arithmetic and Decisions
Random access memory Sequential circuits all depend upon the presence of memory. A flip-flop can store one bit of information. A register can store a single.
Microsoft Office Illustrated Fundamentals
CS334: Logisim program lab6
ECE 352 Digital System Fundamentals
EET 2259 Unit 7 Case Structures; Sequence Structures
COMPUTER ORGANIZATION
Key Applications Module Lesson 14 — Working with Tables
Welcome To Microsoft Word 2016
Add some WordArt to your cover slide
Programming Techniques :: Logic & Truth Tables
Presentation transcript:

CS334: Logisim program lab6

Contents: Logisim Definition Logisim Interface Logisim Purpose Logisim Features Design in logisim Ins.Ebtesam AL-Etowi

Logisim Definition Logisim is an educational tool for designing and simulating digital logic circuits. With its simple toolbar interface and simulation of circuits as they are built, it is simple enough to facilitate learning the most basic concepts related to logic circuits. Ins.Ebtesam AL-Etowi

Cont……. With the capacity to build larger circuits from smaller subcircuits, and to draw bundles of wires with a single mouse drag. Logisim can be used to design and simulate entire CPUs for educational purposes Ins.Ebtesam AL-Etowi

Logisim Interface Ins.Ebtesam AL-Etowi

Logisim Purpose Students at colleges and universities around the world use Logisim for a variety of purposes, including: 1-A module in general-education computer science surveys 2-A unit in sophomore-level computer organization courses 3-Over a full semester in upper-division computer architecture courses Ins.Ebtesam AL-Etowi

Logisim Features A. It is free! (Logisim is open-source) B.. It runs on any machine supporting Java 5 or later; special versions are released for MacOS X and Windows C. The drawing interface is based on an intuitive toolbar. Color-coded wires aid in simulating and debugging a circuit Ins.Ebtesam AL-Etowi

Cont….. D. The wiring tool draws horizontal and vertical wires, automatically connecting to components and to other wires. E. Completed circuits can be saved into a file, exported to a GIF file, or printed on a printer. Ins.Ebtesam AL-Etowi

Cont...... F. Circuit layouts can be used as "subcircuits" of other circuits, allowing for hierarchical circuit design. G. Included circuit components include inputs and outputs, gates, multiplexers, arithmetic circuits, flip-flops, and RAM memory. Ins.Ebtesam AL-Etowi

Cont...... H. The included "combinational analysis" module allows for conversion between circuits, truth tables, and Boolean expressions. Ins.Ebtesam AL-Etowi

Design in logisim Logisim allows you to design and simulate digital circuits. It is intended as an educational tool, to help you learn how circuits work. Ins.Ebtesam AL-Etowi

cont…. To practice using Logisim, let's build a XOR circuit - that is, a circuit that takes two inputs (which we'll call x and y) and outputs 1 if the inputs are the same and 0 if they are different. The following truth table illustrates. Ins.Ebtesam AL-Etowi

Steps of building a circuit Adding wires Adding gates Orienting yourself Step 3 Step 1 Step 2 Testing your circuit Adding text Step 5 Step 4

Step 1: Orienting yourself When you start Logisim, you'll see a window similar to the following. Since you'll be using a different system, some of the details may be slightly different. All Logisim is divided into three parts, called the explorer pane, the attribute table, and the canvas. Above these parts are the menu bar and the toolbar. The canvas is where you'll draw your circuit; and the toolbar contains the tools that you'll use to accomplish this. Ins.Ebtesam AL-Etowi

Step 2: Adding gates Building a circuit is easiest by inserting the gates first as a sort of skeleton for connecting wires into the circuit later. The first thing we're going to do is to add the two AND gates. Click on the AND tool in the toolbar (the next-to-last tool listed). Then click in the editing area where you want the AND gates to go. Be sure to leave plenty of room for stuff on the left. Notice the five dots on the left side of the AND gate. These are spots where wires can be attached. It happens that we'll just use two of them for our XOR circuit; but for other circuits, you may find that having more than two wires going to an AND gate is useful. Ins.Ebtesam AL-Etowi

Step 2: Adding gates Now add the other gates. First click on the OR tool; then click where you want it. And select the NOT tool and put those two gates into the canvas. I left a little space between the NOT gates and the AND gates; if you want to, though, you can put them up against each other and save yourself the effort of drawing a wire in later. Ins.Ebtesam AL-Etowi

Step 2: Adding gates Now we want to add the two inputs x and y into the diagram. Select the input pin ,and place the pins down. You should also place an output pin next to the OR gate's output. (Again, though I'm leaving a bit of space between the OR gate and the output pin, you might choose to place them right next to each other.) If you decide you don't like where you placed something, then you can right-click (or control-click) anything in the canvas to view a pop-up menu. Choose Delete. You can also rearrange things using the select tool Ins.Ebtesam AL-Etowi

Step 3: Adding wires After you have all the components blocked out on the canvas, you're ready to start adding wires. Select the wiring tool. Then start dragging from one position to another in the canvas area, and a wire will start to appear between the two points. Wires in Logisim must be horizontal or vertical. To connect the upper input to the NOT gate and the AND gate, then, I added three different wires. Ins.Ebtesam AL-Etowi

Step 3: Adding wires As you draw wires, you may see some blue or gray wires. Blue in Logisim indicates that the value at that point is ``unknown'', and gray indicates that the wire is not connected to anything. This is not a big deal temporarily. But by the time you finish your circuit, none of your wires should be blue or gray. (The unconnected legs of the OR gate will still be blue: That's fine.) Once you have all the wires connected, all of the wires you inserted will themselves be light or dark green. Ins.Ebtesam AL-Etowi

Step 3: Adding text Adding text to the circuit isn't necessary to make it work; but if you want to show your circuit to somebody (like a teacher), then some labels help to to communicate the purpose of the different pieces of your circuit. Select the text tool. You can click on an input pin and start typing to give it a label.(It's better to click directly on the input pin than to click where you want the text to go, because then the label will move with the pin.) You can do the same for the output pin. Or you could just click any old place and start typing to put a label anywhere else Ins.Ebtesam AL-Etowi

Step 4: Testing your circuit Our final step is to test our circuit to ensure that it really does what we intended. Logisim is already simulating the circuit. Let's look again at where we were. Note that the input pins both contain 0s; and so does the output pin. This already tells us that the circuit already computes a 0 when both inputs are 0. Ins.Ebtesam AL-Etowi

Step 4: Testing your circuit Now to try another combination of inputs. Select the poke tool and start poking the inputs by clicking on them. Each time you poke an input, its value will toggle. For example, we might first poke the bottom input. By poking the switches through different combinations, we can verify the other two rows. If they all match, then we're done: The circuit works! To archive your completed work, you might want to save or print your circuit. The File menu allows this, and of course it also allows you to exit Logisim. Ins.Ebtesam AL-Etowi

exercise Ins.Ebtesam AL-Etowi

Export image Ins.Ebtesam AL-Etowi

?  Ins.Ebtesam AL-Etowi