COMP541 Transistors and all that… a brief overview

Slides:



Advertisements
Similar presentations
FPGA-Based System Design: Chapter 2 Copyright 2003 Prentice Hall PTR Gate Design n Static complementary logic gate structures. n Switch logic. n Other.
Advertisements

CSET 4650 Field Programmable Logic Devices
COMP541 Transistors and all that… a brief overview
VLSI Design Circuits & Layout
ECE C03 Lecture 41 Lecture 4 Combinational Logic Implementation Technologies Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.
EE 4271 VLSI Design, Fall 2011 CMOS Combinational Gate.
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 CS 140L Lecture 1 CK Cheng CSE Dept. UC San Diego Copyright © 2007 Elsevier.
1 CS 140L Lecture 1 CK Cheng CSE Dept. UC San Diego.
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
VLSI Design Circuits & Layout
Introduction to CMOS VLSI Design Circuits & Layout
CSET 4650 Field Programmable Logic Devices
MOS Transistors The gate material of Metal Oxide Semiconductor Field Effect Transistors was original made of metal hence the name. Present day devices’
Chapter 3 Digital Logic Structures. 3-2 Transistor: Building Block of Computers Microprocessors contain millions of transistors Intel Pentium 4 (2000):
Lecture 2 1 Computer Elements Transistors (computing) –How can they be connected to do something useful? –How do we evaluate how fast a logic block is?
Class 02 DICCD Transistors: Silicon Transistors are built out of silicon, a semiconductor Pure silicon is a poor conductor (no free charges) Doped.
Chapter 1 Combinational CMOS Logic Circuits Lecture # 4 Pass Transistors and Transmission Gates.
ECE2030 Introduction to Computer Engineering Lecture 4: CMOS Network Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Tech.
VLSI Design Lecture 5: Logic Gates Mohammad Arjomand CE Department Sharif Univ. of Tech. Adapted with modifications from Wayne Wolf’s lecture notes.
Computer Organization and Design Transistors and all that… a brief overview Montek Singh Oct 12, 2015 Lecture 9 1.
 Seattle Pacific University EE Logic System DesignNMOS-CMOS-1 Voltage-controlled Switches In order to build circuits that implement logic, we need.
CMOS Logic Gates. NMOS transistor acts as a switch 2 When gate voltage is 0 V No channel is formed current does not flow easily “open switch” When gate.
Introduction to CMOS Transistor and Transistor Fundamental
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 4: September 14, 2011 Gates from Transistors.
1 ECE2030 Introduction to Computer Engineering Lecture 4: CMOS Network Prof. Hsien-Hsin Sean Lee School of ECE Georgia Institute of Technology.
Computer Organization and Design Transistors & Logic - II Montek Singh Mon, Mar 14, 2011 Lecture 9.
Computer Organization and Design Transistors & Logic - I Montek Singh Wed, Oct 14, 2013 Lecture 9 1.
Computer Organization and Design Transistors & Logic - II Montek Singh Wed, Oct 17, 2012 Lecture 11.
Computer Organization and Design Transistors and all that… a brief overview Montek Singh Mar 21, 2016 Lecture 9 1.
Introduction to CMOS VLSI Design Lecture 0: Introduction.
Chapter 1 Digital Design and Computer Architecture: ARM® Edition
Lecture 10: Circuit Families
CHAPTER 4: MOS AND CMOS IC DESIGN
Instructor:Po-Yu Kuo 教師:郭柏佑
Day 3: September 10, 2012 Gates from Transistors
COMP541 Transistors and all that… a brief overview
IV UNIT : GATE LEVEL DESIGN
ECE2030 Introduction to Computer Engineering Lecture 4: CMOS Network
STICK Diagrams UNIT III : VLSI CIRCUIT DESIGN PROCESSES VLSI DESIGN
VLSI System Design Lecture: 1.3 COMS LOGICs
Instructor:Po-Yu Kuo 教師:郭柏佑
Chapter 1 Digital Design and Computer Architecture, 2nd Edition
Montek Singh Oct 25, 2017 Lecture 9
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
ENG2410 Digital Design “CMOS Technology”
Lecture 10: Circuit Families
COMBINATIONAL LOGIC.
332:479 Concepts in VLSI Design Lecture 24 Power Estimation
Design Technologies Custom Std Cell Performance Gate Array FPGA Cost.
Basic electrical properties
CMOS Combinational Gate
Design of Combinational Logic
Prof. Hsien-Hsin Sean Lee
CSET 4650 Field Programmable Logic Devices
Instructor:Po-Yu Kuo 教師:郭柏佑
CMOS Combinational Gate
COMBINATIONAL LOGIC DESIGN
Day 3: September 4, 2013 Gates from Transistors
EENG447 Digital IC Design Dr. Gürtaç Yemişcioğlu.
MOS Transistors CMOS Inverter and Logic Families
Lecture 7: Power.
CMOS Combinational Gate
Power and Heat Power Power dissipation in CMOS logic arises from the following sources: Dynamic power due to switching current from charging and discharging.
ECE 352 Digital System Fundamentals
Lecture 7: Power.
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
Lecture 1: Logic Gates & Analog Behavior of Digital Systems
Presentation transcript:

COMP541 Transistors and all that… a brief overview Montek Singh Sep 18, 2017

Transistors as switches At an abstract level, transistors are merely switches 3-ported voltage-controlled switch n-type: conduct when control input is 1 p-type: conduct when control input is 0

Silicon as a semiconductor Transistors are built from silicon Pure Si itself does not conduct well Impurities are added to make it conducting As provides free electrons  n-type B provides free “holes”  p-type Figure 1.26 Silicon lattice and dopant atoms

MOS Transistors MOS = Metal-oxide semiconductor 3 terminals gate: the voltage here controls whether current flows source and drain: are what the current flows between structurally, source and drain are the same Figure 1.29 nMOS and pMOS transistors

nMOS Transistors Gate = 0 Gate = 1 OFF = disconnect ON= connect no current flows between source & drain Gate = 1 ON= connect current can flow between source & drain positive gate voltage draws in electrons to form a channel Figure 1.30 nMOS transistor operation

nMOS and pMOS Transistors pMOS: Just the opposite Gate = 1  disconnect Gate = 0  connect Summary:

CMOS Topologies There is actually more to it than connect/disconnect nMOS: pass good 0’s, but bad 1’s so connect source to GND pMOS: pass good 1’s, but bad 0’s so connect source to VDD Typically use them in complementary fashion: nMOS network at bottom pulls output value down to 0 pMOS network at top pulls output value up to 1 only one of the two networks must conduct at a time! or output is undefined (or smoke may be produced!) if neither network conducts  output will be floating

CMOS Gate Recipe Use complementary networks of p- and n-transistors called CMOS (“complementary metal-oxide semiconductor”) at any time: either “pullup” active, or “pulldown” active never both! VDD Gnd Use p-type here pullup: make this connection when some combination of inputs is near 0 so that output = VDD pulldown: make this connection when some combination of inputs is near VDD so that output = 0 (Gnd) Use n-type here

CMOS Inverter Vout Vin Vout Vin Valid “1” Valid “0” Invalid A Y Only a narrow range of input voltages result in “invalid” output values. (This diagram is greatly exaggerated) Valid “1” Valid “0” Invalid Vin Vout “1” “0” Vin A Y inverter

CMOS Complements A A conducts when A is high conducts when A is low conducts when A is high and B is high: A.B A B conducts when A is low or B is low: A+B = A.B Series N connections: Parallel P connections: conducts when A is high or B is high: A+B A B conducts when A is low and B is low: A.B = A+B Parallel N connections: Series P connections:

Inverter A P1 N1 Y ON OFF 1

NAND A B P1 P2 N1 N2 Y ON OFF 1

3-Input NAND

NOR

3-input NOR

2-input AND Gate?

A More Complex CMOS Gate Design a single gate that computes Step 1. Determine pull-down network that sets output to ‘0’ (A OR B) AND C  Y=0 Step 2. Determine pull-up network by walking through pulldown hierarchy, and replacing n-transistors with p-transistors series composition with parallel composition parallel composition with series composition Step 3. Combine the pull-up and pull-down networks together C A B C A B C A B Y

A More Complex CMOS Gate Single gate that computes called “complex gate” because it is not one of the basic gates (NAND, NOR, NOT, etc.) this one is actually called OR-AND-INVERT (OAI) symbol: C A B Y

One More Exercise Lets construct a gate to compute: F = A+BC = NOT(OR(A,AND(B,C))) Step 1: Draw the pull-down network Step 2: The complementary pull-up network this one is called AND-OR-INVERT (AOI) Vdd A B C F A B C

One More Exercise Lets construct a gate to compute: 1 F = A+BC = NOT(OR(A,AND(B,C))) Step 1: Draw the pull-down network Step 2: The complementary pull-up network Step 3: Combine and Verify Vdd A B C F A A B C F 1 B C 1

Transmission Gates Transmission gate is a switch: Symbol: En A B En A nMOS pass 1’s poorly pMOS pass 0’s poorly Transmission gate is a better switch passes both 0 and 1 well When EN = 1, the switch is ON: A is connected to B When EN = 0, the switch is OFF: A is not connected to B Symbol: En A B En A B En

Transmission Gate En IMPORTANT: Transmission gates are not drivers A B will NOT remove input noise to produce clean(er) output simply connect A and B together current could even flow backward! use very carefully! immediately follow it up with a normal CMOS gate A B En

Logic using Transmission Gates Typically combine two (or more) transmission gates Together form an actual logic gate whose output is always driven 0 or 1 Exactly one transmission gate drives the output; all remaining transmission gates float their outputs Example: XOR when C = 0, TG0 conducts F = A when C = 1, TG1 conducts F = A’ therefore: F = A xor C TG0 TG1

Tristate buffer and tristate inverter When enabled: sends input to output When disabled: output is floating (‘Z’) Implementation: Tristate buffer using only a pass gate If on: output  input If off: output is floating Tristate inverter Top half and bottom half are not fully complementary Either both conduct: output  NOT(input) will act as a driver! Or both off: output is floating

Power and Energy Consumption

Power Consumption Power = Energy consumed per unit time Dynamic power consumption Static power consumption

Dynamic Power Consumption Energy consumed due to switching activity: All wires and transistor gates have capacitance Energy required to charge a capacitance, C, to VDD is CVDD2 Circuit running at frequency f: transistors switch (from 1 to 0 or vice versa) at that frequency Capacitor is charged f/2 times per second assume 50% chance switching from 0 to 1 additional energy drawn from battery  CVDD2 assume 50% chance switching from 1 to 0 no additional energy taken from battery  stored energy is discharged Pdynamic = ½CVDD2f C is the total capacitance of circuit (“capacitive load”) VDD is the supply voltage f is the switching frequency

Static Power Consumption Power consumed when no gates are switching Caused by the quiescent supply current, IDD (also called the leakage current) Pstatic or Pleakage = IDDVDD VDD is the supply voltage IDD is the leakage current

Power Consumption Example Estimate the power consumption of a wireless handheld computer VDD = 1.2 V C = 20 nF f = 1 GHz IDD = 20 mA P = ½CVDD2f + IDDVDD = ½(20 nF)(1.2 V)2(1 GHz) + (20 mA)(1.2 V) = 14.4 W + 24 mW = 14.424 W