UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences Last modified on April 21, 2004 by Gang Zhou ([email protected]) Jan Rabaey Homework #9 EECS141 Due Thursday, May 6, 5pm @558 Cory Problem 1: Timing & Race Conditions The following circuit consists of a source portion, which adds the outputs of two registers R1 & R2 and a destination portion, which stores the sum in R3. The connections between the source and the destination are made by an automatic router, which creates wires with an average length of 1mm and containing an average of 10 contact holes in series. This leads to a resistance of about 200 Ω and capacitance of about 100 fF for each wire. A clock driver buffers the clock signal at the source and is routed by the same tool to the destination, where it connects to R3 and two other registers (R4 & R5) which happen to be close by. Each register presents a load of 300 fF to the clock driver. Assume the following timing values for the logic: tcarry = 250 ps, tsum = 300 ps (including the wire load), tsetup = 150 ps, thold = 100 ps, tclk-Q = 50 ps. a) Does this circuit have a race problem? What is the minimum clock period? b) What if you removed R4 and R5? Would there be a race problem? What would the new minimum clock period be? c) What if the driver were placed at the destination (with R3, R4 & R5)? Would there be a race problem? What would the new minimum clock period be?Problem 2: Schmitt Trigger Consider the circuit below. The inverter is ideal, with VM=VDD/2 and infinite slope. The transistors have |VT|=0.4V, kn=115 µA/V2 and kp=30 µA/V2. M1 has (W/L)1=1. Ignore all other parasitic effects in the transistors (velocity saturation, short channel length modulation). a) As VIN goes from 0 to VDD and back to 0 explain the sequence of events which makes this circuit operate as a Schmitt Trigger. b) Find the value of (W/L)2 such that when VIN increases from 0 to VDD the output will switch at VIN=1.5V. c) Find the value of (W/L)3 such that when VIN decreases from VDD to 0 the output will switch at VIN=1V. Problem 3: Oscillator An oscillator is shown in Figure below. Draw the signal waveforms for this circuit at nodes X, Y, Z, A, and B. Determine the oscillation frequency. Discuss the advantage of this circuit. You may assume that the delay of the inverters, the resistances of the MOS transistors, and all internal capacitors can be ignored. The inverter switch point is set at 1.65V. Assume that nodes Y and Z are initially at 0V and 3.3V, respectively.Problem 4: Timing Analysis Consider the following simple processor, consisting of a pipelined data path and a finite-state machine based controller. RF, PR, and IR denote edge-triggered flip-flops, while DP1, DP2, and FSM denote logic modules. Minimum and maximum delays of the modules are shown in the table next to the Figure. You may ignore the delay of the interconnect as well as the delays of the registers. The δ’s at the clock inputs of the registers denote the absolute skew between the clock source and the register. a) Write down the necessary constraints on the clock skews to avoid race conditions. b) Derive the constraints on the clock period in the presence of skew. c) Determine minimum possible clock period. d) Determine the values of the skews for which this minimum period is achieved. 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
View Full Document