Digital Electronics II Mike Brookes Please pick up: Notes from the front desk

Similar documents
LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

DE58/DC58 LOGIC DESIGN DEC 2014

Sample Test Paper - I

Sequential Logic Worksheet

COE 202: Digital Logic Design Sequential Circuits Part 4. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Solution (a) We can draw Karnaugh maps for NS1, NS0 and OUT:

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering


S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

CprE 281: Digital Logic

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

ECE 341. Lecture # 3

Introduction to Computer Engineering. CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques

University of Toronto Faculty of Applied Science and Engineering Final Examination

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

DIGITAL LOGIC CIRCUITS

Lecture 7: Logic design. Combinational logic circuits

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

CSE 140 Midterm 3 version A Tajana Simunic Rosing Spring 2015

Lecture 9: Digital Electronics

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals

Digital Logic Appendix A

COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

Boolean Algebra. Digital Logic Appendix A. Postulates, Identities in Boolean Algebra How can I manipulate expressions?

Latches. October 13, 2003 Latches 1

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Philadelphia University Student Name: Student Number:

Digital Electronics Final Examination. Part A

IMPERIAL COLLEGE OF SCIENCE, TECHNOLOGY AND MEDICINE UNIVERSITY OF LONDON DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2005

Philadelphia University Student Name: Student Number:

Roger L. Tokheim. Chapter 8 Counters Glencoe/McGraw-Hill

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Principles of Digital Techniques

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

Boolean Algebra. Digital Logic Appendix A. Boolean Algebra Other operations. Boolean Algebra. Postulates, Identities in Boolean Algebra

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Adders allow computers to add numbers 2-bit ripple-carry adder

Sequential Circuits Sequential circuits combinational circuits state gate delay

Lecture 22 Chapters 3 Logic Circuits Part 1

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Combinational Logic. By : Ali Mustafa

EET 310 Flip-Flops 11/17/2011 1

Digital Circuits ECS 371


Counters. We ll look at different kinds of counters and discuss how to build them

Design at the Register Transfer Level

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Sequential vs. Combinational

Design of Sequential Circuits

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

ELCT201: DIGITAL LOGIC DESIGN

I. Motivation & Examples

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

Gates and Flip-Flops

ELCT201: DIGITAL LOGIC DESIGN

Additional Gates COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Written reexam with solutions for IE1204/5 Digital Design Monday 14/

Exercise booklet - Logic

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques s complement 2 s complement 1 s complement

BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Schedule. ECEN 301 Discussion #25 Final Review 1. Date Day Class No. 1 Dec Mon 25 Final Review. Title Chapters HW Due date. Lab Due date.

Problem Set 6 Solutions

EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters)

The Design Procedure. Output Equation Determination - Derive output equations from the state table

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3

EECS150 - Digital Design Lecture 16 Counters. Announcements

Digital Electronics. Part A

ELEN Electronique numérique

EECS 270 Midterm 2 Exam Answer Key Winter 2017

Digital Fundamentals

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs

Fundamentals of Digital Design

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary

Chapter 2. Review of Digital Systems Design

Exam for Physics 4051, October 31, 2008

EECS150 - Digital Design Lecture 23 - FSMs & Counters

NTE74LS181 Integrated Circuit TTL Arithmetic Logic Unit/Function Generator

Vidyalankar S.E. Sem. III [EXTC] Digital Electronics Prelim Question Paper Solution ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD = B

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

CMPE12 - Notes chapter 2. Digital Logic. (Textbook Chapters and 2.1)"

EECS150 - Digital Design Lecture 18 - Counters

EECS150 - Digital Design Lecture 18 - Counters

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER

Appendix A: Digital Logic. CPSC 352- Computer Organization

04. What is the Mod number of the counter circuit shown below? Assume initially reset.

CPE/EE 422/522. Chapter 1 - Review of Logic Design Fundamentals. Dr. Rhonda Kay Gaede UAH. 1.1 Combinational Logic

Transcription:

NOTATION.PPT(10/8/2010) 1.1 Digital Electronics II Mike Brookes Please pick up: Notes from the front desk 1. What does Digital mean? 2. Where is it used? 3. Why is it used? 4. What are the important features of a digital system?

NOTATION.PPT(10/8/2010) 1.2 Lecture List Notation, Cause and Effect 1: Notation, Cause and Effect, Flipflops, Counters Interfacing Digital Systems 2: Synchronous bit-serial Interfacing 3. Asynchronous bit-serial interfacing 4,5: Microprocessor-to-Memory Interface Synchronous State Machines 6: Shift Register control and sequencing 7. Data Decoding with a counter 8. Synchronous state t machine analysis 9. Synchronous state machine design Digital Analog Conversion 10: Digital-to-Analog conversion 11. Analog-to-Digital Conversion: Flash and dither 12. Analog-to-Digital Conversion: Successive approximation Addition Circuits 13: Adders and propagation delays 14. Fast Adders: bit inversion & carry lookahead 15. Fast adders: Carry skip and carry save

NOTATION.PPT(10/8/2010) 1.3 Lecture Notes Very concise - ensure you understand each sentence. Book Tocci, Widmer & Moss, Digital Systems: Principles & Applications, Pearson, 11 th ed, 2010. ISBN 0130387932 Covers most of the course though not in the same order. I do not follow any book closely. Problem Sheets Problems graded: everyone should do A, B and C D and E are harder Solutions are included Problems Class: Room 509: Fri 16:00 (week 3) and Tue 3:00 (weeks 4 11) Tutorial questions URL http://www.ee.ic.ac.uk/hp/staff/dmb/courses/dig2/dig2.htm / t /di 2 Discussion Group http://learn.imperial.ac.uk Office Hours Room 812: Mon 10:00-11:00 and Fri 15:00-16:00

NOTATION.PPT(10/8/2010) 1.4 Lecture 1 Notation, Cause and Effect Objectives Introduce the IEC standard notation for logic symbols Emphasize the notion of cause and effect in digital circuits Remind you what a flipflop does Look at the propagation delays of a ripple counter and a synchronous counter

NOTATION.PPT(10/8/2010) 1.5 Logic Levels Notation A logic 1 (or high) is always the most positive of the two voltage levels. e.g. CMOS: 0 & 5V, ECL 1.75 & 0.9V Gates The label indicates how many of the inputs must be high to make the output high: & AND gate: all inputs high 1 OR gate: one or more inputs high =1 Exclusive-OR: exactly one input high 2n Even Parity: even number of inputs high Inversion Triangles We can invert signals on the way in or on the way out: A!X B 1 B X = A X X or!x denotes the inverse of X.

NOTATION.PPT(10/8/2010) 1.6 0 Cause & Effect A B X A B X Input B going high h causes Xt to go low Input A going low causes X to go high Propagation Delay: The time delay between a cause (an input changing) and its effect (an output changing). Example: 74AC00: Advanced CMOS 2-input NAND gate min typ max A to X (t PHL ) 15 1.5 45 4.5 65 6.5 ns A to X (t PLH ) 1.5 6.0 8.0 ns t PHL and t PLH refer to the direction that the output changes: high-to-low or low-to-high.

NOTATION.PPT(10/8/2010) 1.7 D-Flipflop DATA CLOCK 1D C1 Q CLOCK DATA Q Notation: ti > input effect happens on the rising edge C1 C Clock input, 1 This input is input number 1. 1D D Data input, 1 This input is controlled by input number 1. The meaning of a number depends on its position: A number after a letter is used to identify a particular input. A number before a letter means that this input is controlled by one of the other inputs. Cause and Effect: CLOCK causes Q to change after a short delay. This is the only time Q ever changes. The value of D just before CLOCK is the new Q. Propagation delay CLOCK to Q is typically 6 ns. Propagation delay DATA to Q does not make sense since DATA changing does not cause Q to change.

NOTATION.PPT(10/8/2010) 1.8 Ripple Counter Q0 Q1 Q2 CLOCK 1D C1 1D C1 1D C1 Notation: ti Notice inverters on the CLOCK and DATA inputs Least significant bit of a number is always labelled 0 CLOCK Q0 Q1 Q2 Q2:0 4 5 6 7 0 1 State Diagram (not including transient states): 0 1 2 3 7 6 5 4 Propagation Delay: CLOCK to Q2 = 3 6ns= 18 ns

NOTATION.PPT(10/8/2010) 1.9 Synchronous Counter CLOCK C1 Q0 Q1 Q2 Logic D=Q+1 D0 D1 D2 1D Q0 Q1 Q2 Notation: A register is a bunch of flipflops with the same CLOCK. The individual flipflops are rectangles stacked on top of each other. Only the top one is labelled. All shared signals (e.g. the CLOCK input) go to the notched common control block at the top of the stack. The logic block must add 1 onto the current value of the counter, Q, to generate the next value of the counter, D. Suppose it has a propagation delay of 10 ns. All flipflops change state within a fraction of a nanosecond. CLOCK Q2:0 D2:0 Propagation Delays: CLOCK to Qi = 6ns CLOCK to Di = 16ns

NOTATION.PPT(10/8/2010) 1.10 Dependency Notation Input Labels: Inputs are labelled with a function letter to show what effect they have on the circuit. They have this effect whenever they are high (i.e. at logic 1). The function letter is usually followed by an identification number (which must be unique): C1 Clock number 1 M7 Mode input number 7 D Data input (no identification number) Dependencies: If an input is affected by one or more other signals, we list their identification numbers in front of the function letter: 325D 3,2,5D Data input affected by input 3,2 and 5 in thatt order. The identification number is used to show which of the other inputs are affected by putting it in front of their function letters (if any). Device Types: The overall function of a device is indicated at the top of its symbol. Anything unlabelled is a flipflop or register.

NOTATION.PPT(10/8/2010) 1.11 Function Letters for Input Signals A Address inputs for a memory circuit CI,CO Carry In and Out for an adder C Clock or Control input CT=xx Set contents of register or counter to xx D Data input to flipflop EN Enable tri-state outputs G Gating input: allows signals through when high J,K,T Inputs for JK and Toggle flipflops M Mode input: selects one of several operating modes (e.g. count up or count down) P,Q Input numbers for adders, multipliers etc. R,S Reset and Set inputs V Forces a signal to 1 when high +, Increment or Decrement Shift up (left) or shift down (right) Device Types &, 1, =1 Gates (blank) Latch, Flipflop or register MUX Multiplexer Adder Multiplier CTR Counter SRG Shift Register RAM Read/Write memory Note: These lists are for reference only. You are not expected to memorize them.

NOTATION.PPT(10/8/2010) 1.12 Quiz Questions 1. The voltage levels for the TTL logic family are 0.4 V and 2.8 V. Which one of these corresponds to logic 1? 2. If a gate is labelled 1, under what circumstances will the output be high? 3. What does the propagation delay of a circuit mean? 4. Why does it make no sense to talk about the propagation delay between a flipflop s DATA input and the flipflop s output? 5. A flipflop s inputs are labelled C1 and 1D respectively. Why does the 1 come after the C but before the D? 6. What is the meaning of the > sign just before the C1 in a flipflop s symbol? 7. What is the meaning of a triangle drawn where an input or output wire meets a logic symbol? 8. What is a register? Answers are all in the notes.