EECS 150 Fa04 Lecture 2 EECS 150 - Components and Design Techniques for Digital Systems Lec 02 – CMOS Technology 9-2-04 David Culler Electrical Engineering.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

Introduction to Digital Systems By Dr. John Abraham UT-Panam.
I - Introduction © Copyright 2004, Gaetano Borriello and Randy H. Katz 1 Why study logic design? Obvious reasons  this course is part of the EE/CS/CE.
EECC341 - Shaaban #1 Lec # 1 Winter Introduction to Digital Systems Analog devices and systems process time-varying signals that can take.
CS 150 – Fall Lec #26 – Digital Design – 1 Digital Design and System Implementation zOverview of Physical Implementations zCMOS devices zCMOS transistor.
Spring 2002EECS150 - Lec03-Timing Page 1 EECS150 - Digital Design Lecture 3 - Timing January 29, 2002 John Wawrzynek.
Fall 2002EECS150 - Lec02-CMOS Page 1 EECS150 - Digital Design Lecture 2 - CMOS August 27, 2003 by Mustafa Ergen Lecture Notes: John Wawrzynek.
CS61C L23 Synchronous Digital Systems (1) Garcia, Fall 2011 © UCB Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C.
David Culler Electrical Engineering and Computer Sciences
CS61CL Machine Structures Lec 7 – Introduction to Digital Design David Culler Electrical Engineering and Computer Sciences University of California, Berkeley.
Chapter 4 Gates and Circuits.
Computer Engineering 222. VLSI Digital System Design Introduction.
Spring 2002EECS150 - Lec02-CMOS Page 1 EECS150 - Digital Design Lecture 2 - CMOS January 24, 2002 John Wawrzynek.
4/17/2017 EECS Components and Design Techniques for Digital Systems Lec 01 – Introduction David Culler Electrical Engineering and Computer.
© UC Berkeley 8/30/2007 EECS150-F05 CMOS lec02 1 EECS Components and Design Techniques for Digital Systems Lec 02 – Gates and CMOS Technology
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
© UC Berkeley CS61CL – Machine Structures David Culler Electrical Engineering and Computer Sciences University of California, Berkeley
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
CS61CL Machine Structures Lec 8 – State and Register Transfers David Culler Electrical Engineering and Computer Sciences University of California, Berkeley.
Gates A digital circuit is one in which only two logical values are present. Typically, a signal between 0 and 1 volt represents one value (e.g. binary.
Digital Design: An Embedded Systems Approach Using Verilog
Lecture 8 Topics –Switch –Transistor –CMOS transistor –Logic gates AND, OR, NOT Universal gates: NAND, NOR XOR.
CSET 4650 Field Programmable Logic Devices
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 2P. 1Winter Quarter Digital Electronics Lab 2.
CS 61C L01 Introduction (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia CS61C www page www-inst.eecs.berkeley.edu/~cs61c/
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Some Useful Circuits Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
Chapter 4 Gates and Circuits.
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.
Chapter 4 Gates and Circuits.
Chapter 2: Fundamentals of Digital Electronics Dr Mohamed Menacer Taibah University
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
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?
CS61C L23 Synchronous Digital Systems (1) Garcia, Fall 2011 © UCB Senior Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
Digital Logic. 4 Why is 32-bit or 64-bit significant in terms of speed, efficiency? 4 Difference between OR and XOR 4 What is a mux for? PLA 4 Two kinds.
I - Introduction © Copyright 2004, Gaetano Borriello and Randy H. Katz 1 Why study logic design? Obvious reasons  this course is part of the CS/CompE.
EE4800 CMOS Digital IC Design & Analysis
Chapter 1 Combinational CMOS Logic Circuits Lecture # 4 Pass Transistors and Transmission Gates.
CSCI-100 Introduction to Computing Hardware Design Part I.
ECE 3110: Introduction to Digital Systems Introduction (Contd.)
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Digital Design and System Implementation
I - Introduction © Copyright 2004, Gaetano Borriello and Randy H. Katz 1 Why study logic design? Obvious reasons  this course is part of the EE/CS/CE.
CS/COE0447 Computer Organization & Assembly Language
Logic Design / Processor and Control Units Tony Diep.
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.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 20: October 25, 2010 Pass Transistors.
Introduction to VLSI Design© Steven P. Levitan 1998 Introduction Design Technologies.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Logic gates.
Digital Circuits ECGR2181 Chapter 3 Notes Data A-data B-data A B here
CS Fall Introduction - 1 Welcome to CS 150: Components and Design Techniques for Digital Systems This week What is logic design? What is digital.
Stateless Combinational Logic and State Circuits
Instructor:Po-Yu Kuo 教師:郭柏佑
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
EEL 3705 / 3705L Digital Logic Design
Digital Circuits ECGR2181 Chapter 3 Notes Data A-data B-data A B here
Digital Logic Structures Logic gates & Boolean logic
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
Design Technologies Custom Std Cell Performance Gate Array FPGA Cost.
Digital Electronics Lab 2 Instructor:
CSE 370 – Winter Sequential Logic - 1
Instructor:Po-Yu Kuo 教師:郭柏佑
Welcome to CSE370: Introduction to Digital Design
January 24 W’05 Yutao He 4532B Boelter Hall CSM51A/EEM16-Sec.1 W’05
CSC3050 – Computer Architecture
CSE 370 – Winter Introduction -2- 1
Presentation transcript:

EECS 150 Fa04 Lecture 2 EECS 150 - Components and Design Techniques for Digital Systems Lec 02 – CMOS Technology 9-2-04 David Culler Electrical Engineering and Computer Sciences University of California, Berkeley http://www.eecs.berkeley.edu/~culler http://www-inst.eecs.berkeley.edu/~cs150

Outline Summary of last time Overview of Physical Implementations CMOS devices Announcements/Break CMOS transistor circuits basic logic gates tri-state buffers flip-flops flip-flop timing basics example use circuits

We will learn in CS 150 … Language of logic design Logic optimization, state, timing, CAD tools Concept of state in digital systems Analogous to variables and program counters in software systems Hardware system building Datapath + control = digital systems Hardware system design methodology Hardware description languages: Verilog Tools to simulate design behavior: output = function (inputs) Logic compilers synthesize hardware blocks of our designs Mapping onto programmable hardware (code generation) Contrast with software design Both map specifications to physical devices Both must be flawless…the price we pay for using discrete math

What is logic design? What is design? What is logic design? EECS 150 Fa04 Lecture 2 What is logic design? What is design? Given problem spec, solve it with available components While meeting criteria for size, cost, power, beauty, elegance, etc. What is logic design? Choose digital logic components to perform specified control, data manipulation, or communication function and their interconnection Which logic components to choose? Many implementation technologies (fixed-function components, programmable devices, individual transistors on a chip, etc.) Design optimized/transformed to meet design constraints

What is digital hardware? EECS 150 Fa04 Lecture 2 What is digital hardware? Devices that sense/control wires carrying digital values (physical quantity interpreted as “0” or “1”) Digital logic: voltage < 0.8v is “0”, > 2.0v is “1” Pair of wires where “0”/“1” distinguished by which has higher voltage (differential) Magnetic orientation signifies “0” or “1” Primitive digital hardware devices Logic computation devices (sense and drive) two wires both “1” - make another be “1” (AND) at least one of two wires “1” - make another be “1” (OR) a wire “1” - then make another be “0” (NOT) Memory devices (store) store a value recall a value previously stored sense drive AND sense Source: Microsoft Encarta

Overview of Physical Implementations The stuff out of which we make systems. Integrated Circuits (ICs) Combinational logic circuits, memory elements, analog interfaces. Printed Circuits (PC) boards substrate for ICs and interconnection, distribution of CLK, Vdd, and GND signals, heat dissipation. Power Supplies Converts line AC voltage to regulated DC low voltage levels. Chassis (rack, card case, ...) holds boards, power supply, provides physical interface to user or other systems. Connectors and Cables.

Integrated Circuits Chip in Package Package provides: Primarily Crystalline Silicon 1mm - 25mm on a side 100 - 200M transistors (25 - 50M “logic gates") 3 - 10 conductive layers 2002 - feature size ~ 0.13um = 0.13 x 10-6 m “CMOS” most common - complementary metal oxide semiconductor Chip in Package Package provides: spreading of chip-level signal paths to board-level heat dissipation. Ceramic or plastic with gold wires.

Printed Circuit Boards fiberglass or ceramic 1-20 conductive layers 1-20in on a side IC packages are soldered down. Multichip Modules (MCMs) Multiple chips directly connected to a substrate. (silicon, ceramic, plastic, fiberglass) without chip packages.

Integrated Circuits Moore’s Law has fueled innovation for the last 3 decades. “Number of transistors on a die doubles every 18 months.” What are the side effects of Moore’s law?

Integrated Circuits Uses for digital IC technology today: standard microprocessors used in desktop PCs, and embedded applications simple system design (mostly software development) memory chips (DRAM, SRAM) application specific ICs (ASICs) custom designed to match particular application can be optimized for low-power, low-cost, high-performance high-design cost / relatively low manufacturing cost field programmable logic devices (FPGAs, CPLDs) customized to particular application after fabrication short time to market relatively high part cost standardized low-density components still manufactured for compatibility with older system designs

Switches: basic element of physical implementations EECS 150 Fa04 Lecture 2 Switches: basic element of physical implementations Implementing a simple circuit (arrow shows action if wire changes to “1”): A Z close switch (if A is “1” or asserted) and turn on light bulb (Z) Z A open switch (if A is “0” or unasserted) and turn off light bulb (Z) Z  A

CMOS Devices Top View Cross Section nFET pFET MOSFET (Metal Oxide Semiconductor Field Effect Transistor). Top View Cross Section nFET The gate acts like a capacitor. A high voltage on the gate attracts charge into the channel. If a voltage exists between the source and drain a current will flow. In its simplest approximation the device acts like a switch. pFET

What Complementary about CMOS? Complementary devices work in pairs G G S D S D n-channel open when voltage at G is low closes when: voltage(G) > voltage (S) +  p-channel closed when voltage at G is low opens when: voltage(G) < voltage (S) – 

Transistor-level Logic Circuits (inv) Inverter (NOT gate): Vdd Gnd what is the relationship between in and out? Vdd in out 0 volts Gnd 3 volts

Logical Values +3 +3 Logic 1 Logic 0 Input Voltage V Vout +5 Vin Threshold Logical 1 (true) : V > Vdd –V th Logical 0 (false) : V < Vth Noise margin? F in out T not( out, in)

Big idea: Self-restoring logic CMOS logic gates are self-restoring Even if the inputs are imperfect, switching time is fast and outputs go rail to rail Doesn’t matter how many you cascade Although propagation delay increases Manage fan-out to ensure sharp and complete transition

Element of Time +3 Vout +5 Vin Logical change is not instantaneous Propagation delay Vout +5 Vin Logical change is not instantaneous Broader digital design methodology has to make it appears as such Clocking, delay estimation, glitch avoidance

Announcements Turn in an appeal for on third floor Soda If you are on the wait list and would like to get into the class you must: Turn in an appeal for on third floor Soda Attend lectures and do the homework, the first two weeks. In the second week of classes, go to the lab section in which you wish to enroll. Give the TA your name and student ID. Later, we will process the waitlist based on these requests, and lab section openings.

Announcements Reading assignment for this week. Katz and Boriello, Chap 1 Chap 4 pp. 157-170 Homework 1 is posted - due week from friday

Computing with Switches EECS 150 Fa04 Lecture 2 Computing with Switches Compose switches into more complex (Boolean) functions: A B AND Z  A and B A OR Z  A or B B Two fundamental structures: series (AND) and parallel (OR)

Transistor-level Logic Circuits - NAND Inverter (NOT gate): NAND gate Logic Function: out = 0 iff both a AND b = 1 therefore out = (ab)’ pFET network and nFET network are duals of one another. a b out 0 0 1 0 1 1 1 0 1 1 1 0 nand (out, a, b) How about AND gate?

Transistor-level Logic Circuits Simple rule for wiring up MOSFETs: nFET is used only to pass logic zero. pFet is used only to pass logic one. For example, NAND gate: Note: This rule is sometimes violated by expert designers under special conditions.

Transistor-level Logic Circuits - NOR NAND gate NOR gate Function: out = 0 iff both a OR b = 1 therefore out = (a+b)’ Again pFET network and nFET network are duals of one another. Other more complex functions are possible. Ex: out = (a+bc)’ a b out 0 0 1 0 1 0 1 0 0 1 1 0 nor (out, a, b)

Transistor-level Logic Circuits Variations Tri-state Buffer Transistor circuit for inverting tri-state buffer: “high impedance” (output disconnected) Inverting buffer Inverted enable “transmission gate” Tri-state buffers are used when multiple circuits all connect to a common bus. Only one circuit at a time is allowed to drive the bus. All others “disconnect”.

Transmission Gate Is it self restoring? Transmission gates are the way to build “switches” in CMOS. Both transistor types are needed: nFET to pass zeros. pFET to pass ones. The transmission gate is bi-directional (unlike logic gates and tri-state buffers). Functionally it is similar to the tri-state buffer, but does not connect to Vdd and GND, so must be combined with logic gates or buffers. Is it self restoring?

Transistor-level Logic Circuits - MUX Multiplexor If s=1 then c=a else c=b Transistor Circuit for inverting multiplexor:

Interactive Quiz Generate truth table for MUX Boolean expression? mux (c, s, a, b) Generate truth table for MUX Boolean expression? Can you build an inverter out of a MUX? How about AND? c universality

Combinational vs. sequential digital circuits EECS 150 Fa04 Lecture 2 Combinational vs. sequential digital circuits Simple model of a digital system is a unit with inputs and outputs: Combinational means "memory-less" digital circuit is combinational if its output values only depend on its inputs inputs system outputs

Combinational logic symbols EECS 150 Fa04 Lecture 2 Combinational logic symbols Common combinational logic systems have standard symbols called logic gates Buffer, NOT AND, NAND OR, NOR A Z A Z easy to implement with CMOS transistors (the switches we have available and use most) B A Z B

Sequential logic Sequential systems All real circuits are sequential EECS 150 Fa04 Lecture 2 Sequential logic Sequential systems Exhibit behaviors (output values) that depend on current as well as previous inputs All real circuits are sequential Outputs do not change instantaneously after an input change Why not, and why is it then sequential? Fundamental abstraction of digital design is to reason (mostly) about steady-state behaviors Examine outputs only after sufficient time has elapsed for the system to make its required changes and settle down

Synchronous sequential digital systems EECS 150 Fa04 Lecture 2 Synchronous sequential digital systems Combinational circuit outputs depend only on current inputs After sufficient time has elapsed Sequential circuits have memory Even after waiting for transient activity to finish Steady-state abstraction: most designers use it when constructing sequential circuits: Memory of system is its state Changes in system state only allowed at specific times controlled by an external periodic signal (the clock) Clock period is elapsed time between state changes sufficiently long so that system reaches steady-state before next state change at end of period

Recall: What makes Digital Systems tick? Combinational Logic clk time

D-type edge-triggered flip-flop The edge of the clock is used to sample the "D" input & send it to "Q” (positive edge triggering). At all other times the output Q is independent of the input D (just stores previously sampled value). The input must be stable for a short time before the clock edge.

Parallel to Serial Converter Example Each stage: 4-bit version: Operation: cycle 1: load x, output x0 cycle i: output xi if LD=1 load FF from xi else from previous stage.

Parallel to Serial Converter Example timing:

Transistor-level Logic Circuits - Latch Positive Level-sensitive latch Transistor Level D FlipFlop clk’ Positive Edge-triggered flip-flop built from two level-sensitive latches: clk’ clk clk

Summary: Representation of digital designs EECS 150 Fa04 Lecture 2 Summary: Representation of digital designs Physical devices (transistors, relays) Switches Truth tables Boolean algebra Gates Waveforms Finite state behavior Register-transfer behavior Concurrent abstract specifications scope of CS 150 more depth than 61C focus on building systems

Mapping from physical world to binary world EECS 150 Fa04 Lecture 2 Mapping from physical world to binary world Technology State 0 State 1 Relay logic Circuit Open Circuit Closed CMOS logic 0.0-1.0 volts 2.0-3.0 volts Transistor transistor logic (TTL) 0.0-0.8 volts 2.0-5.0 volts Fiber Optics Light off Light on Dynamic RAM Discharged capacitor Charged capacitor Nonvolatile memory (erasable) Trapped electrons No trapped electrons Programmable ROM Fuse blown Fuse intact Bubble memory No magnetic bubble Bubble present Magnetic disk No flux reversal Flux reversal Compact disc No pit Pit Sense the logical value, manipulate in s systematic fashion.