Docsity

EECS 141: Spring 2023 Midterm 2 - Logic Design and Sequential Circuits, Exams of Electrical Circuit Analysis

Partial preview of the text

Download EECS 141: Spring 2023 Midterm 2 - Logic Design and Sequential Circuits and more Exams Electrical Circuit Analysis in PDF only on Docsity!

EECS 141: SPRING 02 – MIDTERM 2

University of California College of Engineering Department of Electrical Engineering and Computer Science Jan M. Rabaey TuTh 2:00-3:30 pm Andrei Vladimirescu ee141@bwrc

PROBLEM 1: Logic Design For the gate shown below assume that

  • each NMOS drain or source contributes 1 fF from the node it is connected to ground;
  • each PMOS drain or source contributes 3fF from the node it is connected to ground;
  • the ON resistance of the NMOS equals that of the PMOS and is 10k a) Attach the capacitance at each node in the diagram (rejoice: this is a freebie). b) Find the Ellmore delay when the inputs abcd are initially 1010 and then a switches 1->0. Make sure to draw the equivalent circuit diagram you are using. Hint: “if an intermediate capacitance is already precharged to the correct value, assume that this capacitor contributes nothing to the Ellmore delay, and can hence be ignored in the model.”

PROBLEM 2: Sequential Circuits Consider the logic circuit given below. The FF used is positive-edge triggered. The timing parameters for logic gates and flip-flops are shown below. Setup time for FF = 0.15 ns Hold time for FF = 0.55 ns The logic in block A and block B can each be sized up by a factor. You may assume that both the min and max delays decrease linearly with increasing size. For example, if logic B were increased by a factor of 2, the minimum delay would be 0.175 ns and the maximum delay would be 0.3 ns. a) Assuming that logic block B is kept at minimum size, how large would block A have to be for the sequential circuit to work correctly if the block were to run at 800 MHz?

b) We would like to keep this circuit as small as possible. Hence, we decided to keep block A at 2 times minimum size. Determine the fastest possible clock speed we can run this circuit at, if we are free to size block B. Explain your answer.

b) Figure 4 shows a more detailed schematic of block L2 of the logic module of Figure 3. We are given that CL = 160 fF and C 3 = 20 fF. Also, due to the high temperature of the chip, it turns out that there is a net leakage current of 5μA flowing into node “out2” when it is low. Input B switches soon after the evaluation begins. Determine the maximum length of the evaluation period so that proper operation of this block and the following block (L3) is ensured ( assume the worst-case conditions).