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?

Slides:



Advertisements
Similar presentations
Digital Integrated Circuits© Prentice Hall 1995 Combinational Logic COMBINATIONAL LOGIC.
Advertisements

Transmission Gate Based Circuits
CSET 4650 Field Programmable Logic Devices
COMP541 Transistors and all that… a brief overview
Budapest University of Technology and Economics Department of Electron Devices Microelectronics, BSc course MOS circuits: basic construction.
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
EE42/100, Spring 2006Week 14a, Prof. White1 Week 14a Propagation delay of logic gates CMOS (complementary MOS) logic gates Pull-down and pull-up The basic.
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 14: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
Lecture #26 Gate delays, MOS logic
Introduction to CMOS VLSI Design SRAM/DRAM
Copyright 2001, Regents of University of California Lecture 18: 04/0703 A.R. Neureuther Version Date 04/03/03 EECS 42 Intro. electronics for CS Spring.
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.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #4
Computer Engineering 222. VLSI Digital System Design Introduction.
Lecture #24 Gates to circuits
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Memory elements. n Basics of sequential machines.
Lecture #25 Timing issues
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 13: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
Lecture 5 – Power Prof. Luke Theogarajan
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
Lecture 7: Power.
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 8 - Comb. Logic.
S. RossEECS 40 Spring 2003 Lecture 24 Today we will Review charging of output capacitance (origin of gate delay) Calculate output capacitance Discuss fan-out.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
9/20/2004EE 42 fall 2004 lecture 91 Lecture #9 Example problems with capacitors Next we will start exploring semiconductor materials (chapter 2). Reading:
Digital Integrated Circuits for Communication
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 10.1 EE4800 CMOS Digital IC Design & Analysis Lecture 10 Combinational Circuit Design Zhuo Feng.
CSET 4650 Field Programmable Logic Devices
1 Delay Estimation Most digital designs have multiple data paths some of which are not critical. The critical path is defined as the path the offers the.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
ENGSCI 232 Computer Systems Lecture 5: Synchronous Circuits.
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):
1 CHAPTER 4: PART I ARITHMETIC FOR COMPUTERS. 2 The MIPS ALU We’ll be working with the MIPS instruction set architecture –similar to other architectures.
EE415 VLSI Design DYNAMIC LOGIC [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
Review: Basic Building Blocks  Datapath l Execution units -Adder, multiplier, divider, shifter, etc. l Register file and pipeline registers l Multiplexers,
Lecture 2. Logic Gates Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System Education & Research.
Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Roadmap Problems Algorithms.
Basics of Energy & Power Dissipation Lecture notes S. Yalamanchili, S. Mukhopadhyay. A. Chowdhary.
EE4800 CMOS Digital IC Design & Analysis
CS 152 L04 Logic (1)Patterson Fall 2003 © UCB Dave Patterson ( www-inst.eecs.berkeley.edu/~cs152/ CS152 – Computer.
Lecture 10: Circuit Families. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 10: Circuit Families2 Outline  Pseudo-nMOS Logic  Dynamic Logic  Pass Transistor.
Advanced VLSI Design Unit 04: Combinational and Sequential Circuits.
 Seattle Pacific University EE Logic System DesignNMOS-CMOS-1 Voltage-controlled Switches In order to build circuits that implement logic, we need.
Basics of Energy & Power Dissipation
Bi-CMOS Prakash B.
Dynamic Logic Dynamic Circuits will be introduced and their performance in terms of power, area, delay, energy and AT2 will be reviewed. We will review.
Budapest University of Technology and Economics Department of Electron Devices Microelectronics, BSc course MOS circuits: basic construction.
11-1 Integrated Microsystems Lab. EE372 VLSI SYSTEM DESIGNE. Yoon Latch-up & Power Consumption Latch-up Problem Latch-up condition  1   2 >1 GND Vdd.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Introduction to Computing Systems and Programming Digital Logic Structures.
EE Electronics Circuit Design Digital Logic Gates 14.2nMOS Logic Families 14.3Dynamic MOS Logic Families 14.4CMOS Logic Families 14.5TTL Logic.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
Introduction to CMOS Transistor and Transistor Fundamental
Dynamic Logic.
EE141 Combinational Circuits 1 Chapter 6 (I) Designing Combinational Logic Circuits Dynamic CMOS LogicDynamic CMOS Logic V1.0 5/4/2003.
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
CS152 / Kubiatowicz Lec4.1 2/5/03©UCB Spring 2003 February 5, 2003 John Kubiatowicz ( lecture slides:
Introduction to VLSI Design© Steven P. Levitan 1998 Introduction Design Technologies.
COMP541 Transistors and all that… a brief overview
Instructor:Po-Yu Kuo 教師:郭柏佑
COMP541 Transistors and all that… a brief overview
Instructor:Po-Yu Kuo 教師:郭柏佑
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
Fundamentals of Computer Science Part i2
Instructor:Po-Yu Kuo 教師:郭柏佑
Day 2: September 10, 2010 Transistor Introduction
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:

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? Wires (transporting) –What and where are they? –How can they be modeled? Memories (storing) –SRAM vs. DRAM

Lecture 2 2 What Comes out of the Fab?

Lecture 2 3 The Mighty Transistor!

Lecture 2 4 Transistor As a Switch Ideal Voltage Controlled Switch Three terminals –Gate –Drain –Source G D S G S D V G = 0 V G = V dd

Lecture 2 5 Abstractions in Logic Design In physical world –Voltages, Currents –Electron flow In logical world - abstraction –V < V lo  “0” = FALSE –V > V hi  “1” = TRUE –In between - forbidden Simplify design problem voltage “0” “1” “?” V lo V hi V dd 0v

Lecture 2 6 CMOS: Complementary Metal Oxide Semiconductor –NMOS (N-Type Metal Oxide Semiconductor) transistors –PMOS (P-Type Metal Oxide Semiconductor) transistors NMOS Transistor –Apply a HIGH (Vdd) to its gate turns the transistor into a “conductor” –Apply a LOW (GND) to its gate shuts off the conduction path PMOS Transistor –Apply a HIGH (Vdd) to its gate shuts off the conduction path –Apply a LOW (GND) to its gate turns the transistor into a “conductor” Basic Technology: CMOS Vdd = (2.5V) GND = 0v Vdd = (2.5V) Slide courtesy of D. Patterson

Lecture 2 7 Inverter Operation Vdd OutIn Symbol Circuit Basic Components: CMOS Inverter OutIn Vdd Out Open Discharge Open Charge Vin Vout Vdd PMOS NMOS Slide courtesy of D. Patterson

Lecture 2 8 Composition of Transistors Logic Gates –Inverters, And, Or, arbitrary Buffers (drive large capacitances, long wires, etc.) Memory elements –Latches, registers, SRAM, DRAM inverter NAND NOR

Lecture 2 9 Basic Components: CMOS Logic Gates NAND Gate NOR Gate Vdd A B Out Vdd A B Out A B A B AB AB Slide courtesy of D. Patterson

Lecture 2 10 Gate Comparison If PMOS transistors is faster: –It is OK to have PMOS transistors in series –NOR gate is preferred –NOR gate is preferred also if H -> L is more critical than L -> H If NMOS transistors is faster: –It is OK to have NMOS transistors in series –NAND gate is preferred –NAND gate is preferred also if L -> H is more critical than H -> L Vdd A B Out Vdd A B Out NAND Gate NOR Gate Slide courtesy of D. Patterson

Lecture 2 11 The Ugly Truth Transistors are not ideal switches! –Gate Capacitance (C g ) –S-D resistance (R) - also R p  2*R n –Drain capacitance Issues –Delay - actually takes real time to turn transistors on and off –Power/Energy (static versus dynamic power) –Noise (from transistors, power rails) But - we can change transistor size –Increase C g, but decrease R

Lecture 2 12 Ideal (CS) versus Reality (EE) When input 0 -> 1, output 1 -> 0 but NOT instantly –Output goes 1 -> 0: output voltage goes from Vdd (5v) to 0v When input 1 -> 0, output 0 -> 1 but NOT instantly –Output goes 0 -> 1: output voltage goes from 0v to Vdd (5v) Voltage does not change instantaneously OutIn Time Voltage 1 => Vdd Vin Vout 0 => GND Slide courtesy of D. Patterson

Lecture 2 13 Fluid Timing Model Water Electrical Charge Tank Capacity Capacitance (C) Water Level Voltage Water Flow Charge Flowing (Current) Size of Pipes Strength of Transistors (G) Time to fill up the tank ~ C / G Reservoir Level (V) = Vdd Tank (Cout) Bottomless Sea Sea Level (GND) SW2SW1 Vdd SW1 SW2 Cout Tank Level (Vout) Vout Slide courtesy of D. Patterson Resistance R = 1/G

Lecture 2 14 Series Connection Total Propagation Delay = Sum of individual delays = d1 + d2 Capacitance C1 has two components: –Capacitance of the wire connecting the two gates –Input capacitance of the second inverter Vdd Cout Vout Vdd C1 V1Vin V1VinVout Time G1G2 G1G2 Voltage Vdd Vin GND V1 Vout Vdd/2 d1d2 Slide courtesy of D. Patterson

Lecture 2 15 Review: Calculating Delays Sum delays along serial paths Delay (Vin -> V2) ! = Delay (Vin -> V3) –Delay (Vin -> V2) = Delay (Vin -> V1) + Delay (V1 -> V2) –Delay (Vin -> V3) = Delay (Vin -> V1) + Delay (V1 -> V3) Critical Path = The longest among the N parallel paths C1 = Wire C + Cin of Gate 2 + Cin of Gate 3 Vdd V2 Vdd V1VinV2 C1 V1Vin G1G2 Vdd V3 G3 V3 Slide courtesy of D. Patterson

Lecture 2 16 Clocking and Clocked Elements Typical Clock –1Hz = 1 cycle per second Transparent Latch period (cycle time) D CLK Q Q Edge Triggered Flip-Flop CLK=0, Q=oldQ CLK=1, Q=D D Q CLK D Q IN OUT CLK D Q

Lecture 2 17 Storage Elements Timing Model Setup Time: Input must be stable BEFORE the trigger clock edge Hold Time: Input must REMAIN stable after the trigger clock edge Clock-to-Q time: –Output cannot change instantaneously at the trigger clock edge –Similar to delay in logic gates, two components: Internal Clock-to-Q Load dependent Clock-to-Q DQ DDon’t Care Clk UnknownQ SetupHold Clock-to-Q Slide courtesy of D. Patterson

Lecture 2 18 Clocking Methodology All storage elements are clocked by the same clock edge The combination logic block’s: –Inputs are updated at each clock tick –All outputs MUST be stable before the next clock tick Clk Combinational Logic Slide courtesy of D. Patterson

Lecture 2 19 Critical Path & Cycle Time Critical path: the slowest path between any two storage devices Cycle time is a function of the critical path must be greater than: –Clock-to-Q + Longest Path through the Combination Logic + Setup Clk Slide courtesy of D. Patterson

Lecture 2 20 Tricks to Reduce Cycle Time Reduce the number of gate levels °Pay attention to loading °One gate driving many gates is a bad idea °Avoid using a small gate to drive a long wire °Use multiple stages to drive large load A B C D A B C D INV4x Clarge Slide courtesy of D. Patterson

Lecture 2 21 Wires Limiting Factor –Density –Speed –Power 3 models for wires (model to use depends on switching frequency) –Short –Lossless –Lossy

Lecture 2 22 Wire Density Communication constraints –Must be able to move bits to/from storage and computation elements Example: 9 ported register file 32x64 9 ported Register File ?

Lecture 2 23 Chip Level

Lecture 2 24 Memory Moves information in time (wires move it in space) Provides state Requires energy to change state –Feedback circuit - SRAM –Capacitors – DRAM –Magnetic media - disk Required for memories –Storage medium –Write mechanism –Read mechanism 4Gb DRAM Die

Lecture 2 25 Technology Scaling Trends CPU Transistor density – 60% per year CPU Transistor speed – 15% per year DRAM density – 60% per year DRAM speed – 3% per year On-chip wire speed – decreasing relative to transistors (witness the Pentium 4 pipeline) Off-chip pin bandwidth – increasing, but slowly Power – approaching costs limits –P = CV 2 f + I leak V All of these factors affect the end system architecture

Lecture 2 26 Summary Logic Transistors + Wires + Storage = Computer! Transistors –Composable switches –Electrical considerations Delay from parasitic capacitors and resistors Power (P = CV 2 f) Wires –Becoming more important from delay and BW perspective Memories –Density, Access time, Persistence, BW