Lecture 2. Logic Gates Prof. Taeweon Suh Computer Science Education Korea University ECM585 Special Topics in Computer Design.

Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.
CSET 4650 Field Programmable Logic Devices
COMP541 Transistors and all that… a brief overview
Introduction to CMOS VLSI Design Introduction Manoel E. de Lima David Harris - Harvey Mudd College.
Lecture 0: Introduction
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
Analog VLSI Design Nguyen Cao Qui.
FPGA structure and programming - Eli Kaminsky 1 FPGA structure and programming.
Introduction to CMOS VLSI Design Lecture 0: Introduction
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.
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.
Design and Implementation of VLSI Systems (EN1600) lecture02 Sherief Reda Division of Engineering, Brown University Spring 2008 [sources: Weste/Addison.
Faculty of Computer Science © 2006 CMPUT 229 Digital Logic From Switches to Memories.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 5 Dr. Shi Dept. of Electrical and Computer Engineering.
Lecture 0: Introduction. CMOS VLSI Design 4th Ed. 0: Introduction2 Introduction  Integrated circuits: many transistors on one chip.  Very Large Scale.
Introduction Integrated circuits: many transistors on one chip.
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.
CSET 4650 Field Programmable Logic Devices
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)
Z. Feng VLSI Design 1.1 VLSI Design MOSFET Zhuo Feng.
COMP541 Combinational Logic - I
Lecture 13 Lecture by John O'Donnell, used with permission. 1 CS1Q Computer Systems Lecture 13 Simon Gay.
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):
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
We know binary We know how to add and subtract in binary –Same as in decimal Next up: learn how apply this knowledge Boolean and Binary Inputs.
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?
Introduction to CMOS VLSI Design
Lecture 1. Technology Trend Prof. Taeweon Suh Computer Science Education Korea University COM515 Advanced Computer Architecture.
1 Integrated Circuits Basics Titov Alexander 25 October 2014.
VLSI, Lecture 1 A review of microelectronics and an introduction to MOS technology Department of Computer Engineering, Prince of Songkla.
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.
Lecture 0: Introduction. CMOS VLSI Design 4th Ed. 0: Introduction2 Introduction  Integrated circuits: many transistors on one chip.  Very Large Scale.
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.
1 COMP541 Combinational Logic - I Montek Singh Jan 11, 2012.
Class 02 DICCD Transistors: Silicon Transistors are built out of silicon, a semiconductor Pure silicon is a poor conductor (no free charges) Doped.
CS/EE 3700 : Fundamentals of Digital System Design
Chapter 1 Combinational CMOS Logic Circuits Lecture # 4 Pass Transistors and Transmission Gates.
Introduction to CMOS VLSI Design Lecture 1: Circuits & Layout.
 Seattle Pacific University EE Logic System DesignNMOS-CMOS-1 Voltage-controlled Switches In order to build circuits that implement logic, we need.
Instructor:Po-Yu Kuo 教師:郭柏佑
Introduction to MicroElectronics
Chapter 1 Digital Design and Computer Architecture, 2nd Edition
11. 9/15 2 Figure A 2 M+N -bit memory chip organized as an array of 2 M rows  2 N columns. Memory SRAM organization organized as an array of 2.
An Introduction to VLSI (Very Large Scale Integrated) Circuit Design
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
CMOS VLSI Design Introduction
Chapter 1 Computer System Architectures Chapter 1 Based on Digital Design and Computer Architecture, 2 nd Edition David Money Harris and Sarah L. Harris.
Instructor : Po-Yu Kuo 教師:郭柏佑 Ch. 3 Digital Logic Structures EL 1009 計算機概論 ( 電子一 B) Introduction to Computer Science.
CMOS VLSI Fabrication.
Introduction to Computing Systems and Programming Digital Logic Structures.
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
CMOS FABRICATION.
Lecture 2. Logic Gates Prof. Taeweon Suh Computer Science & Engineering Korea University COSE221, COMP211 Logic Design.
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.
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.
Logic Gates Unit 16.
Chapter 1 Digital Design and Computer Architecture, 2nd Edition
Digital Signals Digital Signals have two basic states:
CS105 Introduction to Computer Concepts GATES and CIRCUITS
What is Digital Information?
Lecture 1: Logic Gates & Analog Behavior of Digital Systems
Presentation transcript:

Lecture 2. Logic Gates Prof. Taeweon Suh Computer Science Education Korea University ECM585 Special Topics in Computer Design

Korea Univ Logic Gates Logic gates are simple digital circuits that take one or more binary inputs and produce a binary output  Single-input logic gates Inverter, Buffer  Two-input logic gates AND, OR, XOR, NAND, NOR, XNOR etc  Multiple-input logic gates AND, OR, XOR, NAND, NOR, XNOR etc Logic gates are prepared and given to you in the library of Computer-Aided Design (CAD) tools 2

Korea Univ Single-Input Logic Gates 3

Korea Univ Two-Input Logic Gates 4

Korea Univ More Two-Input Logic Gates 5 2 input XOR (Exclusive OR) is “true” if either A or B (not both) is true

Korea Univ Multiple-Input Logic Gates 6 Note that N-input XOR is “true” if an odd number of inputs is true

Korea Univ Logic Levels Logic levels define discrete voltages to represent 1 and 0  For example, we could define: 0 to be 0 volts (ground) 1 to be 5 volts (V DD )  But what if our gate produces, for example, 4.99 volts? Is that still a 1?  What about 3.2 volts? 7 0V 5V time “1” “0” Not determined

Korea Univ Logic Levels Define a range of voltages to represent 1 and 0 Define different ranges for outputs and inputs to allow for noise in the system  Noise is anything that degrades the signal For example, a gate (driver) could output a 5 volt signal but, because of losses in the wire and other noise, the signal could arrive at the receiver with a degraded value, for example, 4.5 volts 8

Korea Univ Logic Levels 9 Noise Margin NM H = V OH – V IH NM L = V IL – V OL

Korea Univ BTW, How Logic Gates are Built? 10 Transistors! What we saw so far are just symbols, right? What are those symbols built from in the real world?

Korea Univ Transistor Transistor is a three-ported voltage-controlled switch  Two of the ports are connected depending on the voltage on the third port  For example, in the switch below the two terminals (d and s) are connected (ON) only when the third terminal (g) is 1 Hmmm, it is still a symbol! What is it really built from? 11 d: drain, s: source, g: gate

Korea Univ Silicon 12 Transistors are built out of silicon, a semiconductor Silicon is not a conductor Doped silicon is a conductor –n-type (free negative charges, electrons) –p-type (free positive charges, holes) wafer Majority: Electrons Minority: Holes Majority: Holes Minority: Electrons

Korea Univ Periodic Table of the Elements 13

Korea Univ 14 MOS Transistors Metal oxide silicon (MOS) transistors: –Polysilicon (used to be Metal) gate –Oxide (silicon dioxide) insulator –Doped Silicon substrate and wells

Korea Univ 15 MOS Transistors The MOS sandwich acts as a capacitor (two conductors with insulator between them) When voltage is applied to the gate, the opposite charge is attracted to the semiconductor on the other side of the insulator, which could form a channel of charge

Korea Univ 16 nMOS Transistor Gate = 0 (OFF) (no connection between source and drain) Gate = 1 (ON) (connection between source and drain)

Korea Univ pMOS Transistor 17 Gate = 0 (ON) (connection between source and drain) Gate = 1 (OFF) (no connection between source and drain)

Korea Univ 18 Transistor Function

Korea Univ 19 CMOS (Complementary MOS) CMOS is used to build the vast majority of all transistors fabricated today  nMOS transistors pass good 0’s, so connect source to GND  pMOS transistors pass good 1’s, so connect source to V DD

Korea Univ 20 Top view Cross-section CMOS Layout

Korea Univ 21 NOT Gate AP1N1Y 0ONOFF1 1 ON0 Layout (top view)

Korea Univ 22 NAND Gate ABP1P2N1N2Y 00ON OFF 1 01ONOFF ON1 10OFFON OFF1 11 ON 0 Layout

Korea Univ 3-Input NAND Gate 23 How do you build a three-input NAND gate?

Korea Univ 24 So, Let’s Make an Inverter Chip Core 2 Duo Your Inverter chip

Korea Univ (Semiconductor) Technology IC (Integrated Circuit) combined dozens to hundreds of transistors into a single chip VLSI (Very Large Scale Integration) is used to describe the tremendous increase in the number of transistors in a chip (Semiconductor) Technology: How small can you make a transistor  0.1 µm (100nm), 90nm, 65nm, 45nm, 32nm, 22nm, 14nm technologies 25

Korea Univ Feature Size (Technology) Trend 26

Korea Univ Intel Founders Robert Noyce (1927~1990)  Nicknamed “Mayor of Silicon Valley”  Cofounded Fairchild Semiconductor in 1957  Cofounded Intel in 1968  Co-invented the integrated circuit (IC) Gorden Moore (1929~)  Cofounded Intel in 1968 with Robert Noyce.  Moore’s Law: the number of transistors on a computer chip doubles every year (observed in 1965)  Since 1975, transistor counts have doubled every two years 27

Korea Univ 28 Moore’s Law Transistor count will be doubled every 18 months Exponentialgrowth 2,250 42millions 1.7 billions Montecito

Korea Univ x86? What is x86?  Generic term referring to processors from Intel, AMD and VIA  Derived from the model numbers of the first few generations of processors: 8086, 80286, 80386,  x86  Now it generally refers to processors from Intel, AMD, and VIA x86-16: 16-bit processor x86-32 (aka IA32): 32-bit processor * IA: Intel Architecture x86-64: 64-bit processor Intel takes about 80% of the PC market and AMD takes about 20%  Apple also have been introducing Intel-based Mac from Nov

Korea Univ x86 History (as of 2008) 30

Korea Univ x86 History (Cont.) bit (i386) 32-bit (i586) 64-bit (x86_64) 32-bit (i686) 8-bit16-bit4-bit st Gen. Core i7 (Nehalem) 2 nd Gen. Core i7 (Sandy Bridge rd Gen. Core i7 (Ivy Bridge)

Korea Univ 32 Backup Slides

Korea Univ Is this CMOS that CMOS in Computer? 33 Non-volatile BIOS memory (NVRAM) refers to a small memory on PC motherboards that is used to store BIOS settings  The NVRAM has a typical capacity of 512 Bytes, which is enough for all BIOS-settings  It was traditionally called CMOS RAM because it used a low-power CMOS SRAM powered by a small battery  The term remains in wide use, but it has grown into a misnomer  Non-volatile storage in contemporary computers is often in EEPROM or flash memory

Korea Univ XOR Gate 34