EECS 303 Lecture 11 Lecture 1 Introduction to Digital Logic Design Hai Zhou EECS 303 Advanced Digital Design Fall 2011.

Slides:



Advertisements
Similar presentations
01 Introduction to Digital Logic
Advertisements

Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
التصميم المنطقي Second Course
CPT 310 Logic and Computer Design Instructor: David LublinerPhone Engineering Technology Dept.Cell
Advanced Chips and Gates Simulation with TINA Linda Soulliere & Janet Dudek
Cosc 2150: Computer Organization Chapter 3: Boolean Algebra and Digital Logic.
Chapter 4 Gates and Circuits.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
EEM232 Digital Systems I. Course Information Instructor : Atakan Doğan Office hours: TBD Materials :
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
ECE 232 L1 Intro.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 1 Introduction.
Digital Logic Lecture 08 By Amr Al-Awamry. Combinational Logic 1 A combinational circuit consists of an interconnection of logic gates. Combinational.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 11 – Design Concepts.
Digital Logic Lecture 1 Introduction By Dr Zyad Dwekat The Hashemite University Computer Engineering Department.
Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
CSCI 255, ENGR 274, ECE August 2000 Announcements – –Homework 1 is due 31 AugustHomework.
1 COMBINATIONAL LOGIC One or more digital signal inputs One or more digital signal outputs Outputs are only functions of current input values (ideal) plus.
Contemporary Logic Design Introduction CSIE, Dgt-ckt Transparency No. 1-1 Chapter # 1: Introduction Contemporary Logic Design Randy H. Katz University.
Contemporary Logic Design Introduction © R.H. Katz Transparency No. 2-1 Chapter # 1: Introduction.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Contemporary Logic Design Introduction ?R.H. Katz Transparency No. 1-1 Chapter # 1: Introduction Contemporary Logic Design Randy H. Katz University of.
Digital Logic Basics Chapter 2 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 
CPS120: Introduction to Computer Science
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
Advanced Digital Circuits ECET 146 Week 5 Professor Iskandar Hack ET 221G, Me as I typed this slides.
E&CE % Final 30% Laboratory 20% Midterm ON LINE Course Notes! Lab Manual LabTechs/TAs Assignments extra probs/solns.
Slide No. 1 Course: Logic Design Dr. Ali Elkateeb Topic: Introduction Course Number: COMP 1213 Course Title: Logic Design Instructor: Dr. Ali Elkateeb.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
HCL and ALU תרגול 10. Overview of Logic Design Fundamental Hardware Requirements – Communication: How to get values from one place to another – Computation.
Digital Logic Design Review Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM 2010.
1 Boolean Logic & Number Systems Today: Some Announcements First Hour: Introduction to Logic –Section 1.2, 1.3 of Katz’s Textbook –In-class Activity #1.
1 CPRE210: Introduction to Digital Design Instructor –Arun K. Somani –Tel: – –Office Hours: MWF 10:00-11:00 Teaching Assistant.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 11 Binary Adder/Subtractor.
ACOE361 – Digital Systems Design. Useful information Instructor: Lecturer K. Tatas Office hours: Mo5, Tu3, We6-8, Fri5 Prerequisites: ACOE201 (ACOE161)
CSE 171 Introduction to Digital Logic and Microprocessors Prof. Richard E. Haskell 115 Dodge Hall.
CSCI-100 Introduction to Computing Hardware Design Part I.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 8 Arithmetic.
1 ECSE-2610 Computer Components & Operations (COCO) Today: General Course Information First Hour: Introduction to Design –Section 1.1 of Katz’s Textbook.
CS/COE0447 Computer Organization & Assembly Language
1-1 Introduction Chapter # 1: Introduction. 1-2 Introduction Motivation Dramatic Change in the Way Industry Does Hardware Design Pervasive use of Computer-Aided.
1 ECSE-2610 Computer Components & Operations (COCO) Welcome to the world of Computers!
04/26/20031 ECE 551: Digital System Design & Synthesis Lecture Set : Introduction to VHDL 12.2: VHDL versus Verilog (Separate File)
Combinational Circuits
Apr. 3, 2000Systems Architecture I1 Introduction to VHDL (CS 570) Jeremy R. Johnson Wed. Nov. 8, 2000.
Teaching Digital Logic courses with Altera Technology
May 9, 2001Systems Architecture I1 Systems Architecture I (CS ) Lab 5: Introduction to VHDL Jeremy R. Johnson May 9, 2001.
COE 200 Fundamentals of Computer Engineering Instructor: Syed Z. Shazli
Chapter # 1: Introduction Contemporary Logic Design.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
Explain Half Adder and Full Adder with Truth Table.
1 Digital Logic Design (41-135) Introduction Younglok Kim Dept. of Electrical Engineering Sogang University Spring 2006.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Introduction to the FPGA and Labs
EGR 2131 Unit 4 Combinational Circuits: Analysis & Design
Systems Architecture Lab: Introduction to VHDL
Computer Architecture Syllabus
ECE 434 Advanced Digital System L03
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Basics Combinational Circuits Sequential Circuits
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Schematics 201 Lecture Topic: Electrical Symbols
ECNG 1014: Digital Electronics Lecture 1: Course Overview
Digital Logic.
Chapter 2 Introduction to Logic Circuits
XOR Function Logic Symbol  Description  Truth Table 
Digital Circuits and Logic
COMPUTER ORGANIZATION
Instructor: Michael Greenbaum
Computer Organization
Presentation transcript:

EECS 303 Lecture 11 Lecture 1 Introduction to Digital Logic Design Hai Zhou EECS 303 Advanced Digital Design Fall 2011

EECS 303 Lecture 12 Outline Class administration Digital design methodology Representations of Digital Design Introduction to Mentor Graphics tools READING: –Chapter 1 –Chapter 2

EECS 303 Lecture 13 Class Administration Lectures twice a week, Tuesday-Thursday 3:30- 4:50PM Instructor: –Hai Zhou –Office: L461 Tech – –PHONE: Teaching Assistant –Peng Kang –Office: M314 Tech – Web Page:

EECS 303 Lecture 14 Class Prerequisites EECS 203: Introduction to Computer Engineering –Need to have basic understanding of digital systems, logic gates, combinational and sequential logic Need to have been exposed to UNIX since we will use the Mentor Graphics tools on SUN workstations Class will form a background for other classes in Computer Engineering –EECS 357: Introduction to VLSI CAD –EECS 355: ASIC & FPGA Design –EECS 361: Computer Architecture –EECS 391: Introduction to VLSI Design

EECS 303 Lecture 15 Class Administration Required Textbooks: –Mano and Kime, “Logic & Computer Design Fundamentals”, Prentice Hall. Classnotes –Copies of lecture transparencies to be made available

EECS 303 Lecture 16 Class Grades 5 Homeworks –25% of grade 5 Labs –25% of grade Midterm exam –20% of grade Final exam –30% of grade Homeworks and labs will be due at the beginning of class on the due date –A penalty of 10% per working day will be assigned to late assignments or labs

EECS 303 Lecture 17 Lab Work You will be introduced to the use of a commercial computer aided design tool from Mentor Graphics Will use the Sun workstations in the Wilkinson Lab (3rd floor M wing of Tech) Lab Hours: Open There will be 5 labs –Lab 1: Tutorial on Mentor Graphics (simple logic) –Lab 2: Design of combinational logic (8-bit adder) –Lab 3: Design of ALU and shifter –Lab 4: Design of a simple 8-state finites state machine –Lab 5: Use of VHDL for combinational and sequential design

EECS 303 Lecture 18 The Process of Design Design Initial concept: what is the function performed by the object? Constraints: How fast? How much area? How much cost? Refine abstract functional blocks into more concrete realizations Implementation Assemble primitives into more complex building blocks Composition via wiring Choose among alternatives to improve the design Debug Faulty systems: design flaws, composition flaws, component flaws Design to make debugging easier Hypothesis formation and troubleshooting skills

EECS 303 Lecture 19 Digital Systems Digital vs. Analog Waveforms Analog: values vary over a broad range continuously Digital: only assumes discrete values

EECS 303 Lecture 110 Digital Hardware Systems Algebra: variables, values, operations In Boolean algebra, the values are the symbols 0 and 1 If a logic statement is false, it has value 0 If a logic statement is true, it has value 1 Operations: AND, OR, NOT Boolean Algebra and Logical Operators

EECS 303 Lecture 111 Digital Hardware Systems Combinational logic no feedback among inputs and outputs outputs are a pure function of the inputs e.g., full adder circuit: (A, B, Carry In) mapped into (Sum, Carry Out) Network implemented from switching elements or logic gates. The presence of feedback distinguishes between sequential and combinational networks. Combinational vs. Sequential Logic

EECS 303 Lecture 112 Digital Hardware Systems Sequential logic inputs and outputs overlap outputs depend on inputs and the entire history of execution! network typically has only a limited number of unique configurations these are called states e.g., traffic light controller sequences infinitely through four states new component in sequential logic networks: storage elements to remember the current state output and new state is a function of the inputs and the old state i.e., the fed back inputs are the state! Synchronous systems period reference signal, the clock, causes the storage elements to accept new values and to change state Asynchronous systems no single indication of when to change state

L1 L6L6 L2 L3 L7L7 L4L4 L5L5 Case Study of a Simple Logic Design: Seven Segment Display Chip to drive digital display

L1 L6L6 L2 L3 L7L7 L4L4 L5L5 Case Study (cont.)

Implement L4: Some gate level implementation of the Boolean function for L4

EECS 303 Lecture 116 Representations of Digital Design: Switches A switch connects two points under control signal. when the control signal is 0 (false), the switch is open when it is 1 (true), the switch is closed when control is 1 (true), switch is open when control is 0 (false), switch is closed Normally Closed Normally Open

EECS 303 Lecture 117 Switch Representations Examples: routing inputs to outputs through a maze Floating nodes: what happens if the car is not running? outputs are floating rather than forced to be false Under all possible control signal settings (1) all outputs must be connected to some input through a path (2) no output is connected to more than one input through any path

EECS 303 Lecture 118 Switch Representations Implementation of AND and OR Functions with Switches AND function Series connection to TRUE OR function Parallel connection to TRUE

EECS 303 Lecture 119 Representations of a Digital Design Truth Tables tabulate all possible input combinations and their associated output values Example: half adder adds two binary digits to form Sum and Carry Example: full adder adds two binary digits and Carry in to form Sum and Carry Out NOTE: 1 plus 1 is 0 with a carry of 1 in binary

EECS 303 Lecture 120 Representations of Digital Design: Boolean Algebra NOT X is written as X X AND Y is written as X & Y, or sometimes X Y X OR Y is written as X + Y values: 0, 1 variables: A, B, C,..., X, Y, Z operations: NOT, AND, OR,... A0011A0011 B0101B0101 Sum Carry 0 1 Sum = A B + A B Carry = A B OR'd together product terms for each truth table row where the function is 1 if input variable is 0, it appears in complemented form; if 1, it appears uncomplemented Deriving Boolean equations from truth tables:

EECS 303 Lecture 121 Representations of a Digital Design: Boolean Algebra A A B B Cin Sum Cout Another example: Sum = A B Cin + A B Cin + A B Cin + A B Cin Cout = A B Cin + A B Cin + A B Cin + A B Cin

EECS 303 Lecture 122 Gate Representations of a Digital Design most widely used primitive building block in digital system design Standard Logic Gate Representation Half Adder Schematic Netlist: tabulation of gate inputs & outputs and the nets they are connected to Net: electrically connected collection of wires

EECS 303 Lecture 123 Representations of a Digital Design: Gates Full Adder Schematic Fan-in: number of inputs to a gate Fan-out: number of gate inputs an output is connected to Technology "Rules of Composition" place limits on fan-in/fan-out

EECS 303 Lecture 124 Waveform Representation dynamic behavior of a circuit real circuits have non-zero delays Timing Diagram of the Half Adder sum propagation delay circuit hazard: 1 plus 0 is 1, not 0! sum propagation delay Output changes are delayed from input changes The propagation delay is sensitive to paths in the circuit Outputs may temporarily change from the correct value to the wrong value back again to the correct value: this is called a glitch or hazard

EECS 303 Lecture 125 Block Representation of a Digital Design structural organization of the design black boxes with input and output connections corresponds to well defined functions concentrates on how the components are composed by wiring Full Adder realized in terms of composition of half adder blocks Block diagram representation of the Full Adder

EECS 303 Lecture 126 Introduction to Mentor Graphics Tools The Mentor Graphics CAD system has many components You will use a small portion of the tools for this course –Falcon Design Framework –Design Architect for entering logic designs –Quicksim for simulating the designs –QuickHDL for entering and simulating the VHDL designs Read through and execute Lab 1: Mentor Graphics tutorial

EECS 303 Lecture 127 Introduction to Mentor Graphics Typing “source /vol/ece303/mgc.env” on Sun workstation will set up env for 303 labs Typing “dmgr” for Design Manager will create a window for running several tools Mentor Graphics is not a single tool but a series of design tools that uses object oriented data representation to simplify the design process Data created in one tool (e.g. design architect) can be shipped to another tool (e.g. quicksim) for simulation A schematic is merely a pictorial representation of a circuit

EECS 303 Lecture 128 Viewpoints in Electronic Design Objects Data created by DESIGN ARCHITECT is saved in –Component –Viewpoint A component is a collection of models used to describe the functional, graphical aspects –Component data is made of a schematic and a symbol –A symbol is a graphical model of the input and output pins –A schematic is a functional model of how outputs are related to input values A viewpoint can be thought of as a filter that other applications use to process component data ComponentViewpoint Electronic Design Object Symbol for XOR

EECS 303 Lecture 129 Moving Design Data Students familiar with UNIX, please refrain from using UNIX commands to move directories or files You MUST move these objects using the Design Manager Failure to use Design Manager will result in data corruption –Design Architect will store the absolute pathname to a design –Quicksim will try to use the symbol to look for the design from that pathname

EECS 303 Lecture 130 Summary Class administration Digital design methodology Representations of Digital Design Introduction to Mentor Graphics tools NEXT LECTURE: Memory Elements READING: –Chapter 4