Digital Systems Laboratory

Similar documents
EE 42/100 Lecture 23: CMOS Transistors and Logic Gates. Rev A 4/15/2012 (10:39 AM) Prof. Ali M. Niknejad

Topic 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. NMOS Transistors in Series/Parallel Connection

ECE380 Digital Logic. Logic values as voltage levels

Chapter 6 DIFFERENT TYPES OF LOGIC GATES

CMOS Digital Logic Design with Verilog. Chapter1 Digital IC Design &Technology

ECE/CoE 0132: FETs and Gates

420 Intro to VLSI Design

Digital Electronics Part II - Circuits

ECE 334: Electronic Circuits Lecture 10: Digital CMOS Circuits

Chapter 3 Digital Logic Structures

Chapter 3. H/w s/w interface. hardware software Vijaykumar ECE495K Lecture Notes: Chapter 3 1

Lecture 0: Introduction

Basic Fabrication Steps

Low Power 8-Bit ALU Design Using Full Adder and Multiplexer

2009 Spring CS211 Digital Systems & Lab 1 CHAPTER 3: TECHNOLOGY (PART 2)

Figure.1. Schematic of 4-bit CLA JCHPS Special Issue 9: June Page 101

Layers. Layers. Layers. Transistor Manufacturing COMP375 1

+1 (479)

EC 1354-Principles of VLSI Design

EE4800 CMOS Digital IC Design & Analysis. Lecture 1 Introduction Zhuo Feng

CPE/EE 427, CPE 527 VLSI Design I: Homeworks 3 & 4

Chapter 6 DIFFERENT TYPES OF LOGIC GATES

Reference. Wayne Wolf, FPGA-Based System Design Pearson Education, N Krishna Prakash,, Amrita School of Engineering

4-bit counter circa bit counter circa 1990

Microcontroller Systems. ELET 3232 Topic 13: Load Analysis

Layers. Layers. Layers. Transistor Manufacturing COMP375 1

Digital logic families

Lecture 0: Introduction

A HIGH SPEED & LOW POWER 16T 1-BIT FULL ADDER CIRCUIT DESIGN BY USING MTCMOS TECHNIQUE IN 45nm TECHNOLOGY

Jack Keil Wolf Lecture. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Lecture Outline. MOSFET N-Type, P-Type.

Homework 10 posted just for practice. Office hours next week, schedule TBD. HKN review today. Your feedback is important!

CHAPTER 6 DIGITAL CIRCUIT DESIGN USING SINGLE ELECTRON TRANSISTOR LOGIC

1. Short answer questions. (30) a. What impact does increasing the length of a transistor have on power and delay? Why? (6)

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Shorthand Notation for NMOS and PMOS Transistors

Lecture 1. Tinoosh Mohsenin

Department of EECS. University of California, Berkeley. Logic gates. September 1 st 2001

ENG2410 Digital Design CMOS Technology. Fall 2017 S. Areibi School of Engineering University of Guelph

Lecture 16. Complementary metal oxide semiconductor (CMOS) CMOS 1-1

CHAPTER 3 NEW SLEEPY- PASS GATE

Spiral 1 / Unit 8. Transistor Implementations CMOS Logic Gates

Engr354: Digital Logic Circuits

Digital Microelectronic Circuits ( ) CMOS Digital Logic. Lecture 6: Presented by: Adam Teman

Designing Information Devices and Systems II Fall 2017 Note 1

Design of Low power and Area Efficient 8-bit ALU using GDI Full Adder and Multiplexer

ECE 484 VLSI Digital Circuits Fall Lecture 02: Design Metrics

Digital Design and System Implementation. Overview of Physical Implementations

Transistor Digital Circuits

4-bit counter circa bit counter circa 1990

Digital Integrated CircuitDesign

INTRODUCTION TO MOS TECHNOLOGY

Introduction to Electronic Devices

Lecture 12 Memory Circuits. Memory Architecture: Decoders. Semiconductor Memory Classification. Array-Structured Memory Architecture RWM NVRWM ROM

BICMOS Technology and Fabrication

Module-3: Metal Oxide Semiconductor (MOS) & Emitter coupled logic (ECL) families

ECE 2300 Digital Logic & Computer Organization

Lecture Perspectives. Administrivia

Lecture 4&5 CMOS Circuits

Low Power 8-Bit ALU Design Using Full Adder and Multiplexer Based on GDI Technique

A Low Power Array Multiplier Design using Modified Gate Diffusion Input (GDI)

Lecture 30. Perspectives. Digital Integrated Circuits Perspectives

CMOS VLSI Design (A3425)

Computer Architecture (TT 2012)

Lecture #29. Moore s Law

Microelectronics, BSc course

Power-Area trade-off for Different CMOS Design Technologies

3. COMPARING STRUCTURE OF SINGLE GATE AND DOUBLE GATE MOSFET WITH DESIGN AND CURVE

Architecture of Computers and Parallel Systems Part 9: Digital Circuits

Digital Systems Design

Device Technologies. Yau - 1

EECS150 - Digital Design Lecture 15 - CMOS Implementation Technologies. Overview of Physical Implementations

EECS150 - Digital Design Lecture 9 - CMOS Implementation Technologies

Advanced FPGA Design. Tinoosh Mohsenin CMPE 491/691 Spring 2012

MOS TRANSISTOR THEORY

EMT 251 Introduction to IC Design

UNIT-II LOW POWER VLSI DESIGN APPROACHES

EEC 118 Lecture #11: CMOS Design Guidelines Alternative Static Logic Families

! Review: MOS IV Curves and Switch Model. ! MOS Device Layout. ! Inverter Layout. ! Gate Layout and Stick Diagrams. ! Design Rules. !

Design and Implementation of ALU Chip using D3L Logic and Ancient Mathematics

EEC 118 Lecture #12: Dynamic Logic

! Review: MOS IV Curves and Switch Model. ! MOS Device Layout. ! Inverter Layout. ! Gate Layout and Stick Diagrams. ! Design Rules. !

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ECE 410: VLSI Design Course Lecture Notes (Uyemura textbook)

Digital Integrated Circuits - Logic Families (Part II)

Static Random Access Memory - SRAM Dr. Lynn Fuller Webpage:

MM74HC132 Quad 2-Input NAND Schmitt Trigger

Device Technology( Part 2 ): CMOS IC Technologies

Logic families (TTL, CMOS)

UNIT-III GATE LEVEL DESIGN

Design Analysis of 1-bit Comparator using 45nm Technology

CMOS Circuits CONCORDIA VLSI DESIGN LAB

Electronic Circuits EE359A

E85: Digital Design and Computer Architecture

CHAPTER 3 PERFORMANCE OF A TWO INPUT NAND GATE USING SUBTHRESHOLD LEAKAGE CONTROL TECHNIQUES

Module 4 : Propagation Delays in MOS Lecture 19 : Analyzing Delay for various Logic Circuits

! Sequential Logic. ! Timing Hazards. ! Dynamic Logic. ! Add state elements (registers, latches) ! Compute. " From state elements

PHYSICAL STRUCTURE OF CMOS INTEGRATED CIRCUITS. Dr. Mohammed M. Farag

Design cycle for MEMS

ECE520 VLSI Design. Lecture 5: Basic CMOS Inverter. Payman Zarkesh-Ha

Transcription:

2012 Fall CSE140L Digital Systems Laboratory Lecture #2 by Dr. Choon Kim CSE Department, UCSD chk034@eng.ucsd.edu Lecture #2 1

Digital Technologies CPU(Central Processing Unit) GPU(Graphics Processing Unit) DSP(Digital gnal Processor) SoC(System on Chip) FPGA (Field Programmable Gate Array) ASIC (Application Specific Integrated Circuit) Custom Designs etc. 2

DE1 Board Kit 3

FPGAs (Field Programmable Gate Arrays) Programmable Logic Block Switches -SRAM based (Flash memory) -Antifuse Switch Matrix Wiring Channels Disadvantages: Penalty on area, density, speed Advantages: Flexibility, low startup costs, low risk, revisions without changing the hardware 4

Periodic table Periodic Table Lecture #2 5

Transistors: licon Transistors are built out of silicon, a semiconductor Pure silicon is a poor conductor (no free charges) Doped silicon is a good conductor (free charges) n-type (free negative charges, electrons) p-type (free positive charges, holes) Free electron Free hole - + + As B - licon Lattice n-type 1-<6> p-type 6

MOS Transistors Metal oxide silicon (MOS) transistors: Polysilicon (used to be metal) gate Oxide (silicon dioxide) insulator Doped silicon source gate drain Polysilicon O 2 n n p substrate gate source drain nmos 1-<7> 7

Transistors: nmos Gate = 0, it is OFF (source and drain are disconnected) source gate GND drain Gate = 1, it is ON (channel between source and drain) Source= 0 => Drain=0 Source=1 => Drain=0.8 (Poor one) source gate V DD drain n p n substrate n +++++++ - - - - - - - channel p n substrate GND GND 1-<8> 8

Transistors: pmos pmos transistor is just the opposite ON when Gate = 0 Source =0 => Drain = 0.2 (Poor zero) Source =1 => Drain = 1 OFF when Gate = 1 Polysilicon source gate drain O 2 p p n substrate gate source drain 1-<9>

Transistor Function g = 0 g = 1 nmos g d s d s OFF d s ON pmos g s d s d ON s d OFF 1-<10> 10

Transistor Function nmos transistors pass good 0 s, so connect source to GND pmos transistors pass good 1 s, so connect source to V DD inputs pmos pull-up network output nmos pull-down network 1-<11> 11

CMOS Gate Structure inputs pmos pull-up network output nmos pull-down network 1-<12> 12

CMOS Gates: NOT Gate NOT V DD A Y = A A Y 0 1 1 0 Y A P1 Y N1 GND A P1 N1 Y 0??? 1??? 1-<13>

CMOS Gates: NOT Gate NOT V DD A Y = A A Y 0 1 1 0 Y A P1 Y N1 GND A P1 N1 Y 0 ON OFF 1 1 OFF ON 0 1-<14>

CMOS Gates: NAND Gate A B NAND Y = AB Y A B Y 0 0 1 0 1 1 1 0 1 1 1 0 A B P2 P1 Y N1 N2 A B P1 P2 N1 N2 Y 0 0 0 1 1 0 1 1 1-<15>

CMOS Gates: NAND Gate A B NAND Y = AB Y A B Y 0 0 1 0 1 1 1 0 1 1 1 0 A B P2 P1 Y N1 N2 A B P1 P2 N1 N2 Y 0 0 ON ON OFF OFF 1 0 1 ON OFF OFF ON 1 1 0 OFF ON ON OFF 1 1 1 OFF OFF ON ON 0 1-<16>

NOR Gate Q: How do you build a three-input NOR gate? 1-<17> 17

Homework: Build other gate using CMOS Q: How do you build AND gate? Q: How do you build OR gate? Q: How do you build XOR gate? Q: How do you build XNOR gate? etc. 1-<19> 19

Transmission Gates nmos pass 1 s poorly pmos pass 0 s poorly Transmission gate is a better switch passes both 0 and 1 well When EN = 1, the switch is ON: A is connected to B When EN = 0, the switch is OFF: A is not connected to B A EN EN B 1-<20>

Noise Anything that degrades the signal E.g., resistance, power supply noise, coupling to neighboring wires, etc. Example: a gate (driver) could output a 5 volt signal but, because of resistance in a long wire, the signal could arrive at the receiver with a degraded value, for example, 4.5 volts Driver Noise Receiver 5 V 4.5 V 1-<21>

Logic Levels Driver Receiver Logic High Output Range V O H Output Characteristics V DD NM H Input Characteristics Logic High Input Range Forbidden Zone V IH V IL Logic Low Output Range V O L NM L GND Logic Low Input Range 1-<22>

V DD Scaling Chips in the 1970 s and 1980 s were designed using V DD = 5 V As technology improved, V DD dropped Avoid frying tiny transistors Save power 3.3 V, 2.5 V, 1.8 V, 1.5 V, 1.2 V, 1.0 V, Be careful connecting chips with different supply voltages 1-<23>

Logic Family Examples Logic Family V DD V IL V IH V OL V OH TTL 5 (4.75-5.25) 0.8 2.0 0.4 2.4 CMOS 5 (4.5-6) 1.35 3.15 0.33 3.84 LVTTL 3.3 (3-3.6) 0.8 2.0 0.4 2.4 LVCMOS 3.3 (3-3.6) 0.9 1.8 0.36 2.7 1-<24>

Power Consumption Power = Energy consumed per unit time Two types of power consumption: Dynamic power consumption Static power consumption 1-<25>

Dynamic Power Consumption Power to charge transistor gate capacitances The energy required to charge a capacitance, C, to V DD is CV DD 2 If the circuit is running at frequency f, and all transistors switch (from 1 to 0 or vice versa) at that frequency, the capacitor is charged f/2 times per second (discharging from 1 to 0 is free). P dynamic = ½CV DD2 f 1-<26>

Static Power Consumption Power consumed when no gates are switching It is caused by the quiescent supply current, I DD, also called the leakage current Thus, the total static power consumption is: P static = I DD V DD 1-<27>

Power Consumption Example Estimate the power consumption of a wireless handheld computer V DD = 1.2 V C = 20 nf f = 1 GHz I DD = 20 ma 1-<28>

Power Consumption Example Estimate the power consumption of a wireless handheld computer V DD = 1.2 V C = 20 nf f = 1 GHz I DD = 20 ma P = ½CV DD2 f + I DD V DD = ½(20 nf)(1.2 V) 2 (1 GHz) + (20 ma)(1.2 V) = 14.4 W 1-<29>

Homework Can you implement a logic with NAND or NOR gate(s) only? Why? Lecture #2 30

Multiplexers -If S is 0, then I 0 will pass and I 1 is blocked. Thus, y=i 0. -Likewise, if S is 1, y=i 1. 31

More than 2-to-1 Multiplexers -We can also make a 4:1 MUX using three 2:1 MUX A B 0 MUX 1 0 Z S 0 MUX Z C D 0 MUX 1 1 S 1 If S 1 S 0 = 00, then S 1 will select MUX from A and B. nce S 0 =0, Z= A S1 S0 Z 0 0 A 0 1? 1 0? 1 1? 32

Multiplexers -We can make 4:1 and above MUXes too. -With 4 inputs, our selector needs to have two bits. 33

Question: What is the relation between number of inputs and the min. number of bits of selector? 34

35

36

4-bit Ripple Carry Adders -Chain 4 1-bit full adders together. A3A2A1A0 + B3B2B1B0 = C4 S3S2S1S0 -Connect the carry-out of the previous adder and the carry-in of the next adder. -Worst delay path (critical path): from A 0, B 0, or C 0 to S 3, or C 4 37

Critical Path for worst delay Propagation from C 0 to C 4 1110 0001 C 0 C 4 38

Lecture #2 39

Welcome to Verilog Lecture #2 40

Introduction to Verilog HDL Home work(reading materials) Warning: Some information contained in the following reading materials(or any material in general) may be incorrect and not working. Only way to verify the correctness of the information is to test it by simulating and synthesizing using our Altera Quartus SW & HW kit. 1. [Quartus II example with Verilog]: Note: You can do this without understanding of Verilog. Follow the instructions described in tut_quartus_intro_verilog_de1 This is the same homework in Lecture#1 except Verilog is used as a design entry instead of Schematic diagram. 2. [Tutorial for beginner]: Follow Verilog short tutorial to make yourself familiar with this new design entry methodology. 3. [Manual]: intro_verilog_manual 4. [Short Reference Card]: Two-page Card Multiple-page Card 5. In addition, there are numerous Verilog information & tutorials available on the web in doc, book, & video format. The Verilog on wiki is an excellent place to learn the background. This Verilog Tutorial is one of tutorial sites. You can use whatever you feel comfortable. 41