









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Electrical Engineering 42/100 Department of Electrical Engineering and Computer Sciences Summer 2012 University of California, Berkeley Instructor: Tony Dear
Final Exam: Friday, August 10, 2012
Last Name: First Name:
Discussion (circle one): 9-11am (Jerry) 10-12pm (John) 12-2pm (William) 2-4pm (Dennis)
Notes and Instructions
I have read all of the above instructions and agree to comply with them. All of the work on this exam is my own, and I had no prior knowledge of the exam contents.
Signature:
The logic gates and CMOS circuit look like they’re about to commence battle. :P
Question Q. 1 Q. 2 Q. 3 Q. 4 Q. 5 Total
Score /15 /15 /30 /20 /20 /
This page intentionally left blank
5 u(t) A 3 Ω
vD (t) iD
(c) (3 points) Suppose the “capacitance” of the diode is CD = 1 μF (10−^6 F). What is the time constant τ associated with it?
(d) (6 points) Sketch the voltage vD (t) across the diode as a function of time. Label key values on the vD axis. Remember that a charging capacitor reaches about 63% of its final value after one time constant τ. Don’t forget to account for the diode’s breakdown region!
t
vD (t)
(^0) τ 2 τ 3 τ
William is having so much fun with diodes that he has constructed the following nightmare. Fortunately, you remember that you can always break the problem up into pieces that you can analyze separately.
vo(t)
v+(t) vL(t)
C RL
1 kΩ
1 kΩ
vin(t)
For this entire problem, we can make the following assumptions:
Finally, the input signal is vin(t) = 5 sin(t) V.
(a) (5 points) Sketch the voltage v+(t). Be sure to label peak values.
Jerry is trying to design an amplifier for the hundredth time. This time, he has turned to MOSFETs, specifically the common-source configuration. He has pulled up the following NMOS specs and designed the circuit as follows.
vin(t)
RD = 1 kΩ
vo(t)
Vto = 2 V
1 kΩ
(a) (10 points) Recall that the transconductance of the transistor is given by
gm = 2K(VGS − Vto) = 2
Given that Tony has demanded gm = 20 mS (0.02 S), find the necessary bias VG that should be applied at the gate to achieve this.
vin(t)
RD = 1 kΩ
vo(t)
Vto = 2 V
1 kΩ
(b) (12 points) Draw the equivalent small-signal model of the circuit and show that the gain is given by Av =
vo vin
−gmRD 1 + gmRS
Be sure to label all components and values.
Dennis has finally perfected the NYAN gate and is ready to add it to the current repertoire of logic gates. Its logic gate symbol is shown below:
Unlike most other logic gates, the NYAN gate takes in exactly three inputs. The truth table showing all its possible input/output combinations is as follows:
A B C N 0 0 0 1 0 0 1 0 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 0
(a) (2 points) Is the NYAN gate commutative? Briefly justify why or why not.
(b) (6 points) Write the SOP Boolean expression for the output N in terms of the inputs A, B, and C. Simplify it into a sum of two terms only.
(c) (8 points) Implement your simplified expression from above with a logic gate circuit. Clearly indicate the inputs A, B, and C, as well as the output N. For full credit, use no more than 4 logic gates.
(d) (4 points) Now help Dennis implement the NYAN gate using CMOS digital logic. He already has the pull-down network in; your job is to fill in the pull-up network above it. For full credit, use no more than 4 transistors (you may use inverted inputs).
Clk
Clk
Clk
(b) (4 points) The first feature we want to add is the ability to pause the timer. Suppose we add in a new input P ; when P = 1, the timer keeps its current state and ignores the clock (Q should not reset to 0). Then when P = 0, the timer continues as usual. Given the original two flip flops below, make all the necessary connections to implement this new feature, using logic gates if necessary.
Clk
Clk
Clk
(c) (4 points) Suppose the next feature we want to add is an LED (light-emitting diode) such that it lights up whenever our timer lands on the state Q = 01 2. The LED lights up when the signal line feeding into it is high (or 1). Make all the necessary connections to implement this new feature, using logic gates if necessary.
Clk
J
K
Q 1
Q 1
Clk
J
K
Q 0
Q 0
Clk
This page is not graded. If you finish early, feel free to use the space below to write, compose, rant, complain, draw, create, etc. We’ll find it encouraging when grading your finals deep into the night.
If you are thinking of friending us on Facebook, try to wait until after your grades are out. We’re still your instructors until then. :P
Pikachu has been joined by some fellow electric Pok´emon!