Professional Documents
Culture Documents
Lecture15 07 29 2010
Lecture15 07 29 2010
Lecture 15
Josh Hug
7/30/2010
+
-
(Drain) C (Source)
+ –
-------------
+
-
(Drain) C (Source)
+ –
-------------
+
-
(Drain) C (Source)
+ –
+
- ------
C (Gate)
(Drain) (Source)
+ –
A C
B
EE40 Summer 2010 Hug 14
MOSFET modeling
• MOSFET models vary greatly in
complexity
• For example, an “ON” MOSFET has some
effective resistance (not an ideal switch)
• We will progressively refine our model of
the MOSFET
– Will add capacitance later today
– If we have time in the next 2 weeks, we will
also talk about using MOSFETs as analog
amplifiers which will necessitate an even better
model
EE40 Summer 2010 Hug 15
SR Model of the MOSFET
Q2
EE40 Summer 2010 Hug 17
NAND with the SR Model
Q3
EE40 Summer 2010 Hug 18
NAND with the SR Model
Q4
EE40 Summer 2010 Hug 19
Another SR Model Example
Q5
EE40 Summer 2010 Hug 20
Another SR Model Example
Q6
EE40 Summer 2010 Hug 21
The power of digital circuits
• At each stage,
circuit restores the
signal
• Can think of each
MOSFET as
diverting the 5V or
0V power supply 0.48V 5V 0.45V
into the next gate
• Tolerant to noise
and manufacturing
error
EE40 Summer 2010 Hug 22
The power of digital circuits
• How much noise
could we tolerate
on the input of the
2nd gate?
• On the input of
the 3rd gate? 0.48V 5V 0.45V
G1 G2
A OUT
Q7
EE40 Summer 2010 Hug 25
Power Example
• In general, power
consumption will
depend on which
inputs are high and
which are low
• “Worst case
analysis” is when we
pick the set of inputs
which consumes the
most power
Red:
Inverter
Output
EE40 Summer 2010 Simulation by Wade Barnes Hug 28
The SRC Model
Q8
EE40 Summer 2010 Hug 33
Analysis of SRC Model
Q9
EE40 Summer 2010 Hug 34
Analysis of SRC Model
Q10
EE40 Summer 2010 Hug 35
Timing Analysis of the SRC model
Q11
EE40 Summer 2010 Hug 36
Timing Analysis of the SRC model
Which implements:
G1 OUT
A
Giving delay of LEFT gate!
EE40 Summer 2010 Hug 45
Using Propagation Delays
01 10 01
A G1 OUT
A G1 OUT
A G1 OUT
5V
S
A
G D
OUT
RL
Q13
EE40 Summer 2010 Hug 58
Analysis of PMOS Logic
• We could go through and repeat
everything we did for NMOS, but it would
be almost exactly the same thing
• Instead, we’re now going to use NMOS
and PMOS in a clever way