Arithmetic Building Blocks

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

Digital Integrated Circuits A Design Perspective. Arithmetic Circuits

Digital Integrated Circuits A Design Perspective

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

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

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

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

VLSI Design I; A. Milenkovic 1

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

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

CMOS Digital Integrated Circuits Lec 10 Combinational CMOS Logic Circuits

Where are we? Data Path Design

CSE477 VLSI Digital Circuits Fall Lecture 20: Adder Design

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

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

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

ECE 2300 Digital Logic & Computer Organization

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

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

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

Arithmetic Circuits-2

Static CMOS Circuits. Example 1

EE115C Digital Electronic Circuits Homework #6

COMBINATIONAL LOGIC. Combinational Logic

Floating Point Representation and Digital Logic. Lecture 11 CS301

Arithmetic Circuits-2

Chapter 2. Review of Digital Systems Design

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

CSE 140 Midterm 3 version A Tajana Simunic Rosing Spring 2015

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

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

VLSI Design, Fall Logical Effort. Jacob Abraham

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

Design of System Elements. Basics of VLSI

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

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

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

9/18/2008 GMU, ECE 680 Physical VLSI Design

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

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

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

EE141- Spring 2004 Digital Integrated Circuits

Lecture 8: Combinational Circuit Design

EFFICIENT MULTIOUTPUT CARRY LOOK-AHEAD ADDERS

ARITHMETIC COMBINATIONAL MODULES AND NETWORKS

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

EE141. Administrative Stuff

EE213, Spr 2017 HW#3 Due: May 17 th, in class. Figure 1

EEC 118 Lecture #6: CMOS Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

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

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

C.K. Ken Yang UCLA Courtesy of MAH EE 215B

Digital Integrated Circuits A Design Perspective

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

ENEE 359a Digital VLSI Design

Lecture 5. Logical Effort Using LE on a Decoder

Digital Integrated Circuits A Design Perspective

Chapter 5 Arithmetic Circuits

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

CS 140 Lecture 14 Standard Combinational Modules

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

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

Dynamic Combinational Circuits. Dynamic Logic

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

Adders allow computers to add numbers 2-bit ripple-carry adder

CprE 281: Digital Logic

Adders, subtractors comparators, multipliers and other ALU elements

Datapath Component Tradeoffs

EE241 - Spring 2000 Advanced Digital Integrated Circuits. Announcements

THE INVERTER. Inverter

Exam 2-Solutions ECE 410

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

Addition and Subtraction

Binary addition by hand. Adding two bits

Lecture 7: Logic design. Combinational logic circuits

EE141-Fall 2011 Digital Integrated Circuits

Digital Integrated Circuits

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

Lecture 11: Adders. Slides courtesy of Deming Chen. Slides based on the initial set from David Harris. 4th Ed.

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

Dynamic Combinational Circuits. Dynamic Logic

Logical Effort: Designing for Speed on the Back of an Envelope David Harris Harvey Mudd College Claremont, CA

EECS150 - Digital Design Lecture 22 - Arithmetic Blocks, Part 1

Adders, subtractors comparators, multipliers and other ALU elements

Review for Final Exam

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Lecture 4. Adders. Computer Systems Laboratory Stanford University

14:332:231 DIGITAL LOGIC DESIGN

CMSC 313 Lecture 15 Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

EECS 141 F01 Lecture 17

Latches. October 13, 2003 Latches 1

GALOP : A Generalized VLSI Architecture for Ultrafast Carry Originate-Propagate adders

S No. Questions Bloom s Taxonomy Level UNIT-I

CPE/EE 427, CPE 527 VLSI Design I Pass Transistor Logic. Review: CMOS Circuit Styles

Arithmetic Circuits How to add and subtract using combinational logic Setting flags Adding faster

7. Combinational Circuits

Properties of CMOS Gates Snapshot

Transcription:

rithmetic uilding locks Datapath elements dder design Static adder Dynamic adder Multiplier design rray multipliers Shifters, Parity circuits ECE 261 Krish Chakrabarty 1 Generic Digital Processor Input-Output MEMORY DTPTH CONTROL ECE 261 Krish Chakrabarty 2

uilding locks for Digital rchitectures rithmetic unit - it-sliced datapath(adder, multiplier, shifter, comparator, etc.) Memory - RM, ROM, uffers, Shift registers Control - Finite state machine (PL, random logic.) - Counters Interconnect - Switches -rbiters - us ECE 261 Krish Chakrabarty 3 Signals it-sliced Design Metal 2 (control) Data Control Control Metal 1 (data) it 3 Data-in Register dder Shifter Multiplier it 2 it 1 it 0 Data-out Tile identical processing elements ECE 261 Krish Chakrabarty 4

Full-dder Cin Full adder Sum Cout ECE 261 Krish Chakrabarty 5 The inary dder Cin Full adder Sum Cout Sum = C = + + + C o = + + ECE 261 Krish Chakrabarty 6

Sum and Carry as a functions of P, G Define 3 new variable which ONLY depend on, Generate (G) = Propagate (P) = + Delete = ECE 261 Krish Chakrabarty 7 The Ripple-Carry dder 0 0 1 1 2 2 3 3 C o,0 C o,1 C o,2 F F F F (=,1 ) S 0 S 1 S 2 S 3 Worst case delay linear with the number of bits t d =O(N) t d = (N-1)t carry + t sum Goal: Make the fastest possible carry path circuit ECE 261 Krish Chakrabarty 8

Complimentary Static CMOS Full dder X S Note: 1) S = + C o ( + + ) 2) Placement of 3) Two inverter stages for each C o C o O(N) delay 28 Transistors ECE 261 Krish Chakrabarty 9 Inversion Property Inverting all inputs results in inverted outputs F C o F C o S S ECE 261 Krish Chakrabarty 10

Minimize Critical Path by Reducing Inverting Stages Even Cell Odd Cell 0 1 1 0 2 3 3 2 C o,0 C o,1 C o,2 F F F F S 0 S 1 S 2 S 3 Exploit Inversion Property Need two different types of cells, F : no inverter in carry path ECE 261 Krish Chakrabarty 11 better structure: the Mirror dder -Propagate Kill C o S -Propagate Generate 24 transistors ECE 261 Krish Chakrabarty 12

The Mirror dder Symmetrical NMOS and PMOS chains identical rising and falling transitions if the NMOS and PMOS devices are properly sized. Maximum of two series transistors in the carry-generation circuitry. Critical issue: minimization of the capacitance at C o. Reduction of the diffusion capacitances important. The capacitance at C o composed of four diffusion capacitances, two internal gate capacitances, and six gate capacitances in the connecting adder cell. Transistors connected to placed closest to output. Only the transistors in carry stage have to be optimized for speed. ll transistors in the sum stage can be minimal size. ECE 261 Krish Chakrabarty 13 NP-CMOS dder S 1 1 17 transistors, ignoring extra inverters for inputs and outputs 1 1 1 1 0 2 1 1 Ci1 1 1 1 0 0 0 0 0 0 0 0 0 S 0 0 Carry Path ECE 261 Krish Chakrabarty 14

Manchester Carry Chain P 0 P 1 P 2 P 3 P 4 C o,4 G 0 G 1 G 2 G 3 G 4 Only nmos transmission gates used. Why? Delay of long series of pass gates: add buffers ECE 261 Krish Chakrabarty 15 Carry-ypass dder 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 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 P=P o P 1 P 2 P 3 Idea: If (P0 and P1 and P2 and P3 = 1) then C o3 =C 0, else kill or generate. ECE 261 Krish Chakrabarty 16

Manchester-Carry Implementation P 0 P 1 G 0 G 1 P 2 G 2 P 3 G 3 P P ECE 261 Krish Chakrabarty 17 Carry-ypass dder (cont.) it 0-3 it 4-7 it 8-11 it 12-15 Carry Carry Carry Carry Propagation Propagation Propagation Propagation Sum Sum Sum Sum Design N-bit adder using N/M equal length stages e.g. N = 16, M = 4 What is the critical path? t p = t setup + Mt carry + (N/M-1)t bypass + M tcarry + t sum, i.e. O(N) ECE 261 Krish Chakrabarty 18

Carry Ripple versus Carry ypass t p ripple adder bypass adder 4..8 N ECE 261 Krish Chakrabarty 19 Carry-Select dder Generate carry out for both 0 and 1 incoming carries P,G Carry Propagation 4-bit block for bits k, k+1, k+2, k+3 Carry Propagation C o,k-1 Co,k+3 Carry Vector SumGeneration ECE 261 Krish Chakrabarty 20

Carry Select dder: Critical Path it 0-3 it 4-7 it 8-11 it 12-15 Carry Carry Carry Carry Carry Carry Carry Carry C o,7 C o,11 C o,15 S 0-3 S 4-7 S 8-11 S 12-15 ECE 261 Krish Chakrabarty 21 Carry-Select dder: Linear Configuration it 0-3 it 4-7 it 8-11 it 12-15 Carry (1) Carry (1) (5) (5) (6) Carry Carry (5) Carry Carry (5) (7) (8) Carry Carry (5) C o,7 C o,11 C o,15 S 0-3 S 4-7 S 8-11 S 12-15 re equal-sized blocks best? ECE 261 Krish Chakrabarty 22

Linear Carry Select it 0-3 it 4-7 it 8-11 it 12-15 Carry Carry Carry Carry Carry Carry Carry Carry C o,7 C o,11 C o,15 S 0-3 S 4-7 S 8-11 S 12-15 ECE 261 Krish Chakrabarty 23 Square Root Carry Select it 0-1 it 2-4 it 5-8 it 9-13 (1) Carry (1) Carry (3) (3) (4) Carry Carry (4) Carry Carry (5) (5) (6) Carry Carry (6) C o,7 C o,11 C o,15 i.e., O( N) ECE 261 Krish Chakrabarty 24

dder Delays - Comparison 50.0 40.0 ripple adder 30.0 tp 20.0 linear select 10.0 square root select 0.0 0.0 20.0 40.0 60.0 N ECE 261 Krish Chakrabarty 25 Carry Look-head - asic Idea 0, 0 1, 1 N-1, N-1... P0,1 P 1,N-1 P N-1... S 0 S 1 S N-1 Delay independent of the number of bits ECE 261 Krish Chakrabarty 26

Carry-Lookahead dders High fanin for large N Implement as CL slices, or use 2nd level lookahead generator 4 4 4 4 4 4 4 4 16-bit CL based on 4-bit slices and ripple carry 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 Faster implementation CL generator ECE 261 Krish Chakrabarty 27 Look-head: Topology G 3 G 2 G 1 G 0 P 0 P 1 P 2 P 3 Gnd ECE 261 Krish Chakrabarty 28