Kevin Walsh CS 3410, Spring 2010 Computer Science Cornell University Gates and Logic See: P&H Appendix C.2, C.3 xkcd.com/74/

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

L14: Boolean Logic and Basic Gates
Diodes and Transistors. Diodes Diodes are the semiconductor pn junction devices. They are formed by creating p-type and n-type semiconductors in a single.
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
Instructor Name: (Your Name)
From analog to digital circuits A phenomenological overview Bogdan Roman.
Field Effect Transistors and their applications. There are Junction FETs (JFET) and Insulated gate FETs (IGFET) There are many types of IGFET. Most common.
Transistors These are three terminal devices, where the current or voltage at one terminal, the input terminal, controls the flow of current between the.
Basic Electronics Ninth Edition Basic Electronics Ninth Edition ©2002 The McGraw-Hill Companies Grob Schultz.
MOSFETs Monday 19 th September. MOSFETs Monday 19 th September In this presentation we will look at the following: State the main differences between.
The metal-oxide field-effect transistor (MOSFET)
Design and Implementation of VLSI Systems (EN1600) lecture02 Sherief Reda Division of Engineering, Brown University Spring 2008 [sources: Weste/Addison.
CS 140L Lecture 1 Professor CK Cheng 3/31/02. CMOS Logic (3.2 – 3.6) Complementary Metal-Oxide Semiconductor.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 5 Dr. Shi Dept. of Electrical and Computer Engineering.
Gates and Logic Hakim Weatherspoon CS 3410, Spring 2011 Computer Science Cornell Universty See: P&H Appendix C.0, C.1, C.2.
Lecture 0: Introduction. CMOS VLSI Design 4th Ed. 0: Introduction2 Introduction  Integrated circuits: many transistors on one chip.  Very Large Scale.
BASIC ELECTRONICS.
Prof. Kavita Bala and Prof. Hakim Weatherspoon CS 3410, Spring 2014 Computer Science Cornell University See: P&H Appendix B.2 and B.3 (Also, see B.0 and.
WEEK ONE TOPIC: ELECTRONICS SOLID STATE MATERIALS  CONDUCTORS  INSULATORS  SEMICONDUCTORS.
Unit 7, Chapter 24 CPO Science Foundations of Physics.
Gates and Logic: From switches to Transistors, Logic Gates and Logic Circuits Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University.
ECE 331 – Digital System Design Transistor Technologies, and Realizing Logic Gates using CMOS Circuits (Lecture #23)
Transistors Three-terminal devices with three doped silicon regions and two P-N junctions versus a diode with two doped regions and one P-N junction Two.
By Squadron Leader Zahid Mir CS&IT Department, Superior University PHY-BE -14 Transistors.
Chapter 3 Digital Logic Structures. 3-2 Transistor: Building Block of Computers Microprocessors contain millions of transistors Intel Pentium 4 (2000):
Semiconductors. A semiconductor is a material whose resistance is between that of a conductor and an insulator. Eg Silicon.
1 Integrated Circuits Basics Titov Alexander 25 October 2014.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
Gates and Logic Hakim Weatherspoon CS 3410, Spring 2012 Computer Science Cornell Universty See: P&H Appendix C.2 and C.3 (Also, see C.0 and C.1)
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.
Digital Logic Structures MOS transistors logic gates functional units of a computer.
Review: Most semiconductors are made of a poor conductor that has had impurities (atoms of another material) added to it. The process of adding impurities.
Gates and Logic Hakim Weatherspoon CS 3410, Spring 2012 Computer Science Cornell Universty See: P&H Appendix C.2 and C.3 (Also, see C.0 and C.1)
Transistors & Semiconductors. Transistor Amplifying Switch – Current to base enables current from emitter to collector – Base requires small amount of.
Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)
Introduction to Transistors
Transistors and Semiconductors Miracle Makers of Modern Electronics Graphics courtesy intel.com Research at ience/index.html.
 Seattle Pacific University EE Logic System DesignNMOS-CMOS-1 Voltage-controlled Switches In order to build circuits that implement logic, we need.
Prof. Hakim Weatherspoon CS 3410, Spring 2015 Computer Science Cornell University See: P&H Appendix B.2 and B.3 (Also, see B.1)
Transistors, Logic Gates and Karnaugh Maps References: Lecture 4 from last.
From Switches to Transistors and Gates Prof. Sirer CS 316 Cornell University.
TRANSISTOR - Introduction BIPOLAR JUNCTION TRANSISTOR (BJT)
Introduction to Electronics
Based on current conduction, materials are classifieds as 1)Insulators Ex: Wood, Mica, Diamond 2) Conductors Ex: Copper, Aluminium 3) Semiconductors Ex:
Introduction to CMOS Transistor and Transistor Fundamental
Minute Paper 4/4/04 Z=50+j86.7=100
14-Photovoltaics Part 1 EE570 Energy Utilization & Conservation Professor Henry Louie.
The First lesson on Digital Logic Rachaen M. Huq1 Rachaen Huq. Dept. of EEE, BRACU.
Winter 2016CISC101 - Prof. McLeod1 Today Take some of the “MAGIC” out of how computers work: How did the technology get to where it is today? –ENIAC movie.
Introduction Semiconductors are materials whose electrical properties lie between Conductors and Insulators. Ex : Silicon and Germanium.
Transistors According to Dictionary.com a transistor is:
PREPARED BY, SHAIKH SALEHA A VAHORA SHALEHA Y
Introduction to CMOS VLSI Design Lecture 0: Introduction.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Logic gates.
From Switches to Transistors and Gates
LTFY – Physics and Engineering
Logic Gates and Boolean Algebra
Logic Gates.
ENG2410 Digital Design “CMOS Technology”
CHAPTER 2 Boolean Algebra
Computer Science 210 Computer Organization
Hakim Weatherspoon CS 3410, Spring 2013 Computer Science
Basics of Electronics Conductors: have low resistance which allows electrical current flow easily. Insulators: have high resistance which suppresses electrical.
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Logic Gates.
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Digital Logic Experiment
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Dept. of Electrical and Computer Eng., NCTU
Presentation transcript:

Kevin Walsh CS 3410, Spring 2010 Computer Science Cornell University Gates and Logic See: P&H Appendix C.2, C.3 xkcd.com/74/

2 A switch Acts as a conductor or insulator Can be used to build amazing things…

3 Better Switch One current controls another (larger) current Static Power: – Keeps consuming power when in the ON state Dynamic Power: – Jump in power consumption when switching

4 e N P N P N P N P N P N P NP e e e e e e e e e e e e e hole Atoms

5 B e e e e Si e e e SiliconPhosphorusBoron e P e e e e Elements

6 e Si e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e ee e e ee e e ee e e ee e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e ee e e ee e e ee e e e e e e e e e e e e e e e e e e e e e e e Silicon Silicon Crystal

7 e e e e e e e e e e e e e e e e e e e e e e e ee e e ee e e ee e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e ee e e e e e e e e e e e e e e ee e e e e e e e e e e e e e e e e e e ee e e e e e e e e e e e e e e ee e e e e e e e N-Type: Silicon + Phosphorus e P e e e e e P e e e e e P e e e e e P e e e e Phosphorus Doping

8 B e e e e e e e e e e e e e e e e e e e e e e e e e e ee e e ee e e ee e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e ee e e e e e e e e e e e e e e e e e e ee e e e e e e e e e e ee e e e e e e e e e e e e e e e e e e ee e e e e e e e P-Type: Silicon + Boron B e e e B e e e B e e e Boron Doping

9 Semiconductors Insulator n-type (Si+Phosphorus) has mobile electrons: p-type (Si+Boron) has mobile holes: low voltage (mobile electrons) → conductor high voltage (depleted) → insulator low voltage (depleted) → insulator high voltage (mobile holes) → conductor

10 P-TypeN-Type e e e e e e e e e e e e e e Bipolar Junction low v → conductor high v → insulator low v → insulator high v → conductor

11 P-TypeN-Type e e e e e e e e e e e e e + – Reverse Bias low v → conductor high v → insulator low v → insulator high v → conductor e

12 P-TypeN-Type e e e e e e e e e e e e e ee e e e e e e e e e e e e e – + Forward Bias low v → conductor high v → insulator low v → insulator high v → conductor

13 Diodes p-typen-type PN Junction “Diode” Conventions: vdd = vcc = +1.2v = +5v = hi vss = vee = 0v = gnd

14 PNP Junction p-type n-type

15 Bipolar Junction Transistors Solid-state switch: The most amazing invention of the 1900s Emitter = “input”, Base = “switch”, Collector = “output” pnp C E=vdd B E C B vdd pn vss=E C B C E B vss n PNP TransistorNPN Transistor

16 Field Effect Transistors P-type FET Connect Source to Drain when Gate = lo Drain must be vdd, or connected to source of another P-type transistor N-type FET Connect Source to Drain when Gate = hi Source must be vss, or connected to drain of another N-type transistor Drain = vdd Source Gate Drain Source = vss Gate

17 Multiple Transistors InOut voltage Gate delay transistor switching time voltage, propagation, fanout, temperature, … CMOS design (complementary-symmetry metal–oxide – semiconductor) Power consumption = dynamic + leakage inout Vdd Vss t 0v +5v

18 Digital Logic InOut +5v 0v +5v voltage inout Vdd Vss t 0v +5v +2v +0.5v InOut truth table Conventions: vdd = vcc = +1.2v = +5v = hi = true = 1 vss = vee = 0v = gnd = false = 0

19 NOT Gate (Inverter) InOut inout Truth table Function: NOT Symbol: inout Vdd Vss

20 NAND Gate ABout b a A Vdd Vss B B A Vdd Function: NAND Symbol:

21 NOR Gate b a out A Vss Vdd B B A Vss Function: NOR Symbol: ABout

22 Building Functions AND: OR: NOT:

23 Universal Gates NAND is universal (so is NOR) Can implement any function with just NAND gates – De Morgan’s laws are helpful (pushing bubbles) useful for manufacturing E.g.: XOR (A, B) = A or B but not both (“exclusive or”) Proof: ?

24 Logic Equations Some notation: constants: true = 1, false = 0 variables: a, b, out, … operators: AND(a, b) = a b = a & b = a  b OR(a, b) = a + b = a | b = a  b NOT(a) = ā = !a =  a

25 Identities Identities useful for manipulating logic equations – For optimization & ease of implementation a + 0 = a + 1 = a + ā = a 0 = a 1 = a ā = (a + b) = (a b) = a + a b = a(b+c) = a 1 0 a 0 a b a + b a ab + ac a + bc

26 Logic Manipulation functions: gates ↔ truth tables ↔ equations Example: (a+b)(a+c) = a + bc abc a+ba+cLHS bcRHS

27