Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.

Slides:



Advertisements
Similar presentations
DAT2343 Basic Logic Gates © Alan T. Pinck / Algonquin College; 2003.
Advertisements

Logic Gates.
Programming Logic Gate Functions in PLCs
Clocked Synchronous State-machine Analysis
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
Boolean Algebra and Combinational Logic
CSE-221 Digital Logic Design (DLD)
Documentation Standards Programmable Logic Devices Decoders
ECE – 329 Fall 2007 Lab Manual for Xilinx Example: Design and simulation of a Half Adder Instructor: Dr.Botros.
1 Homework Reading –Tokheim, Section 5-1, 5-2, 5-3, 5-7, 5-8 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #6
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Digital Design.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
Digital Logic Design Lecture # 7 University of Tehran.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
Outline Analysis of Combinational Circuits Signed Number Arithmetic
+ CS 325: CS Hardware and Software Organization and Architecture Combinational Circuits 1.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
BEGIN test1 INPUTS A [0, 1] B [0, 1] OUTPUTS Sum [0, 1, 1, 0 ] Carry [0, 0, 0, 1 ] Sample Test #1 (Half-adder) Test name (actually a group of 4 tests)
1 © 2015 B. Wilkinson Modification date: January 1, 2015 Designing combinational circuits Logic circuits whose outputs are dependent upon the values placed.
Chapter 3 (part 2) Basic Logic Gates 1.
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
Combination of logic gates  Logic gates can be combined to produce more complex functions.  They can also be combined to substitute one type of gate.
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
Boolean Algebra and Reduction Techniques
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
Simulink Simulink is a graphical extension to MATLAB for modeling and simulation of systems. In Simulink, systems are drawn on screen as block diagrams.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
1 Homework Reading –Tokheim, Section 5-1, 5-2, 5-3, 5-7, 5-8 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
June 9, 2007 Workshop on Computer Architecture Education A Pedagogically Targeted Logic Simulation Tool David A. Poplawski Department of Computer Science.
Introduction to Verilog. Data Types A wire specifies a combinational signal. – Think of it as an actual wire. A reg (register) holds a value. – A reg.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
ECE DIGITAL LOGIC LECTURE 15: COMBINATIONAL CIRCUITS Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2015, 10/20/2015.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
Introduction to Verilog. Structure of a Verilog Program A Verilog program is structured as a set of modules, which may represent anything from a collection.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
©2010 Cengage Learning SLIDES FOR CHAPTER 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use.
UNIT 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-4 Verification 1Created by: Ms.Amany AlSaleh.
Logic Gates Learning Objectives Learn that there is a one-to-one relationship between logic gates and Boolean expressions Learn how logic gates are combined.
Logic Gates.
Introduction to Verilog
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
Boolean Algebra and Combinational Logic
Introduction to Verilog
Computer Science 210 Computer Organization
Logic Gates.
GCSE Computer Science – Logic Gates & Boolean Expressions
Introduction to Verilog
Introduction to Verilog
Objectives Construct truth tables for the following logic gates:
Introduction to Verilog
Truth tables Mrs. Palmer.
What are Logic Gates?.
Presentation transcript:

Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text

Review Last time we reviewed logic gates and the sum of products notation. This time we will look at Project 3, which covers JLS, sum of products notation, and logic gates.

AND, OR, and NOT gates These gates are graphical representations of the operations to be performed in a Boolean equation. Graphical representation allows us to visualize the order in which the operations will occur. Recall that the AND gate is shaped as follows and may have as many inputs as necessary, but only one output. Recall that the AND gate produces a true output only if all inputs are true. For example, with two inputs, an AND gate produces the following outputs: A B A*B

Gates Recall that the OR gate is shaped as follows and may have as many inputs as necessary, but only one output. Recall that the OR gate produces a true output if any inputs is true. For example, with two inputs, an OR gate produces the following outputs: A B A*B Recall that the NOT gate is triangular in shape and leads with a tiny "o" at the point of the triangle. It has only one input and only one output and is shaped as follows: Recall that the NOT gate produces the inverse of the input. That is on an input of true, it produces false, and on an input of false, it produces true.

Propagation Delay Propagation delay is the time it takes a signal to pass through a circuit to produce a result. JLS takes propagation delay into account when logic gates are placed within the computer assisted design area or sandbox. If you utilize many different gates and do not account for their propagation delays, you may get unexpected results. A DELAY gate is provided in JLS for convenience. It is shaped like a triangle and looks just like a NOT gate without the tiny "o". The DELAY gate is shown below: Right clicking on a DELAY gate or another gate and clicking "modify timing" allows you to change a gate's propagation delay. It is best to set all gates at the same level to the same timing. For example in a sum of products, delays and nots should have the same timings, all ands should have the same timing, and all ors should have the same timing.

JLS JLS inputs and outputs Input and output pins allow you to modify and view inputs and outputs provided to a circuit.These may be dragged and dropped into a JLS circuit and connected to gates. Of particular importance is the ability to right click on a circuit and click "watch element" for the input or output to see the values over time in the simulation. JLS Signal Generator The JLS signal generator allows for specification of input signals. Assuming two variables,A and B, we can specify inputs over time for these variables using the signal generator.

JLS – Signal Generator Sample code for the signal generator follows below: A 0 for 50 1 for 50 0 for 50 1 for 50 0 end B 0 for 50 0 for 50 1 for 50 0 end Notice that the inputs above test all possible combinations of A and B over a period of 200 time steps.You can right click the signal generator at any time and click "Modify" to change the code.

JLS Stop Tool To create a simulation, it is not only necessary to specify the signal input, but also when will the simulation will stop and start. The stop tool in JLS (an icon that looks like a stop sign) must be dragged into the workspace and linked to an input pin before a simulation will run with varying input. Don't forget to drag an input pin into your workspace. You should name your stop input something informative like "Stopper" and provide input to it in the signal generator with the code above as follows: Stopper 0 for end Notice that the Stopper input is false until after the simulation is complete. You must allow enough time for signals to propagate through the gates to see your output.

JLS Simulations To perform a simulation, after you have created a circuit, click "Simulator" in the menu bar, then click "Show Simulator Window". Then click start in the simulator frame. You should see the output of your simulation as a graph that looks something like the following: ________|````````````````|___________ Notice that the Stopper input is false until after the simulation is complete. You must allow enough time for signals to propagate through the gates to see your output. In class, we developed several examples. These are available on the examples page of the class website.