Digital Integrated Circuits A Design Perspective. Arithmetic Circuits

Similar documents
Digital Integrated Circuits A Design Perspective

Digital Integrated Circuits A Design Perspective. Arithmetic Circuits. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.

Bit-Sliced Design. EECS 141 F01 Arithmetic Circuits. A Generic Digital Processor. Full-Adder. The Binary Adder

Arithmetic Building Blocks

Digital Integrated Circuits A Design Perspective. Arithmetic Circuits. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.

EE141-Fall 2010 Digital Integrated Circuits. Announcements. An Intel Microprocessor. Bit-Sliced Design. Class Material. Last lecture.

Hw 6 due Thursday, Nov 3, 5pm No lab this week

VLSI Design I; A. Milenkovic 1

EECS 427 Lecture 8: Adders Readings: EECS 427 F09 Lecture 8 1. Reminders. HW3 project initial proposal: due Wednesday 10/7

CMPEN 411 VLSI Digital Circuits Spring Lecture 19: Adder Design

VLSI Design. [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.] ECE 4121 VLSI DEsign.1

Arithmetic Circuits-2

CMPEN 411 VLSI Digital Circuits Spring Lecture 21: Shifters, Decoders, Muxes

CSE477 VLSI Digital Circuits Fall Lecture 20: Adder Design

ECE 2300 Digital Logic & Computer Organization

Where are we? Data Path Design

Where are we? Data Path Design. Bit Slice Design. Bit Slice Design. Bit Slice Plan

Homework 4 due today Quiz #4 today In class (80min) final exam on April 29 Project reports due on May 4. Project presentations May 5, 1-4pm

Arithmetic Circuits-2

EE141. Lecture 28 Multipliers. Lecture #20. Project Phase 2 Posted. Sign up for one of three project goals today

CMOS Digital Integrated Circuits Lec 10 Combinational CMOS Logic Circuits

L15: Custom and ASIC VLSI Integration

Overview. Arithmetic circuits. Binary half adder. Binary full adder. Last lecture PLDs ROMs Tristates Design examples

Lecture 12: Datapath Functional Units

Lecture 18: Datapath Functional Units

The Inverter. Digital Integrated Circuits A Design Perspective. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic

CSE140: Components and Design Techniques for Digital Systems. Logic minimization algorithm summary. Instructor: Mohsen Imani UC San Diego

Design of System Elements. Basics of VLSI

Lecture 12: Datapath Functional Units

Integrated Circuits & Systems

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>

UNIT 8A Computer Circuitry: Layers of Abstraction. Boolean Logic & Truth Tables

CS 140 Lecture 14 Standard Combinational Modules

Module 2. Basic Digital Building Blocks. Binary Arithmetic & Arithmetic Circuits Comparators, Decoders, Encoders, Multiplexors Flip-Flops

Topics. CMOS Design Multi-input delay analysis. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Floating Point Representation and Digital Logic. Lecture 11 CS301

Arithmetic Circuits-2

Review. EECS Components and Design Techniques for Digital Systems. Lec 18 Arithmetic II (Multiplication) Computer Number Systems

Arithmetic Circuits Didn t I learn how to do addition in the second grade? UNC courses aren t what they used to be...

ALUs and Data Paths. Subtitle: How to design the data path of a processor. 1/8/ L3 Data Path Design Copyright Joanne DeGroat, ECE, OSU 1

Hardware Design I Chap. 4 Representative combinational logic

CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 07: Pass Transistor Logic

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Chapter 7: Digital Components. Oregon State University School of Electrical Engineering and Computer Science. Review basic digital design concepts:

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015

Chapter 2. Review of Digital Systems Design

CMPEN 411 VLSI Digital Circuits. Lecture 04: CMOS Inverter (static view)

VLSI Design, Fall Logical Effort. Jacob Abraham

Digital Integrated Circuits A Design Perspective

Digital Integrated Circuits A Design Perspective

Adders, subtractors comparators, multipliers and other ALU elements

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

CSE140: Components and Design Techniques for Digital Systems. Decoders, adders, comparators, multipliers and other ALU elements. Tajana Simunic Rosing

EE141- Spring 2004 Digital Integrated Circuits

EECS 312: Digital Integrated Circuits Final Exam Solutions 23 April 2009

EC 413 Computer Organization

Adders, subtractors comparators, multipliers and other ALU elements

EEC 216 Lecture #3: Power Estimation, Interconnect, & Architecture. Rajeevan Amirtharajah University of California, Davis

CSE 140 Midterm 3 version A Tajana Simunic Rosing Spring 2015

Spiral 2-1. Datapath Components: Counters Adders Design Example: Crosswalk Controller

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

CMOS logic gates. João Canas Ferreira. March University of Porto Faculty of Engineering

Integer Multipliers 1

Logic. Basic Logic Functions. Switches in series (AND) Truth Tables. Switches in Parallel (OR) Alternative view for OR

CMPEN 411 VLSI Digital Circuits Spring 2012 Lecture 17: Dynamic Sequential Circuits And Timing Issues

CMPE12 - Notes chapter 1. Digital Logic. (Textbook Chapter 3)

CMSC 313 Lecture 16 Announcement: no office hours today. Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

Digital Integrated Circuits A Design Perspective

EECS150 - Digital Design Lecture 24 - Arithmetic Blocks, Part 2 + Shifters

EE115C Digital Electronic Circuits Homework #6

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

Lecture 34: Portable Systems Technology Background Professor Randy H. Katz Computer Science 252 Fall 1995

Full Adder Ripple Carry Adder Carry-Look-Ahead Adder Manchester Adders Carry Select Adder

Introduction to Computer Engineering. CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison

Integrated Circuits & Systems

CprE 281: Digital Logic

Very Large Scale Integration (VLSI)

ARITHMETIC COMBINATIONAL MODULES AND NETWORKS

Lecture 8: Combinational Circuit Design

Lecture 7: Logic design. Combinational logic circuits

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Addition and Subtraction

Chapter 5 Arithmetic Circuits

Logic and Computer Design Fundamentals. Chapter 8 Sequencing and Control

EE141-Fall 2011 Digital Integrated Circuits

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

EE141. Administrative Stuff

EEC 116 Lecture #5: CMOS Logic. Rajeevan Amirtharajah Bevan Baas University of California, Davis Jeff Parkhurst Intel Corporation

7. Combinational Circuits

L2: Combinational Logic Design (Construction and Boolean Algebra)

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

Integrated Circuits & Systems

Motivation for Lecture. For digital design we use CMOS transistors. Gate Source. CMOS symboler. MOS transistor. Depletion. A channel is created

Review for Final Exam

S No. Questions Bloom s Taxonomy Level UNIT-I

Introduction to CMOS VLSI Design Lecture 1: Introduction

L2: Combinational Logic Design (Construction and Boolean Algebra)

14:332:231 DIGITAL LOGIC DESIGN

Design at the Register Transfer Level

Transcription:

Digital Integrated Circuits Design Perspective rithmetic Circuits Reference: Digital Integrated Circuits, 2nd edition, Jan M. Rabaey, nantha Chandrakasan and orivoje Nikolic Disclaimer: slides adapted for INE5442/EEL7312 by José L. Güntzel from the book s companion slides made available by the authors. 1

Generic Digital Processor MEM ORY INPUT-OUTPUT CONTROL DTPTH 2

uilding locks for Digital rchitectures rithmetic unit - it-sliced datapath (adder, multiplier, shifter, comparator, etc.) Memory - RM, ROM, uffers, hift registers Control - Finite state machine (PL, random logic.) - Counters Interconnect - witches - rbiters - us 3

n Intel Microprocessor 9-1 Mux 5-1 Mux a CRRYGEN g64 node1 ck1 UMEL REG sum sumb to Cache 9-1 Mux 2-1 Mux b UMGEN + LU s0 s1 LU : Logical Unit 1000um Itanium has 6 integer execution units like this 4

it-liced Design Control it 3 Data-In Register dder hifter Multiplexer it 2 it 1 it 0 Data-Out Tile identical processing elements 5

it-liced Datapath From register files / Cache / ypass Multiplexers hifter dder stage 1 Loopback us Loopback us Wiring dder stage 2 Wiring Loopback us it slice 63 dder stage 3 um elect it slice 2 it slice 1 it slice 0 To register files / Cache 6

Itanium Integer Datapath Fetzer, Orton, ICC 02 7

dders 8

Full-dder Cin Full adder um Cout 9

The inary dder Cin Full adder um Cout = = + + + C o = + + 10

Express um and Carry as a function of P, G, D Define 3 new variable which ONLY depend on, Generate (G) = Propagate (P) = Delete = Can also derive expressions for and C o based on D and P Note that we will be sometimes using an alternate definition for Propagate (P) = + 11

The Ripple-Carry dder 0 0 1 1 2 2 3 3,0 C o,0 C o,1 C o,2 C o,3 F F F F (=,1 ) 0 1 2 3 Worst case delay linear with the number of bits t d = O(N) t adder = (N-1)t carry + t sum Goal: Make the fastest possible carry path circuit 12

Complimentary tatic CMO Full dder V DD V DD X V DD V DD C o 28 Transistors 13

Inversion Property F C o F C o 14

Minimize Critical Path by Reducing Inverting tages Even cell Odd cell 0 0 1 1 2 2 3 3,0 C o,0 C o,1 C o,2 C o,3 F F F F 0 1 2 3 Exploit Inversion Property 15

etter tructure: The Mirror dder V DD V DD V DD "0"-Propagate Kill C o "1"-Propagate Generate 24 transistors 16

Mirror dder tick Diagram V DD C o C o GND 17

The Mirror dder The NMO and PMO chains are completely symmetrical. maximum of two series transistors can be observed in the carrygeneration circuitry. When laying out the cell, the most critical issue is the minimization of the capacitance at node C o. The reduction of the diffusion capacitances is particularly important. The capacitance at node C o is composed of four diffusion capacitances, two internal gate capacitances, and six gate capacitances in the connecting adder cell. The transistors connected to are placed closest to the output. Only the transistors in the carry stage have to be optimized for optimal speed. ll transistors in the sum stage can be minimal size. 18

Transmission Gate Full dder P V DD V DD P P um Generation V DD P P P V DD C o Carry Generation etup P 19

Manchester Carry Chain V DD P i φ P i V DD C o G i Ci C o G i P i D i φ 20

Manchester Carry Chain φ V DD P 0 P 1 P 2 P 3 C 3,0 G 0 G 1 G 2 G 3 φ C 0 C 1 C 2 C 3 21

Manchester Carry Chain tick Diagram Propagate/Generate Row V DD P i G i φ P i + 1 G i + 1 φ - 1 + 1 GND Inverter/um Row 22

Carry-ypass dder,0 P 0 G 1 P 0 G 1 P 2 G 2 P 3 G 3 C o,0 C o,1 C o,2 F F F F C o,3 lso called Carry-kip P 0 G 1 P 0 G 1 P 2 G 2 P 3 G 3 P=P o P 1 P 2 P 3,0 C o,0 C o,1 C o,2 F F F F Multiplexer C o,3 Idea: If (P0 and P1 and P2 and P3 = 1) then C o3 = C 0, else kill or generate. 23

Carry-ypass dder (cont.) it 0 3 it 4 7 it 8 11 it 12 15 etup t setup etup t bypass etup etup Carry propagation Carry propagation Carry propagation Carry propagation um um um t sum um M bits t adder = t setup + M tcarry + (N/M-1)t bypass + (M-1)t carry + t sum 24

Multipliers 25

The inary Multiplication Z M + N 1 X Y Z k 2 k = = = = M 1 i = 0 M 1 i = 0 X i 2 i N 1 j = 0 k = 0 N 1 j = 0 Y j 2 j X i Y j 2 i + j with X Y = = M 1 i = 0 N 1 j = 0 X i 2 i Y j 2 j 26

The inary Multiplication + x 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 0 Multiplicand Multiplier Partial products Result 27

The rray Multiplier X 3 X 2 X 1 X 0 Y 0 X 3 X 2 X 1 X 0 Y 1 Z 0 H F F H X 3 X 2 X 1 X 0 Y 2 Z 1 F F F H X3 X 2 X 1 X 0 Y 3 Z 2 F F F H Z 7 Z 6 Z 5 Z 4 Z 3 28

The MxN rray Multiplier Critical Path H F F H F F F H Critical Path 1 Critical Path 2 F F F H Critical Path 1 & 2 29

Carry-ave Multiplier H H H H H F F F H F F F H F F H Vector Merging dder 30

Multiplier Floorplan X 3 X 2 X 1 X 0 Y 0 Y 1 C C C C Z 0 H Multiplier Cell F Multiplier Cell Y 2 C C C C Z 1 Vector Merging Cell Y 3 C C C C Z 2 X and Y signals are broadcasted through the complete array. ( ) C C C C Z 7 Z 6 Z 5 Z 4 Z 3 31

hifters 32

The inary hifter Right nop Left i i i-1 i-1 it-lice i... 33

The arrel hifter 3 3 h1 2 2 1 h2 1 : Data Wire : Control Wire 0 h3 0 h0 h1 h2 h3 rea Dominated by Wiring 34

4x4 barrel shifter 3 2 1 0 h0 h 1 h2 h3 Width barrel ~ 2 p m M uffer 35