EE40 Lecture 15 Josh Hug 7/30/2010.

Slides:



Advertisements
Similar presentations
CMOS Logic Circuits.
Advertisements

From analog to digital circuits A phenomenological overview Bogdan Roman.
1 EE40 Summer 2010 Hug EE40 Lecture 10 Josh Hug 7/17/2010.
Lecture #26 Gate delays, MOS logic
Week 7a, Slide 1EECS42, Spring 2005Prof. White Week 7a Announcements You should now purchase the reader EECS 42: Introduction to Electronics for Computer.
1 EE40 Summer 2010 Hug EE40 Lecture 16 Josh Hug 8/02\/2010.
11/5/2004EE 42 fall 2004 lecture 281 Lecture #28 PMOS LAST TIME: NMOS Electrical Model – NMOS physical structure: W and L and d ox, TODAY: PMOS –Physical.
1 EE40 Summer 2010 Hug EE40 Lecture 14 Josh Hug 7/26/2010.
EE40 Lecture 5 Josh Hug 6/30/2010.
Lecture 7: Power.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
Power, Energy and Delay Static CMOS is an attractive design style because of its good noise margins, ideal voltage transfer characteristics, full logic.
Chapter 07 Electronic Analysis of CMOS Logic Gates
October 2004Computer Hardware Lecture 5 Slide1 / 29 Lecture 5 Physical Realisation of Logic Gates.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 2: August 29, 2014 Transistor Introduction.
Solid-State Devices & Circuits
EE141 © Digital Integrated Circuits 2nd Combinational Circuits 1 A few notes for your design  Finger and multiplier in schematic design  Parametric analysis.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
Damu, 2008EGE535 Fall 08, Lecture 51 EGE535 Low Power VLSI Design Lecture #5 & 6 CMOS Inverter.
Enhancement Presentation Carlos Abellan Barcelona September, 9th 2009.
Power Distribution Copyright F. Canavero, R. Fantino Licensed to HDT - High Design Technology.
Logic Families There are several different families of logic gates. Each family has its capabilities and limitations, its advantages and disadvantages.
Logic Families.
COMP541 Transistors and all that… a brief overview
Electronics The seventeenth and eighteenth Lectures
Smruti R. Sarangi IIT Delhi
Digital Circuits ECGR2181 Chapter 3 Notes Data A-data B-data A B here
Sequential Logic An Overview
Electronics The eighteenth and nineteenth Lectures
Day 3: September 10, 2012 Gates from Transistors
Digital Integrated Circuits A Design Perspective
INDUSTRIAL ELECTRONICS/ELECTRICITY
THE CMOS INVERTER.
Different Types of Transistors and Their Functions
Lecture 05: Static Behaviour of CMOS Inverter
COMP541 Transistors and all that… a brief overview
Static and Transient Analysis of Gates
IV UNIT : GATE LEVEL DESIGN
Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved.
VLSI Testing Lecture 5: Logic Simulation
EI205 Lecture 15 Dianguang Ma Fall 2008.
Field effect Transistors: Operation, Circuit, Models, and Applications
SEQUENTIAL LOGIC -II.
Lecture 4 EGRE 254 1/26/09.
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
ENG2410 Digital Design “CMOS Technology”
Intro to Engineering Electronics
Digital Computer Electronics TTL
Digital Circuits ECGR2181 Chapter 3 Notes Data A-data B-data A B here
Lecture 10: Circuit Families
Week 9a OUTLINE MOSFET ID vs. VGS characteristic
332:479 Concepts in VLSI Design Lecture 24 Power Estimation
OUTLINE » Fan-out » Propagation delay » CMOS power consumption
Intro to Engineering Electronics
MOSFET POWERPOINT PRESENTATION BY:- POONAM SHARMA LECTURER ELECTRICAL
Day 27: November 6, 2013 Dynamic Logic
Prof. Hsien-Hsin Sean Lee
Chapter 7 Complementary MOS (CMOS) Logic Design
Day 25: November 7, 2011 Registers
Day 21: October 29, 2010 Registers Dynamic Logic
Week 9a OUTLINE MOSFET ID vs. VGS characteristic
Day 2: September 10, 2010 Transistor Introduction
Day 3: September 4, 2013 Gates from Transistors
Combinational Circuit Design
Lecture 7: Power.
Lecture 7: Power.
Electricity and Circuits
Lecture 10: Circuit Families
Reading: Hambley Ch. 7; Rabaey et al. Secs. 5.2, 5.5, 6.2.1
COMP541 Transistors and all that… a brief overview
Presentation transcript:

EE40 Lecture 15 Josh Hug 7/30/2010

Logistics HW7 due Tuesday HW8 will be due next Friday Homeworks will be less mathematically intense starting with the second half of HW7 Details on Project 2 demo and Mini-Midterm 3 details on Monday

Midterm 2 I can show you your midterm 2 grade, but problem 5 needs regrading [most people will get 3 to 6 more points] At the moment, mean is 102 and standard deviation is 24 First midterm was mean 103, standard deviation 20 Some oochness will happen here

Logic Gates and Static Discipline (On the board before we started)

We’re going to have a ton of iClicker questions today iClicker Warmup We’re going to have a ton of iClicker questions today A quick warmup. Have you played Starcraft 2? Yes No Starwhat?

Field Effect Transistor (Gate) - + C (Source) (Drain) + – - - - - - - - - - - - - -  

Field Effect Transistor (Gate) - + C (Source) (Drain) + – - - - - - - - - - - - - - When the channel is present, then effective resistance of P region dramatically decreases Thus: When C is “off”, switch is open When C is “on”, switch is closed

Field Effect Transistor (Gate) - + C (Source) (Drain) + – + - - - - - - - If we apply a positive voltage to the plus side Current begins to flow from + to – Channel on the + side is weakened If we applied a different positive voltage to both sides?

Field Effect Transistor Summary “Switchiness” is due to a controlling voltage which induces a channel of free electrons Extremely easy to make in unbelievable numbers Ubiquitous in all computational technology everywhere

Discussion Today In discussion today, we’ll go over the physics of MOSFETs for those of you who are curious Time permitting, we’ll discuss at a future date in class as well (so yeah, it will be slightly redundant)

MOSFET Model Schematically, we represent the MOSFET as a three terminal device Can represent all the voltages and currents between terminals as shown to the right

MOSFET Model   (Gate) C (Source) (Drain) + –

S Model of the MOSFET  

Building a NAND gate using MOSFETs   A C B

MOSFET models vary greatly in complexity 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

SR Model of the MOSFET       [Has nothing to do with SR flip-flop]

NAND with the SR Model   Q2

NAND with the SR Model     Q3

NAND with the SR Model       Q4

Another SR Model Example             Q5

Another SR Model Example             Q6

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 into the next gate Tolerant to noise and manufacturing error             0.48V 5V 0.45V

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

The power of digital circuits (literally) Like all circuits, digital circuits consume power Amount of power will be dependent on state of our MOSFET switches

Power Example             Q7

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          

But first, let’s discuss delay Static Power Using only NMOS to implement our gates will result in a gate which constantly eats up power If you wire such a gate up on a breadboard, it will hum along using power all day Later today, we will see a technique called CMOS to avoid this static power dissipation But first, let’s discuss delay

The SRC Model of an NMOS Transistor So far, our NMOS implementation of logic gates allow for instantaneous switching In real life, of course, an NMOS implementation will take some non-zero time to switch Green: Inverter Input Red: Inverter Output Simulation by Wade Barnes

The SRC Model  

The SRC Model  

SRC Model           EE40, Fall 2004 Prof. White

SRC Model of our 2 Inverters                 We decide to ignore the function of the gate on the right, keeping it in mind only because we know we’ll have to charge it EE40, Fall 2004 Prof. White

Analysis of SRC Model             Q8 EE40, Fall 2004 Prof. White

Analysis of SRC Model             Q9 EE40, Fall 2004 Prof. White

Analysis of SRC Model                 Q10 EE40, Fall 2004 Prof. White

Timing Analysis of the SRC model                 Q11 EE40, Fall 2004 Prof. White

Timing Analysis of the SRC model                   EE40, Fall 2004 Prof. White

Timing Analysis of the SRC model                 EE40, Fall 2004 Prof. White

Fall Time                 EE40, Fall 2004 Prof. White

Timing Analysis of the SRC model How do we find the Rise Time? Have to replace by new equivalent circuit where: Capacitor is initially discharged (0.476 V) Switch is open               EE40, Fall 2004 Prof. White

Timing Analysis of the SRC model               EE40, Fall 2004 Prof. White

Timing Analysis of the SRC model               EE40, Fall 2004 Prof. White

Timing Analysis of the SRC model               EE40, Fall 2004 Prof. White

Propagation Delay  

Reminder of Where We Started So used SRC model: Wanted to study gate delay of:                 Which implements: OUT G1 A Giving delay of LEFT gate!

Using Propagation Delays   1 1 1 A G1 OUT

Propagation Delays   A G1 OUT

Bonus Question for CS61C Veterans   A G1 OUT

This is where we stopped

Power in the SRC Model Static power in the SRC Model is exactly as SR Model, compare: We’re also interested in the dynamic power while capacitance is charging Algebra is a bit involved. We’ll outline the concept. Book has a very thorough treatment in sections 11.1 through 11.3

Dynamic Power in NMOS Circuits When our inverter is going from low to high, we have the circuit on the left: In general, looks like circuit on the right:          

Dynamic Power in NMOS Circuits When our inverter is going from high to low, we have the circuit on the left: In general, looks like circuit on the right:            

Worst case is that inverter is driven by a sequence of 1s and 0s Dynamic Power Worst case is that inverter is driven by a sequence of 1s and 0s Circuit constantly switching behavior Gate capacitor constantly charging and discharging        

Problem Setup          

Solution

Avoiding Static Power Loss  

PMOS Transistor   EE40, Fall 2004 Prof. White

Anything logical we can do with NMOS…   5V S A G D OUT   RL Q13

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

CMOS Inverter  

CMOS Inverter  

CMOS Inverter  

What is the static power consumed by this CMOS inverter when IN=0? Static Power in CMOS What is the static power consumed by this CMOS inverter when IN=0? When IN=1? In reality, as gate insulator gets thinner, there is a significant leakage component IN=0 IN=1

Dynamic Power in CMOS Load power: Since our CMOS gates will be driving capacitive loads, they will still draw power when switching (since power is provided to the load)

Dynamic Power in CMOS   Even if timing is perfect, both transistors will at some point be “weakly on” – subthreshold leakage

These days, subthreshold leakage is a big issue Dynamic Power These days, subthreshold leakage is a big issue Thresholds have been reduced to decrease switching times Reduced thresholds mean leakier MOSFETs In this class, we won’t analyze this case, but be aware that in the world of digital integrated circuits, it plays a big role

CMOS  

Implementation of Complex Gates Using NMOS and CMOS In class today, we’ve discussed analysis of NMOS and CMOS circuits Haven’t discussed how to design them Luckily, it is easy

That’s it for today

Extra Slides

SR Model of the PMOS MOSFET       No, has nothing to do with SR flip-flop