Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 11 Recursive Architectures for 2DLNS.

Slides:



Advertisements
Similar presentations
CENG536 Computer Engineering Department Çankaya University.
Advertisements

UNIVERSITY OF MASSACHUSETTS Dept
King Fahd University of Petroleum and Minerals
Copyright 2008 Koren ECE666/Koren Part.9b.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
Assembly Language and Computer Architecture Using C++ and Java
Number Systems Standard positional representation of numbers:
Chapter 6 Arithmetic. Addition Carry in Carry out
ECE C03 Lecture 61 Lecture 6 Arithmetic Logic Circuits Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Assembly Language and Computer Architecture Using C++ and Java
CHAPTER 2: Number Systems
UNIVERSITY OF MASSACHUSETTS Dept
Distributed Arithmetic: Implementations and Applications
1 ECE369 Chapter 3. 2 ECE369 Multiplication More complicated than addition –Accomplished via shifting and addition More time and more area.
Copyright 2008 Koren ECE666/Koren Part.6a.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
1 CSE-221 Digital Logic Design (DLD) Lecture-1: Digital Systems & Number Systems.
DIGITAL SYSTEMS TCE1111 Representation and Arithmetic Operations with Signed Numbers Week 6 and 7 (Lecture 1 of 2)
Computer Arithmetic Integers: signed / unsigned (can overflow) Fixed point (can overflow) Floating point (can overflow, underflow) (Boolean / Character)
Multiplication.
4 Operations On Data Foundations of Computer Science ã Cengage Learning.
Prepared by: Hind J. Zourob Heba M. Matter Supervisor: Dr. Hatem El-Aydi Faculty Of Engineering Communications & Control Engineering.
Dr. Bernard Chen Ph.D. University of Central Arkansas
ELEN 5346/4304 DSP and Filter Design Fall Lecture 12: Number representation and Quantization effects Instructor: Dr. Gleb V. Tcheslavski Contact:
Coping With the Carry Problem 1. Limit Carry to Small Number of Bits Hybrid Redundant Residue Number Systems 2.Detect the End of Propagation Rather Than.
ECE 8053 Introduction to Computer Arithmetic (Website: Course & Text Content: Part 1: Number Representation.
Data Representation – Binary Numbers
Computer Arithmetic Nizamettin AYDIN
Chapter 6-2 Multiplier Multiplier Next Lecture Divider
A Bit-Serial Method of Improving Computational Efficiency of Dot-Products 1.
Logical Circuit Design Week 8: Arithmetic Circuits Mentor Hamiti, MSc Office ,
Part.7.1 Copyright 2007 Koren & Krishna, Morgan-Kaufman FAULT TOLERANT SYSTEMS Part 7 - Coding.
Arithmetic Chapter 4.
Chapter 8 Problems Prof. Sin-Min Lee Department of Mathematics and Computer Science.
07/19/2005 Arithmetic / Logic Unit – ALU Design Presentation F CSE : Introduction to Computer Architecture Slides by Gojko Babić.
Reconfigurable Computing - Multipliers: Options in Circuit Design John Morris Chung-Ang University The University of Auckland ‘Iolanthe’ at 13 knots on.
Digital Kommunikationselektronik TNE027 Lecture 2 1 FA x n –1 c n c n1- y n1– s n1– FA x 1 c 2 y 1 s 1 c 1 x 0 y 0 s 0 c 0 MSB positionLSB position Ripple-Carry.
ECEG-3202: Computer Architecture and Organization, Dept of ECE, AAU 1 Floating-Point Arithmetic Operations.
ECE 8053 Introduction to Computer Arithmetic (Website: Course & Text Content: Part 1: Number Representation.
Mohammad Reza Najafi Main Ref: Computer Arithmetic Algorithms and Hardware Designs (Behrooz Parhami) Spring 2010 Class presentation for the course: “Custom.
CSC 221 Computer Organization and Assembly Language
Low-Power and Area-Efficient Carry Select Adder on Reconfigurable Hardware Presented by V.Santhosh kumar, B.Tech,ECE,4 th Year, GITAM University Under.
Lecture notes Reading: Section 3.4, 3.5, 3.6 Multiplication
Fixed & Floating Number Format Dr. Hugh Blanton ENTC 4337/5337.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 8 Arithmetic.
Combinational Circuits
Unconventional Fixed-Radix Number Systems
CS/EE 3700 : Fundamentals of Digital System Design Chris J. Myers Lecture 5: Arithmetic Circuits Chapter 5 (minus 5.3.4)
PHY 201 (Blum)1 Shift registers and Floating Point Numbers Chapter 11 in Tokheim.
CO5023 Introduction to Digital Circuits. What do we know so far? How to represent numbers (integers and floating point) in binary How to convert between.
Two’s and one’s complement arithmetic CLOCK ARITHMETIC.
CSC 331: DIGITAL LOGIC DESIGN COURSE LECTURER: E. Y. BAAGYERE. CONTACT: LECTURE TIME: 15:40 – 17:45 hrs. VENUE: SP-LAB.
©2010 Cengage Learning SLIDES FOR CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION Click the mouse to move to the next page. Use the ESC key to exit.
CSE 8351 Computer Arithmetic Fall 2005 Instructors: Peter-Michael Seidel.
ECE DIGITAL LOGIC LECTURE 15: COMBINATIONAL CIRCUITS Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2015, 10/20/2015.
Integer Multiplication and Division COE 301 Computer Organization Dr. Muhamed Mudawar College of Computer Sciences and Engineering King Fahd University.
Chapter 8 Computer Arithmetic. 8.1 Unsigned Notation Non-negative notation  It treats every number as either zero or a positive value  Range: 0 to 2.
Reconfigurable Computing - Options in Circuit Design John Morris Chung-Ang University The University of Auckland ‘Iolanthe’ at 13 knots on Cockburn Sound,
ELEC692 VLSI Signal Processing Architecture Lecture 12 Numerical Strength Reduction.
Reconfigurable Computing - Options in Circuit Design John Morris Chung-Ang University The University of Auckland ‘Iolanthe’ at 13 knots on Cockburn Sound,
Number Systems. The position of each digit in a weighted number system is assigned a weight based on the base or radix of the system. The radix of decimal.
Addition and multiplication1 Arithmetic is the most basic thing you can do with a computer, but it’s not as easy as you might expect! These next few lectures.
Unit 1 Introduction Number Systems and Conversion.
Number Systems and Binary Arithmetic
UNIVERSITY OF MASSACHUSETTS Dept
Unconventional Fixed-Radix Number Systems
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
Presentation transcript:

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 11 Recursive Architectures for 2DLNS Multiplication Mahzad Azarmehr Supervisor: Dr. M. Ahmadi Summer 2009

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 22 Outline Multidimensional Logarithmic Number System (MDLNS) Multiplication Recursive Multiplication Synthesis Results Conclusion Introduction Definition Optimal Base Properties Arithmetic Conversion Look-Up Tables Shift/Add Multiplication Algorithm 1-digit 2DLNS Multiplication 2-digit 2DLNS Multiplication One-level of Recursion Two-level of Recursion

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 33 MDLNS (Introduction) Desired characteristics of a number system used in DSP –Smaller size of corresponding representations –More error-free mapping approximations –Less complexity of arithmetic operations –More accurate representation of smaller values ( like less than one coefficient values in a filter )

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 44 MDLNS (Definition) A representation of the real number X, in the form: - where s i is sign (-1,0,1), p j is a real, and e j (i) are integers, is called an n digit multi-dimensional logarithmic representation of X - b is the number of bases used (at least two) and the first one, p 1, is always be assumed to be 2

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 55 MDLNS (Optimal Base) The proper second base (optimal base) should be selected in accordance to the specific design considerations Different bases as D, are used to find the minimal error or score between the set of values and their MDLNS approximations With optimal bases, error-free input data mapping can be significantly improved The value of optimal base doesn’t affect the hardware structure Every MDLNS value is represented in hardware with its sign and corresponding exponents

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 66 MDLNS (Properties) Larger dynamic range More degrees of freedom by virtue of having two or more orthogonal bases and the ability to use multiple digits A significant reduction in hardware complexity Simplified mathematical computation

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 77 MDLNS (Arithmetic) Multiplication and Division Given a single-digit representation of (one-bit sign): x = {s x,a x,b x } and y = {s y,a y,b y } x.y = { s x xor s y, a x + a y, b x + b y } x÷y = { s x xor s y, a x – a y, b x – b y }

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 88 MDLNS (Arithmetic) Addition and Subtraction 2 a x. D b x + 2 a y. D b y = (2 a x.D b x).(1 + 2 a y -a x. D b y -b x ) ≈ (2 a x.D b x).Φ(a y – a x, b y – b x ) 2 a x. D b x – 2 a y. D b y = (2 a x.D b x).( 1 – 2 a y -a x. D b y -b x ) ≈ (2 a x.D b x).Ψ(a y – a x, b y – b x ) The operators Φ and Ψ are lookup tables that store the pre-computed 2DLNS values

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 99 MDLNS (Conversion) There is no functional relationship between Binary and MDLNS representations Conversions between Binary and MDLNS representations are efficiently implemented with Range Addressable Look-up Tables ( RALUT ) The virtue of using multiple digits makes appropriate size of RALUTs reasonably small

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 10 Standard Address Decode LUT does not scale well and is redundant, and therefore can be modified by changing the address decode system from exact matching to range matching

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 11 RALUT Structure A RALUT differs from the classic LUT by changing the address decoder system to match on a range of values rather than exact values

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 12 RALUTs in MDLNS Most of the designs which are used in MDLNS circuits can be efficiently implemented using RALUTs The RALUT is optimal for 2DLNS conversion architectures as its size mainly depends on the value of R (The number of bits to represent second base index); this RALUT has 2 R + 1 rows MDLNS addition/subtraction is also can be implemented using RALUTs

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 13 Multiplication Multiplication is a heavily used arithmetic operation that figures prominently in signal processing and scientific applications Multiplication is hardware intensive, and the main criteria of interest are higher speed, lower power, and less VLSI area The main concern in classic multiplication, often realized by K cycles of shifting and adding, is to speed up the underlying multi-operand addition of partial products Using MDLNS, multiplication can be replaced by parallel small adders

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 14 Multiplication Based on some previous work, considering B = 6 and R = 5 provides most error free mapping of 16-bit binary data, while for 32-bit binary data, B = 11 and R = 9 have been considered In order to achieve the desired precision, 2-digit 2DLNS representations are considered The optimal base for each 2DLNS representation has been computed. The optimal base for 24-bit architecture obtained as D = , and for 42-bit representation calculated as D =

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 15 Shift/Add Multiplication Algorithm With the following notation: a Multiplicand a k-1 a k-2 …a 1 a 0 x Multiplier x k-1 x k-2 …x 1 x 0 p Product p 2k-1 p 2k-2 …p 1 p 0 Each row corresponds to the product of the multiplicand and a single bit of multiplier. Each term is either 0 or a Binary multiplication reduces to adding a set of numbers, each of which is 0, or shifted version of the multiplicand a

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 16 1-digit 2DLNS Multiplication Two parallel adders determine the corresponding exponents of the product Since 1-bit sign representations are assumed, 0 for positive and 1 for negative sign, an XOR gate specifies the sign of product

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 17 2-digit 2DLNS Multiplication Each number is represented with a summation of 2 digits, in HW is shown with a set of sign, first and second base exponents There are four partial products that should be summed up to form the final result

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 18 Recursive Multiplier (One-level of Recursion) For n×n multiplication one can use n/2-bit adders exclusively to accumulate the partial products

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 19 Recursive Multiplier (One-level of Recursion) Applying one level of recursion to a 64 × 64 bit multiplier lead to having four number of base modules which are 2DLNS equivalents to 32 × 32 bit multipliers

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 20 Recursive Multiplier (Two-level of Recursion)

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 21 Recursive Multiplier (Two-level of Recursion)

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 22 Synthesis Results Architecture 64 × 64 bit 2DLNS-based Proposed-1 2DLNS-based Proposed-1 32 × 32 bit 2DLNS-based Proposed-2 Binary-based [1] Binary-based Synopsys Level of RecursionOne TwoOneNone Technology90nm 0.18µm90nm Clock Frequency (MHz) Overall Area (µm) 2 24,041, , ,788, , , Dynamic Power (mW)1, Data Arrival Time (ns) [1] Mokrian, P.; “A Reconfigurable Digital Multiplier Architecture”, M.A.Sc. Thesis, University of Windsor, 2003

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 23 Related Works The recursive multiplication schemes can be implemented in reconfigurable architectures due to their flexibility, performance, speed, and power consumption The 2DLNS/Binary conversions can be improved in terms of using more efficient RALUTs and hardware features 2DLNS addition/subtraction structures can be implemented in order to avoid data conversion Examining potential application in multiplication intensive algorithms in a variety of data widths The parallel and series architectures can be substituted to provide delay and area requirements

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 24 Conclusion These architectures benefit the 2DLNS properties as well as recursive multiplication that lead to low-power and high speed designs Multiple level of recursion can be applied to make the size of converters reasonably small These architectures provide optimistic context to implement high- performance reconfigurable digital signal processors

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 25 Questions and Comments

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 26 Divide and Conquer Design A 2b×2b multiplier can be synthesized using b×b multiplier Although there are four partial products, only three values need to be added 2b×2b multiplication has been reduced to 4 b×b multiplications and a three-operand addition

Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 27 Divide and Conquer Design For 2b×2b multiplication one can use b-bit adders exclusively to accumulate the partial products