Digital Design and System Implementation

Slides:



Advertisements
Similar presentations
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Advertisements

Chapter 4 Gates and Circuits.
CSET 4650 Field Programmable Logic Devices
COMP541 Transistors and all that… a brief overview
Sequential MOS Logic Circuits
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 16 - Sequential.
Lecture: 1.6 Tri-states, Mux, Latches & Flip Flops
VLSI Design Circuits & Layout
Copyright © 2001 Stephen A. Edwards All rights reserved Review of Digital Logic Prof. Stephen A. Edwards.
Introduction to CMOS VLSI Design Lecture 1: Circuits & Layout
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
FPGA structure and programming - Eli Kaminsky 1 FPGA structure and programming.
CS 150 – Fall Lec #26 – Digital Design – 1 Digital Design and System Implementation zOverview of Physical Implementations zCMOS devices zCMOS transistor.
EECS 150 Fa04 Lecture 2 EECS Components and Design Techniques for Digital Systems Lec 02 – CMOS Technology David Culler Electrical Engineering.
Fall 2002EECS150 - Lec02-CMOS Page 1 EECS150 - Digital Design Lecture 2 - CMOS August 27, 2003 by Mustafa Ergen Lecture Notes: John Wawrzynek.
ECE C03 Lecture 41 Lecture 4 Combinational Logic Implementation Technologies Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.
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.
Programmable logic and FPGA
© UC Berkeley 8/30/2007 EECS150-F05 CMOS lec02 1 EECS Components and Design Techniques for Digital Systems Lec 02 – Gates and CMOS Technology
Multiplexers, Decoders, and Programmable Logic Devices
© 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.
ECE 331 – Digital System Design Tristate Buffers, Read-Only Memories and Programmable Logic Devices (Lecture #16) The slides included herein were taken.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Sequential Switching Networks.
VLSI Design Circuits & Layout
Introduction to CMOS VLSI Design Circuits & Layout
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.
Chapter 4 Gates and Circuits.
Switched capacitor DC-DC converter ASICs for the upgraded LHC trackers M. Bochenek 1,2, W. Dąbrowski 2, F. Faccio 1, S. Michelis 1 1. CERN, Conseil Européen.
MOS Transistors The gate material of Metal Oxide Semiconductor Field Effect Transistors was original made of metal hence the name. Present day devices’
EGRE 427 Advanced Digital Design Figures from Application-Specific Integrated Circuits, Michael John Sebastian Smith, Addison Wesley, 1997 Chapter 2 CMOS.
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?
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
CSE Autumn CMOS I - 1 MOS Technology zUnderlying implementation technology of virtually all hardware components in wide-spread use today zObeying.
4-1 Introduction Chapter # 4: Programmable and Steering Logic.
CS/EE 3700 : Fundamentals of Digital System Design
Figure 3.1 Logic values as voltage levels Figure 3.2 NMOS transistor as a switch DrainSource x = "low"x = "high" (a) A simple switch controlled by the.
EE4800 CMOS Digital IC Design & Analysis
Basic Sequential Components CT101 – Computing Systems Organization.
Chapter 1 Combinational CMOS Logic Circuits Lecture # 4 Pass Transistors and Transmission Gates.
1 ASIC 120: Digital Systems and Standard-Cell ASIC Design Tutorial 1: Introduction to Digital Circuits January 25, 2006.
Logical Circuits Philip Gebhardt 3/15/2011. Logic Circuits Negative, Positive, and Complimentary circuits Logic Gates Programmable Logic Devices.
Contemporary Logic Design Prog. & Steering Logic © R.H. Katz Transparency No. 8-1 Chapter # 4: Programmable and Steering Logic Section 4.2.
ESS | FPGA for Dummies | | Maurizio Donna FPGA for Dummies Basic FPGA architecture.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Introduction to Field Programmable Gate Arrays (FPGAs) EDL Spring 2016 Johns Hopkins University Electrical and Computer Engineering March 2, 2016.
COMP541 Transistors and all that… a brief overview
Sequential Programmable Devices
Sequential Logic Design
Instructor:Po-Yu Kuo 教師:郭柏佑
QUIZ COMPETITION SENSOR FOR FASTEST FINGER PRESS
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Fundamentals of Computer Science Part i2
We will be studying the architecture of XC3000.
Digital Logic Structures Logic gates & Boolean logic
Digital Electronics Lab 2 Instructor:
Instructor:Po-Yu Kuo 教師:郭柏佑
EENG447 Digital IC Design Dr. Gürtaç Yemişcioğlu.
January 24 W’05 Yutao He 4532B Boelter Hall CSM51A/EEM16-Sec.1 W’05
COMP541 Transistors and all that… a brief overview
Unit -4 Introduction to Embedded Systems Tuesday.
Presentation transcript:

Digital Design and System Implementation Overview of Physical Implementations CMOS devices CMOS transistor circuit functional behavior Basic logic gates Transmission gates Tri-state buffers Flip-flops vs. latches revisited CS 150 – Spring 2007 - Lec #26 – Digital Design – 1

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, ...) 1-25 conductive layers holds boards, power supply, fans, provides physical interface to user or other systems Connectors and Cables CS 150 – Spring 2007 - Lec #26 – Digital Design – 2

CS 150 – Spring 2007 - Lec #26 – Digital Design – 3 Integrated Circuits Primarily Crystalline Silicon 1mm - 25mm on a side 200 - 400M effective transistors (50 - 75M “logic gates") 3 - 10 conductive layers 2007 feature size ~ 65nm = 0.065 x 10-6 m 45nm coming on line “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 CS 150 – Spring 2007 - Lec #26 – Digital Design – 3

Printed Circuit Boards Fiberglass or ceramic 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 CS 150 – Spring 2007 - Lec #26 – Digital Design – 4

CS 150 – Spring 2007 - Lec #26 – Digital Design – 5 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 consequences of Moore’s law? CS 150 – Spring 2007 - Lec #26 – Digital Design – 5

CS 150 – Spring 2007 - Lec #26 – Digital Design – 6 Integrated Circuits Uses for Digital IC technology today: Standard microprocessors Used in desktop PCs, and embedded applications (ex: automotive) 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 CS 150 – Spring 2007 - Lec #26 – Digital Design – 6

CS 150 – Spring 2007 - Lec #26 – Digital Design – 7 CMOS Devices 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 CS 150 – Spring 2007 - Lec #26 – Digital Design – 7

Transistor-level Logic Circuits Inverter (NOT gate): NAND gate Note: out = 0 iff both a AND b = 1 therefore out = (ab)’ pFET network and nFET network are duals of one another. How about AND gate? CS 150 – Spring 2007 - Lec #26 – Digital Design – 8

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 CS 150 – Spring 2007 - Lec #26 – Digital Design – 9

Transistor-level Logic Circuits NAND gate NOR gate Note: 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)’ CS 150 – Spring 2007 - Lec #26 – Digital Design – 10

Logic and Layout: NAND Gate CS 150 – Spring 2007 - Lec #26 – Digital Design – 11

CS 150 – Spring 2007 - Lec #26 – Digital Design – 12 Transmission Gate Transmission gates are the way to build “switches” in CMOS In general, both transistor types are needed: nFET to pass zeros pFET to pass ones The transmission gate is bi-directional (unlike logic gates) Does not directly connect to Vdd and GND, but can be combined with logic gates or buffers to simplify many logic structures CS 150 – Spring 2007 - Lec #26 – Digital Design – 12

Pass-Transistor Multiplexer 2-to-1 multiplexer: c = sa + s’b Switches simplify the implementation: s a c s’ b CS 150 – Spring 2007 - Lec #26 – Digital Design – 13

4-to-1 Pass-transistor Mux The series connection of pass-transistors in each branch effectively forms the AND of s1 and s0 (or their complement) 20 transistors CS 150 – Spring 2007 - Lec #26 – Digital Design – 14

Alternative 4-to-1 Multiplexer This version has less delay from in to out Care must be taken to avoid turning on multiple paths simultaneously (shorting together the inputs) 36 Transistors CS 150 – Spring 2007 - Lec #26 – Digital Design – 15

Example: Tally Circuit N inputs: How many of these are asserted? Tally N Two One Zero In I1 … … E.g., 1 input, 2 outputs: One, Zero E.g., 2 inputs, 3 outputs: Two, One, Zero N inputs, N+1 outputs: N, …, One, Zero CS 150 – Spring 2007 - Lec #26 – Digital Design – 16

Example: Tally Circuit 1 CS 150 – Spring 2007 - Lec #26 – Digital Design – 17

Example: Tally Circuit CS 150 – Spring 2007 - Lec #26 – Digital Design – 18

Example: Tally Circuit CS 150 – Spring 2007 - Lec #26 – Digital Design – 19

Example: Tally Circuit 2 inputs, 3 outputs: Two, One, Zero I1 1 1 CS 150 – Spring 2007 - Lec #26 – Digital Design – 20

Example: Tally Circuit 2 inputs, 3 outputs: Two, One, Zero I1 1 CS 150 – Spring 2007 - Lec #26 – Digital Design – 21

Example: Tally Circuit 2 inputs, 3 outputs: Two, One, Zero CS 150 – Spring 2007 - Lec #26 – Digital Design – 22

Example: Tally Circuit 2 inputs, 3 outputs: Two, One, Zero CS 150 – Spring 2007 - Lec #26 – Digital Design – 23

Example: Tally Circuit 2 inputs, 3 outputs: Two, One, Zero CS 150 – Spring 2007 - Lec #26 – Digital Design – 24

Example: Tally Circuit 2 inputs, 3 outputs: Two, One, Zero CS 150 – Spring 2007 - Lec #26 – Digital Design – 25

Example: Crossbar Switch N inputs, N outputs, N x N control signals Cross Bar Outi Busi Note: circuit like this used inside Xilinx switching matrix CS 150 – Spring 2007 - Lec #26 – Digital Design – 26

CS 150 – Spring 2007 - Lec #26 – Digital Design – 27 Barrel Shifter Barrel Shifter Bus Out Shift Bus Shift CS 150 – Spring 2007 - Lec #26 – Digital Design – 27

Example: Barrel Shifter N inputs, N outputs, N control signals Shift 0 CS 150 – Spring 2007 - Lec #26 – Digital Design – 28

Example: Barrel Shifter N inputs, N outputs, N control signals Shift 1 CS 150 – Spring 2007 - Lec #26 – Digital Design – 29

Example: Barrel Shifter N inputs, N outputs, N control signals Rotating Shift 1 CS 150 – Spring 2007 - Lec #26 – Digital Design – 30

CS 150 – Spring 2007 - Lec #26 – Digital Design – 31 Tri-state Buffers Variations Tri-state Buffer: Transistor circuit for inverting tri-state buffer: “high impedance” (output disconnected) Inverting buffer Inverted enable “transmission gate” CS 150 – Spring 2007 - Lec #26 – Digital Design – 31

CS 150 – Spring 2007 - Lec #26 – Digital Design – 32 Tri-state Buffers 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”. Bidirectional connections: Busses: CS 150 – Spring 2007 - Lec #26 – Digital Design – 32

Tri-state Based Multiplexer If s=1 then c=a else c=b Transistor Circuit for inverting multiplexer: CS 150 – Spring 2007 - Lec #26 – Digital Design – 33

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. CS 150 – Spring 2007 - Lec #26 – Digital Design – 34

Transistor-level Logic Circuits Positive Level-sensitive latch: Latch Transistor Level: Positive Edge-triggered flip-flop built from two level-sensitive latches: clk’ clk’ clk clk CS 150 – Spring 2007 - Lec #26 – Digital Design – 35

CS 150 – Spring 2007 - Lec #26 – Digital Design – 36 State Machines in CMOS Two Phase Non-Overlapping Clocking P1 P2 In Out R E G Combinational Logic R E G 1/2 Register 1/2 Register State CLK P1 P2 CS 150 – Spring 2007 - Lec #26 – Digital Design – 36

Digital Design and Implementation Summary CMOS preferred implementation technology Much more than simple logic gates Transmission gate as a building block Used to construct “steering logic” Very efficient compact implementations of interconnection and shifting functions Simple storage building blocks D-type flip flop behavior with cross-coupled inverters and two phase clocking Heart of Xilinx implementation structures CS 150 – Spring 2007 - Lec #26 – Digital Design – 37