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

Similar documents
EE115C Digital Electronic Circuits Homework #4

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

EECS 141: FALL 05 MIDTERM 1

The Linear-Feedback Shift Register

EE141Microelettronica. CMOS Logic

UNIVERSITY OF CALIFORNIA

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

Circuit A. Circuit B

EE115C Digital Electronic Circuits Homework #5

ECE 438: Digital Integrated Circuits Assignment #4 Solution The Inverter

Homework Assignment #3 EE 477 Spring 2017 Professor Parker , -.. = 1.8 -, 345 = 0 -

Digital Integrated Circuits A Design Perspective

EECS 151/251A Homework 5

Lecture 25. Dealing with Interconnect and Timing. Digital Integrated Circuits Interconnect

EECS 141: SPRING 09 MIDTERM 2

Homework Assignment #5 EE 477 Spring 2017 Professor Parker

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

COMP 103. Lecture 16. Dynamic Logic

EECS 141 F01 Lecture 17

Topic 4. The CMOS Inverter

Very Large Scale Integration (VLSI)

CMOS logic gates. João Canas Ferreira. March University of Porto Faculty of Engineering

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

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

Spiral 2 7. Capacitance, Delay and Sizing. Mark Redekopp

EE213, Spr 2017 HW#3 Due: May 17 th, in class. Figure 1

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

EEC 118 Lecture #6: CMOS Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

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

Lecture 9: Sequential Logic Circuits. Reading: CH 7

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

Digital Integrated Circuits. The Wire * Fuyuzhuo. *Thanks for Dr.Guoyong.SHI for his slides contributed for the talk. Digital IC.

Xarxes de distribució del senyal de. interferència electromagnètica, consum, soroll de conmutació.

Digital Integrated Circuits A Design Perspective

Jin-Fu Li Advanced Reliable Systems (ARES) Lab. Department of Electrical Engineering. Jungli, Taiwan

Lecture 9: Clocking, Clock Skew, Clock Jitter, Clock Distribution and some FM

Properties of CMOS Gates Snapshot

EEE2135 Digital Logic Design

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Last Lecture. Power Dissipation CMOS Scaling. EECS 141 S02 Lecture 8

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

Clock signal in digital circuit is responsible for synchronizing the transfer to the data between processing elements.

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

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

Midterm. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Lecture Outline. Pass Transistor Logic. Restore Output.

Announcements. EE141- Spring 2003 Lecture 8. Power Inverter Chain

Dynamic operation 20

! Crosstalk. ! Repeaters in Wiring. ! Transmission Lines. " Where transmission lines arise? " Lossless Transmission Line.

Lecture 7: Logic design. Combinational logic circuits

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

Problem Set 9 Solutions

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

Chapter 5 CMOS Logic Gate Design

Integrated Circuits & Systems

Clock Strategy. VLSI System Design NCKUEE-KJLEE

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

Where Does Power Go in CMOS?

MODULE 5 Chapter 7. Clocked Storage Elements

EEC 118 Lecture #16: Manufacturability. Rajeevan Amirtharajah University of California, Davis

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

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

Integrated Circuits & Systems

ECE 342 Solid State Devices & Circuits 4. CMOS

Lecture 23. Dealing with Interconnect. Impact of Interconnect Parasitics

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

EE115C Winter 2017 Digital Electronic Circuits. Lecture 6: Power Consumption

EE115C Digital Electronic Circuits Homework #6

ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2018

Power Dissipation. Where Does Power Go in CMOS?

ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2018

Lecture 8-1. Low Power Design

THE INVERTER. Inverter

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences

Lecture 4: DC & Transient Response

Implementation of Clock Network Based on Clock Mesh

Digital Integrated Circuits A Design Perspective

EEC 118 Lecture #5: CMOS Inverter AC Characteristics. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

Miscellaneous Lecture topics. Mary Jane Irwin [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.]

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Capacitance - 1. The parallel plate capacitor. Capacitance: is a measure of the charge stored on each plate for a given voltage such that Q=CV

Sequential Logic Design: Controllers

Digital Integrated Circuits A Design Perspective

EE141-Fall 2011 Digital Integrated Circuits

EEC 116 Lecture #5: CMOS Logic. Rajeevan Amirtharajah Bevan Baas University of California, Davis Jeff Parkhurst Intel Corporation

Digital Integrated Circuits A Design Perspective

EECS 427 Lecture 11: Power and Energy Reading: EECS 427 F09 Lecture Reminders

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

COMBINATIONAL LOGIC. Combinational Logic

Chapter 5. The Inverter. V1. April 10, 03 V1.1 April 25, 03 V2.1 Nov Inverter

Issues on Timing and Clocking

Digital Integrated Circuits A Design Perspective

Hold Time Illustrations

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

UNISONIC TECHNOLOGIES CO., LTD L16B45 Preliminary CMOS IC

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

Digital Integrated Circuits A Design Perspective

Topics to be Covered. capacitance inductance transmission lines

Transcription:

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences Last modified on May 1, 2003 by Dejan Markovic (dejan@eecs.berkeley.edu) Prof. Jan Rabaey EECS 141 Spring 2003 Homework 10 Solutions Problem 1. Timing and Race Conditions a) First, we need to find the skew between the source register clock (φ ) and the destination register s clock (φ ). We can do this with a π2 model of the wire and the Elmore delay model. 150 Ω φ 200 Ω φ 600 ff 50 ff 50 ff 900 ff t φ = 0.69 (150) (650 f) = 67 ps t φ = 0.69 [ (150)(650 f) + (150+200)(950) ] = 297 ps δ = t φ - t φ = 230 ps (eq. 9.1) Next, we check the race condition to see if the circuit will work properly. Note that the minimum logic delay is a single sum. δ t r,min + t i + t l,min (eq. 9.2) t hold + δ t clk-q + t sum (modified to include hold time and to use the given quantities) 100 + 230 300 + 50 330 350 TRUE (barely)... Thus, this circuit has no race problem Lastly, we find the minimum clock period. Note that the maximum logic delay is a single sum plus the delay of the carry chain. T t r,max + t i + t l,max - δ (eq. 9.3) T t clk-q + 31 t carry + t sum - δ + t setup T 50 + (31)(250) + 300 230 + 150 T 8.02 ns (modified to include setup time and to use the given quantities) 1

b) Identical to part a), except the capacitance at φ is much less. 150 Ω φ 200 Ω φ 650 ff 350 ff t φ = 0.69 (150) (650 f) = 67 ps t φ = 0.69 [ (150)(650 f) + (150+200)(350) ] = 152 ps δ = t φ - t φ = 85 ps t hold + δ t clk-q + t sum 100 + 85 300 + 50 185 350 TRUE... Thus, no race problem Note, however, that this circuit has a much better margin of error than the one from part (a). T t clk-q + 31 t carry + t sum - δ + t setup T 50 + (31)(250) + 300 85 + 150 T 8.17 ns Note that the minimum cycle time is longer with the smaller skew. c) Identical to (a), except that the clock in driven in the other direction. φ 200 Ω φ 150 Ω 650 ff 950 ff t φ = 0.69 (150) (950 f) = 98 ps t φ = 0.69 [ (150)(950 f) + (150+200)(650) ] = 255 ps δ = t φ - t φ = -157 ps t hold + δ t clk-q + t sum 100-157 300 + 50-57 350 TRUE... Thus, no race problem Note that this circuit has the best margin of error over all three cases. 2

T t clk-q + 31 t carry + t sum - δ + t setup T 50 + (31)(250) + 300 + 157 + 150 T 8.41 ns Note that the minimum cycle time is the longest over all three cases. 3

Problem 3. Monostable Multivibrator Consider the monostable multivibrator circuit drawn below. Calculate the output pulse width. V t (dep) = -0.5V, V t = 0.4 V, K = 100µA/V 2, γ = 0 Assume Vin has been 0 for sometime and then suddenly switches to 2.4V. How wide is the pulse at the output (i.e. how long is V out high)? Assume that the output switches when the voltage on the gate input to the driver crosses 1.2 V. Initially the output is low, so the driver is on. Then when V in goes high, the driver turns of. Assume that the driver turns on again when its gate input voltage reaches 1.2V. When V in has been 0 for sometime, the 1nF capacitor is fully discharged. M4, M5, and M6 will always be on. When V in V dd, M1 turns on. Node X is driven towards GND. Due to large capacitance, node Y is pulled towards GND. This turns off M3. V out is pulled to V dd. M2 turns on. Node X is pulled even lower. M5 will charge up node Y. Time taken to charge node Y to V dd /2: I = C dv/dt I = I dsat (M5) = 0.5*k *2/16 * (0.8) 2 = 4A t = CV dd /2/I = 0.3ns As node Y crosses Vdd/2, M3 turns on, pulls Vout towards GND. M2 turns off, Voltage at X will jump slightly upwards. 1nF capacitance causes Node Y to jump slightly up. M3 strengthens it s pull of Vout to GND. M4 M5 M6 X Y M1 M2 M3 4

Problem 4. Timing Analysis a) Write down the necessary constraints on the clock skews to avoid race conditions. Let s try to build a table. This is not absolutely necessary, but may help identify critical sections: Source Destination Min Time Max Time Skew Constraints 1 RF PR 3 10 δ 2 δ 1 δ 2 δ 1 < 3 2 PR RF 2 8 - (δ 2 δ 1 ) δ 2 δ 1 > 2 3 PR IR 2 8 δ 3 δ 2 δ 3 δ 2 < 2 4 IR PR 4 15 -( δ 3 δ 2 ) δ 3 δ 2 > 4 5 IR RF 3 13 -( δ 3 δ 1 ) δ 3 δ 1 > 3 6 IR IR 3 13 0 2 < δ 2 δ 1 < 3 4 < δ 3 δ 2 < 2 δ 3 δ 1 > 3 b) Derive the constraints on the clock period in the presence of skew. Source Destination Min Time Max Time Skew Constraints 1 RF PR 3 10 δ 2 δ 1 Τ > 10 ( δ 2 δ 1 ) 2 PR RF 2 8 - (δ 2 δ 1 ) Τ > 8 + δ 2 δ 1 3 PR IR 2 8 δ 3 δ 2 Τ > 8 ( δ 3 δ 2 ) 4 IR PR 4 15 -( δ 3 δ 2 ) Τ > 15 + δ 3 δ 2 5 IR RF 3 13 -( δ 3 δ 1 ) Τ> 13 + δ 2 δ 1 6 IR IR 3 13 0 T > 13 c) Determine minimum possible clock period. Answer: 13 d) Determine the values of the skews for which this minimum period is achieved. δ 2 δ 1 = 0 δ 3 δ 2 = 2 If you had assumed δ 3 > δ 2 > δ 1 then u will want δ 3 δ 2 = 0; Τ>15 5

e) Propose a revised architecture that would reduce the clock period (changing circuit style is not an option). Explain your design, and discuss the disadvantages of your approach. RF DP1 DP2 E2 PR δ 1 δ 2 E1 FSM δ 3 IR Observe that whatever the skew, the critical path will always be for the signal to propagate from IR to either itself (13 ns), PR (15ns), or RF(13ns). By inserting an additional register E1 at the output of the FSM, we introduce a deeper pipeline and moved the critical path to DP1 (10ns). However, E1 is going to introduce delays and we should be careful how the FSM output is matched with the RF output. The easiest way is to note that the 2 feedback paths from DP2 output arrive at the inputs of DP1 at the same cycle: DP2 -> RF -> DP1 DP2 -> IR -> FSM -> DP1 In order to maintain the above order, E2 has to be added: DP2 -> RF -> E2 -> DP1 DP2 -> IR -> FSM -> E1 -> DP1 6