University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell CMOS Transistors and Gates.

Slides:



Advertisements
Similar presentations
Chapter 20 Electricity.
Advertisements

Computer Science 210 Computer Organization Introduction to Logic Circuits.
Sahar Mosleh PageCalifornia State University San Marcos 1 Introductory Concepts This section of the course introduces the concept of digital circuits and.
Kirchhoff’s laws. Kirchhoff’s laws: current law: voltage law: Equations.
Kevin Walsh CS 3410, Spring 2010 Computer Science Cornell University Gates and Logic See: P&H Appendix C.2, C.3 xkcd.com/74/
Basic Electricity and Electronics Mr. McClean Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
ECE C03 Lecture 41 Lecture 4 Combinational Logic Implementation Technologies Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.
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.
EE 365 Introduction, Logic Circuits. Digital Logic Binary system -- 0 & 1, LOW & HIGH, negated and asserted. Basic building blocks -- AND, OR, NOT.
Lecture 21 Today we will Revisit the CMOS inverter, concentrating on logic 0 and logic 1 inputs Come up with an easy model for MOS transistors involved.
Design and Implementation of VLSI Systems (EN0160) Sherief Reda Division of Engineering, Brown University Spring 2007.
ENGR 111 Lecture 4 Reading: Chapters 19, Class notes.
Lecture #25 Timing issues
1 An Introduction to Electronics by William O’Shaughnessy.
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
Bell Ringer R30 What do you think a circuit looks like if you would draw a picture? Include in picture: battery, wires, and a lightbulb.
Digital Design Copyright © 2006 Frank Vahid 1 Digital Design Slides to accompany the textbook Digital Design, First Edition, by Frank Vahid, John Wiley.
Lecture 0: Introduction. CMOS VLSI Design 4th Ed. 0: Introduction2 Introduction  Integrated circuits: many transistors on one chip.  Very Large Scale.
ECE2030 Introduction to Computer Engineering Lecture 3: Switches and CMOS Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia.
Current and Resistance
Lecture 8 Topics –Switch –Transistor –CMOS transistor –Logic gates AND, OR, NOT Universal gates: NAND, NOR XOR.
Current, Voltage, and Resistance in a circuit
ECE 331 – Digital System Design Transistor Technologies, and Realizing Logic Gates using CMOS Circuits (Lecture #23)
Electricity. whether two charges attract or repel depends on whether they have the same or opposite sign unit of measurement for charge is the coulomb.
Today 3/31  Circuits  Current  Potential (same as always)  Capacitance (energy and in circuits)  HW:3/31 “Circuits 4” Due Thursday 4/3  Exam 3 Thursday,
Hardware Basics. Electricity Electricity is the flow of electrons Atoms contain –In the nucleus (center) Protons with a positive charge Neutrons with.
Chapter 3 Digital Logic Structures. 3-2 Transistor: Building Block of Computers Microprocessors contain millions of transistors Intel Pentium 4 (2000):
CS 210.  How do we represent data in a computer? ◦ Easy to recognize two conditions:  1. Presence of a voltage – we’ll call this state “1”  2. Absence.
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?
Basic Electricity and Electronics
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.
Computers – “From The Ground Up”
Electricity What is it and how does it work?. Some definitions to start with An electrical current is caused by the flow of negatively charged electrons.
Electricity By Brandon-lee Bees. Navigation Basic ElectricityCircuits Different types of symbols AQA GCSE Science Physics - Generating Electricity. Length.
Chapter 34 Electric Current.
ELECTRIC CURRENT 2 Ohm’s law shows the relationship between current, potential, and voltage. We need a few more rules to make predictions about current.
The shocking truth about Electricity is electrons. Electrons that are not moving is Static electricity. Electrons build up until the like charges in.
IEEE’s Hands on Practical Electronics (HOPE) Lesson 8: Transistors.
Some basic electronics and truth tables Some material on truth tables can be found in Chapter 3 of Digital Principles (Tokheim)
 Seattle Pacific University EE Logic System DesignNMOS-CMOS-1 Voltage-controlled Switches In order to build circuits that implement logic, we need.
Circuits : Series vs Parallel
1 Contents Reviewed Rabaey CH 3, 4, and 6. 2 Physical Structure of MOS Transistors: the NMOS [Adapted from Principles of CMOS VLSI Design by Weste & Eshraghian]
The Control of Electricity in Circuits
Solid-State Devices & Circuits
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
CS 61C: Great Ideas in Computer Architecture Hardware intro, Digital Logic 1 Instructors: Nicholas Weaver & Vladimir Stojanovic
Electricity and Electronics Base of Modern Technology.
CIRCUIT ANALYSIS ENGR. VIKRAM KUMAR B.E (ELECTRONICS) M.E (ELECTRONICS SYSTEM ENGG:) MUET JAMSHORO 1 OHM’S LAW.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved. 1.
Lecture 2. Logic Gates Prof. Taeweon Suh Computer Science & Engineering Korea University COSE221, COMP211 Logic Design.
WARM UP Two negative charges, one twice as large as the other, are located 0.05 m apart and experience a repulsive force of 5 N. What is the magnitude.
Logic Gates Review. Logic Gates OR gate – 1 if either input is 1 – 0 if they both are 0.
Introduction to CMOS VLSI Design Lecture 0: Introduction.
Logic gates.
Introduction to Digital Electronics
Purpose of This Minilab
Intro to Engineering Electronics
Bellwork What is required for electric current to flow?
CS140 Lecture 02a: The Machinery of Computation: Circuits and Gates
Computer Science 210 Computer Organization
Some basic electronics and truth tables
Boolean logic in CMOS.
Electrical potential energy and resistance
Intro to Engineering Electronics
Electric Circuits 20.3.
Some basic electronics and truth tables
Ohm’s law.
Electricity.
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Presentation transcript:

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell CMOS Transistors and Gates

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 2 Simple electronics Ohm’s Law - V = IR voltage (V) equals current (I) times resistance (R) Hydraulic Analogy Charge  liquid Current  flow rate Voltage  water pressure Resistance  related to length and radius of pipe (kL/r 4 ) Hydraulic pictures from

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 3 Hydraulic analogy Voltage  water pressure Current  flow rate Volume flow rate in m 3 /sec, etc.Current flow rate in coulombs/sec = amps

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 4 Hydraulic analogy Resistance  related to length and radius of pipe (kL/r 4 ) Ground  reservoir

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 5 Hydraulic analogy Resistances in series Resistances in parallel

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 6 CMOS Transistors Need circuits to represent 2 discrete values 1,0 for binary representations True, False for Boolean logic Let high voltage (V dd ) represent 1, or true Let low voltage (0 volts or gnd) represent 0, or false If we have some switches to control whether or not these voltages can propagate through a circuit, we can build a computer with them Note, the earliest digital computers were electromechanical, made out of relays, so this is hardly a new idea Our switches will be CMOS transistors

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 7 1 (Vdd) Two kinds of transistors N-type 1 (Vdd) P-type 1 (Vdd) source drain gate s d g s d g s d g

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 8 0 (gnd) Two kinds of transistors N-type 0 (gnd) P-type 0 (gnd) s d g s d g s d g source drain g

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 9 How they work as switches N-type When gate is not at higher voltage than source no excess electrons in channel under gate so no current can flow switch is open

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 10 How they work as switches N-type When V gs > V th,the threshold voltage excess electrons attracted into channel current flows and switch is closed drain voltage cannot be more than source voltage = V g -V th this is at most V dd -V th V dd -V th is still considered a 1, but a weak 1 if source voltage is 0, then drain voltage is too, so 0 still strong CMOS transistor pictures from UT ECE VLSI course slides

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 11 CMOS circuit rules Never create a path from V dd to gnd Don’t pass weak values N-type transistors pass weak 1’s (V dd - V th ) N-type transistors pass strong 0’s (gnd) Use N-type transistors only to pass 0’s (n to negative) Conversely for P-type transistors Pass weak 0’s (V th ), strong 1’s (V dd ) Use P-type transistors only to pass 1’s (p to positive) Never leave a wire undriven Make sure there’s always a path to V dd or gnd

University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell 12 Example CMOS gate - inverter InOut Truth table Circuit Note how all 3 design rules are obeyed Circuit amplifies weak input 1 or 0