LECTURE 28. Analyzing digital computation at a very low level! The Latch Pipelined Datapath Control Signals Concept of State

Similar documents
Logic Design II (17.342) Spring Lecture Outline

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

EE115C Digital Electronic Circuits Homework #5

Physics 212. Lecture 8. Today's Concept: Capacitors. Capacitors in a circuits, Dielectrics, Energy in capacitors. Physics 212 Lecture 8, Slide 1

Chapter 7. Sequential Circuits Registers, Counters, RAM

Topic 4. The CMOS Inverter

Latches. October 13, 2003 Latches 1

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

Adders, subtractors comparators, multipliers and other ALU elements

CS61C : Machine Structures

Digital Integrated Circuits A Design Perspective

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

CS61C : Machine Structures

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015

Floating Point Representation and Digital Logic. Lecture 11 CS301

Adders, subtractors comparators, multipliers and other ALU elements

EE 466/586 VLSI Design. Partha Pande School of EECS Washington State University

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

ELCT201: DIGITAL LOGIC DESIGN

EE115C Digital Electronic Circuits Homework #4

ELEN Electronique numérique

EECS 312: Digital Integrated Circuits Final Exam Solutions 23 April 2009

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

EE141- Spring 2007 Digital Integrated Circuits

EE 209 Logic Cumulative Exam Name:

(d) describe the action of a 555 monostable timer and then use the equation T = 1.1 RC, where T is the pulse duration

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

Slide Set 6. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

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

Digital Integrated Circuits A Design Perspective

Sequential Logic Circuits

Memory, Latches, & Registers

Lecture 14: State Tables, Diagrams, Latches, and Flip Flop

EE141Microelettronica. CMOS Logic

9/18/2008 GMU, ECE 680 Physical VLSI Design

Lecture 7: Logic design. Combinational logic circuits

GMU, ECE 680 Physical VLSI Design

5. Sequential Logic x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS

Lecture 6: Time-Dependent Behaviour of Digital Circuits

Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic. November Digital Integrated Circuits 2nd Sequential Circuits

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

CMPE12 - Notes chapter 1. Digital Logic. (Textbook Chapter 3)

Synchronous Sequential Logic

Designing Sequential Logic Circuits

Pass-Transistor Logic

Design at the Register Transfer Level

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

2005 AP PHYSICS C: ELECTRICITY AND MAGNETISM FREE-RESPONSE QUESTIONS

CMPEN 411 VLSI Digital Circuits Spring 2012 Lecture 17: Dynamic Sequential Circuits And Timing Issues

Designing Information Devices and Systems II Fall 2017 Miki Lustig and Michel Maharbiz Homework 1. This homework is due September 5, 2017, at 11:59AM.

Chapter 4. Sequential Logic Circuits

E40M Capacitors. M. Horowitz, J. Plummer, R. Howe

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

Question 1. Question 2. Question 3

MECH 1500 Final Part 2 Review

Lecture 7 Circuit Delay, Area and Power

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

Combinatorial Logic Design Multiplexers and ALUs CS 64: Computer Organization and Design Logic Lecture #13

CprE 281: Digital Logic

Next, we check the race condition to see if the circuit will work properly. Note that the minimum logic delay is a single sum.

UNIVERSITI TENAGA NASIONAL. College of Information Technology

! Charge Leakage/Charge Sharing. " Domino Logic Design Considerations. ! Logic Comparisons. ! Memory. " Classification. " ROM Memories.

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

Lecture 9: Sequential Logic Circuits. Reading: CH 7

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

Integrated Circuits & Systems

Digital Integrated Circuits A Design Perspective

Lecture 13: Sequential Circuits, FSM

Synchronous Sequential Circuit

EET 310 Flip-Flops 11/17/2011 1

Basic RL and RC Circuits R-L TRANSIENTS: STORAGE CYCLE. Engineering Collage Electrical Engineering Dep. Dr. Ibrahim Aljubouri

EE115C Winter 2017 Digital Electronic Circuits. Lecture 19: Timing Analysis

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017

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

Lecture 22 Chapters 3 Logic Circuits Part 1

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

EE247 Lecture 16. Serial Charge Redistribution DAC

Physical Design of Digital Integrated Circuits (EN0291 S40) Sherief Reda Division of Engineering, Brown University Fall 2006

EECS 270 Midterm 2 Exam Answer Key Winter 2017

Transient response of RC and RL circuits ENGR 40M lecture notes July 26, 2017 Chuan-Zheng Lee, Stanford University

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

( ) ( ) = q o. T 12 = τ ln 2. RC Circuits. 1 e t τ. q t

ENGR-2300 Electronic Instrumentation Quiz 3 Fall 2013 Name Section. Question III (25 Points) Question IV (25 Points) Total (100 Points)

EECS 141: FALL 05 MIDTERM 1

Intro To Digital Logic

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

ENGR4300 Fall 2005 Test 3A. Name. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

Switched Capacitor Circuits II. Dr. Paul Hasler Georgia Institute of Technology

Exploring Autonomous Memory Circuit Operation

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each)

Arithme(c logic units and memory

Sequential Logic. Handouts: Lecture Slides Spring /27/01. L06 Sequential Logic 1

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

ECE 341. Lecture # 3

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Measurement and Instrumentation. Sampling, Digital Devices, and Data Acquisition

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

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

Transcription:

Today LECTURE 28 Analyzing digital computation at a very low level! The Latch Pipelined Datapath Control Signals Concept of State Time permitting, RC circuits (where we intentionally put in resistance and capacitance to serve a useful purpose!) Relay Analog Counter Improved Integrator THE LATCH 0 V When is low, the lefthand transistors conduct. V OUT_INT is charged to. V OUT_INT V OUT When is low, the righthand transistors are open. 0 V V OUT remains the same; there is no charging path.

THE LATCH 0 V When is high, the righthand transistors conduct. V OUT is charged to V OUT_INT. V OUT_INT V OUT When is high, the lefthand transistors are open. V OUT_INT remains the same; there is no charging path. 0 V LATCH OPERATION Data ( ) is written to the internal node when the clock is low. The output remains frozen. V OUT_INT V OUT The internal node remains frozen when the clock is high. The (inverted) internal node voltage is written to the output.

CONCEPT OF STATE A latch stores a 1 or 0. The stored value is known as the state. Next State Current State This is one of the basic elements needed to make a state machine (covered in EE 20 and CS 61C). LATCH AS GATEKEEPER A signal may have to go through a complex system of gates, with paths of different delays: possibility of false output! Latch can prevent changing output until max delay has passed. A Latch V OUT_INT V OUT B Combinatorial Logic Signal propagates all the way through Includes our logic gates: NAND, NOT, etc. Sequential Element Prevents changes in output until signaled

LATCH ENABLING PIPELINING Why use latches? They add delay! Why not just wait for whole computation to complete? Eventually the final output will be correct, right? Whole computation could take a long time A Computation # 1 Computation # 2 Computation # 3 F The insertion of latches allows pipelining. Parts of a long computation path can be used for the next computation before the first computation has finished. Increases computations per s! A(2τ) A(τ) A(0) = 0 Computation = 1 Computation = 0 Computation F # 1 # 2 # 3 CONTROL SIGNALS It would be pretty boring if a processor performed the same set of operations on each input. With a little extra combinatorial logic, we can choose what operations to perform: A B CTRL Addition F A B Subtraction When will this circuit add? When will it subtract?

MULTIPLEXER To choose between many operations, use a multiplexer instead of adding in lots of individual gates. A 0 A 1 A 2 A 3 Multiplexer (MUX) F C 1 C 0 Choose which input goes through by setting C 1 and C 0. Example: C 1 C 0 = 1 0 would let A 2 through. YOUR COMPUTER AT THE TRANSISTOR LEVEL Now we know how to represent and analyze logic states, computation, and control signals down to transistor level detail. This is the electronic basis of many other EE and CS courses. Designing processors and state machines, whether at the transistor-by-transistor level or at a much higher level, is explored in further EECS courses. What are some digital design issues that already appear to be important through our analysis?

RC ON PURPOSE RC analysis isn t just for computing gate delay. The integrator uses R and C to accomplish its task: C R + V 0 t 1 Vo (t) = VIN(T)dT + Vo (0) RC 0 THE RELAY a b Start with button fully up, capacitor fully charged. C R coil R S V S + - The instant the button is pressed down, capacitor still has voltage turns on coil magnet. Path from a to b stays connected until capacitor voltage decays enough to weaken magnet. Switch springs back up.

THE RELAY The relay holds the button down for a fixed amount of time. How long? Say R coil = 25 kω, R = 4 kω, V S = 10 V, C = 2 µf. Magnet will release when coil voltage drops to 5 V. The question: how long does it take fully charged capacitor (10 V) in parallel with coil to discharge to 5 V? Answer: ANALOG COUNTER Let s design a circuit that increases V out by 1 V every time a button is pressed. Storing voltage and adding to it over time -> integrator With the relay from the example, I can create a voltage pulse of duration 34.5 ms when a button is pressed. Each pulse can be fed to an integrator, to increment the output voltage by 1 V, by adding in the area under the pulse (scaled to make the increment 1 V). Say that the voltage input is 5 V. What is the area under each pulse? Answer:

ANALOG COUNTER -5 V Relay C R + V 0 The area under each pulse is 0.1725 V s. The scaling factor, 1/RC, should therefore be (0.1725 V s) -1 to make the V out increments equal to 1 V. INTEGRATOR RESET What if we want to restart the counting? What if we want to reset an integrator? What part of the integrator stores information, and how do we erase it? Answer: The capacitor discharge it! R reset Factors influencing choice of R reset : Discharge time Maximum current R + C V 0