Digital Logic Circuits (Part 1) Computer Architecture (Fall 2006)

Slides:



Advertisements
Similar presentations
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Advertisements

Chapter 4 Gates and Circuits.
Switching circuits Composed of switching elements called “gates” that implement logical blocks or switching expressions Positive logic convention (active.
L14: Boolean Logic and Basic Gates
Programming Logic Gate Functions in PLCs
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Chapter 4 Gates and Circuits.
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Documentation Standards
Functions and Functional Blocks
Introduction to Multisim ECE 1020 Professor Ahmadi.
Boolean Algebra and Reduction Techniques
Programmable Logic Controllers
Cosc 2150: Computer Organization Chapter 3: Boolean Algebra and Digital Logic.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Week 11b, Slide 1EECS42, Fall 2005Prof. White Week 11b OUTLINE – Synthesis of logic circuits – Minimization of logic circuits Reading: Hambley Ch. 7 through.
Chapter 4 Gates and Circuits.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.

EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Copyright © Cengage Learning. All rights reserved. CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS.
Gates A digital circuit is one in which only two logical values are present. Typically, a signal between 0 and 1 volt represents one value (e.g. binary.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
3. DIGITAL ELECTRONICS..
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 4 Gates and Circuits.
Digital Systems Presented by Prof Tim Johnson
EEE324 Digital Electronics Ian McCrumRoom 5B18, Lecture 4: Boolean Algebra.
1 CHAPTER 4: PART I ARITHMETIC FOR COMPUTERS. 2 The MIPS ALU We’ll be working with the MIPS instruction set architecture –similar to other architectures.
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
Chapter 4 Gates and Circuits.
Introduction to Computer Science David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS September 6, 2007.
Sahar Mosleh PageCalifornia State University San Marcos 1 Multiplexer, Decoder and Circuit Designing.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Elementary Digital Logic Apps O/S Arch  Arch Logic Digital Analog.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
CPS120: Introduction to Computer Science
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
The Digital Logic Level
1 Lecture 9 Demultiplexers Programmable Logic Devices  Programmable logic array (PLA)  Programmable array logic (PAL)
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
1 Combinational Logic Design Digital Computer Logic Kashif Bashir
Week 6: Gates and Circuits: PART I READING: Chapter 4.
LOGIC GATES. Electronic digital circuits are also called logic circuits because with the proper input, they establish logical manipulation paths. Each.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Pp244 In Sum-of-Products (SOP) form, basic.
Boolean Algebra and Reduction Techniques
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Boolean Algebra Computer Architecture. Digital Representation Digital is an abstraction of analog voltage –Voltage is a continuous, physical unit Typically.
1 Multiplexers (Data Selectors) A multiplexer (MUX) is a device that allows several low-speed signals to be sent over one high-speed output line. “Select.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 4 Using Logic Gates Roger.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Logic gates.
EGR 2131 Unit 4 Combinational Circuits: Analysis & Design
Basics of Logic gates - Part 2
Logic Gates and Boolean Algebra
Logic Gates and Boolean Algebra
Lecture 9 Logistics Last lecture Today HW3 due Wednesday
NAND-ONLY LOGIC CIRCUITS
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Figure 5. 1 An example of AND-OR logic
Schematics 201 Lecture Topic: Electrical Symbols
BASIC & COMBINATIONAL LOGIC CIRCUIT
Digital System Design Combinational Logic
Chapter 2 Digital Design and Computer Architecture, 2nd Edition
Presentation transcript:

Digital Logic Circuits (Part 1) Computer Architecture (Fall 2006)

Electronics for Boolean Algebra Interconnected set of Transistors called Circuits –Transistors are Electronic Switches Turn “On” or “Off” –Depending on input voltages –Used to implement Boolean expressions Transistor A B C (AB)+C

Logic Gates Developing large circuits is complex –Drawing many transistors is cumbersome –Makes the circuit diagram unwieldy Hard to illustrate and comprehend Solution: Logic Gates –Abstract notation for common logic circuits Functionally similar to set of transistors –Simpler to develop and use

Basic Gates Corresponding to basic operations in Boolean Algebra –NOT Gate –AND Gate –OR Gate AA A B A+B A B AB Input Output Data always flows in a unidirectional manner from inputs to outputs of the logic gates!

Commonly used Gates Other commonly used gates –NAND –NOR –XOR A B (AB) A B (A+B) A B ABAB The circle (or bubble) indicates inversion or NOT operation. You may add this circle (or bubble) at the output or input of any gate!

Equations to Circuits Convert Boolean equations to Logic Circuits Logic circuits drawn on paper are often also called Schematics –Straightforward process Convert each operator to a Logic Gate –Suitably connect inputs and output Pay attention to crossing lines versus connected lines Label all inputs and outputs A BA A No relationship between A & B. These two lines/wires are the same! A B No relationship between A & B. This is preferred!

Example 1 ABCD –(AB)(CD) A B AB C D CD ABCD A B C D Standard Version (With 2-input Gates) Shortcut Version (n-Input Gates) There are a few aspects to consider when using the shortcut version: 1.All gates must be the same 2.Input to output transformation must be straightforward

Example 2 Convert English to logic circuit –Output O is A, if C=1 B, if C=0 Solution –O = (AC)+(BC) A B C AC BC O=(AC)+(BC) Shortcut for NOT operation.

Design & Verification The graphical representation of logic circuits is called a schematic. These days schematics are developed and verified using software –Modern software provide “virtual” components for developing schematics Components include logic gates, ICs, and other electronic devices including both digital and analog devices –Software ease interconnection between components –Logic circuits are verified using simulation There is a lot that goes into the simulations and it is an active area of research and development. There are a wide variety of schematic software available from various companies –In this course we will use a software packaged called MultiSIM from National Instruments Inc.

MultiSIM –Feature roundup: Is a popular, industry standard, software from National Instruments Inc. It is widely used for prototyping digital (and analog) circuits. The software provides many virtual components for developing schematics Include simulation engine and graphical interface for verification Schematics can be used to directly synthesize Printed Circuit Boards (PCBs) for mounting the physical integrated circuits and devices. –In this course we will be using MultiSIM to: Design logic circuits Verify their correct operation through simulation. –The process will enable you to obtain a good understanding of logic circuits and their operational characteristics. –Note that MultiSIM is installed on all SEAS computers. But SEAS does not have student licenses for the software

Starting MultiSIM Start MultiSIM via the Windows menu options shown below: –Start→ EAS Applications → Engineering Apps → MultiSIM 9 → MultiSIM 9 It does take about seconds for the software to startup (and it looks like nothing is happening)

Using MultiSIM This area (with a grid) is where you will develop your schematics. Click the “Misc Digital” icon to select a logic gate to be placed. (All of these buttons pretty much take you to the same set of options) Use these buttons to Start/Stop the simulation or pause it after you have completed design of a schematic.

Selecting Component to Place On clicking this icon you will be presented in the dialog box shown below. Select component to place on your schematic from this dialog box. Choose appropriate “ Group ” and “ Family ” settings to view corresponding subset of components in the adjacent “ Component: ” menu Choose appropriate “ Component ” to place in schematic from this list and then click the button. Preview of the component is shown here.

Placing & Connecting Components To place a component in the schematic –Selected a component as described in the previous slide Refer to the ComponentList.doc file off Blackboard for a list of commonly used components and their locations in MultiSIM –Press the button The selected component will tag along with your mouse cursor Click (left mouse button) at the appropriate location in the schematic area (gridded area as shown below) to place a component

Connecting Components Once you have placed two components on the schematic you can connect pins of the components by –However over a pin of a component –The mouse cursor will turn into a cross hair –Click on a pin and move the mouse to the next pin (or wire) to connect components Don’t drag the mouse with the left-mouse-button depressed! Release the mouse button and move the mouse

Simulation Once you have completed your schematic –You must verify correct operation using simulation –Click simulate button ( ) to start simulation –You may toggle status of switches using spacebar –For dip switches you need to use number (1,2,…,9) keys to toggle their status

General Selection Logic Develop a circuit to select 1 of the given 5 inputs –Let the inputs be A, B, C, D, & E –Assign unique combinations of 1s and 0s to identify each Input Given n inputs you need k bits such that 2 k >=n In this case n=5 and therefore k=3 Let selection variables be s 1, s 2, and s 3 S1S1 S2S2 S3S3 O 000A 001B 010C 011D 100E

General Selection (Cont.) Boolean equation for the example: –O=(AS 1S 2S 3 )+(BS 1S 2S 3 )+(CS 1S 2S 3 )+(DS 1S 2S 3 ) +(ES 1S 2S 3 ) S1S1 S2S2 S3S3 O 000A 001B 010C 011D 100E

Logic Circuit for Selector S3S3 S2S2 S1S1 C A B D E O

Multiplexer (Mux) Select 1 given N circuits are called Multiplexers –Have N inputs –K selection lines Such that 2 k >= N –1 output line N x K Multiplexer N inputs K select lines

De-Multiplexer (DeMux) Move 1 input bit to selected output line –1 Input –N Output lines –K selection lines Such that 2 K >=N N x K De-Multiplexer 1 Input K select lines N Outputs

De-Multiplexer Logic Circuit 1 X 4 De-Multiplexer S2S2 S1S1 A AS 1S 2