Implementation of Vedic Math s Sutras and Barrel Shifter in Designing of Multipliers

Similar documents
Vedicmultiplier for RC6 Encryption Standards Using FPGA

Design and FPGA Implementation of a Novel Square Root Evaluator based on Vedic Mathematics

Implementation of Modified Booth Algorithm (Radix 4) and its Comparison with Booth Algorithm (Radix-2)

Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Let s put together a Manual Processor

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

Floating Point Fused Add-Subtract and Fused Dot-Product Units

Chapter 2 Logic Gates and Introduction to Computer Architecture

Efficient Interconnect Design with Novel Repeater Insertion for Low Power Applications

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

(Refer Slide Time: 00:01:16 min)

A Novel Low Power, High Speed 14 Transistor CMOS Full Adder Cell with 50% Improvement in Threshold Loss Problem

FUNDAMENTALS & APPLICATIONS OF VEDIC MATHEMATICS. State Council of Educational Research & Training Varun Marg, Defence Colony, New Delhi

Lecture 8: Binary Multiplication & Division

Binary Division. Decimal Division. Hardware for Binary Division. Simple 16-bit Divider Circuit

AN IMPROVED DESIGN OF REVERSIBLE BINARY TO BINARY CODED DECIMAL CONVERTER FOR BINARY CODED DECIMAL MULTIPLICATION

MATH-0910 Review Concepts (Haugen)

An Efficient RNS to Binary Converter Using the Moduli Set {2n + 1, 2n, 2n 1}

International Journal of Electronics and Computer Science Engineering 1482

Lecture 5: Gate Logic Logic Optimization

Design of Low Power One-Bit Hybrid-CMOS Full Adder Cells

Innovative improvement of fundamental metrics including power dissipation and efficiency of the ALU system

FPGA Implementation of RSA Encryption Engine with Flexible Key Size

Addition Methods. Methods Jottings Expanded Compact Examples = 15

Lecture 2. Binary and Hexadecimal Numbers

MEP Y9 Practice Book A

Microprocessor & Assembly Language

Recall the process used for adding decimal numbers. 1. Place the numbers to be added in vertical format, aligning the decimal points.

Mathematics of Internet Security. Keeping Eve The Eavesdropper Away From Your Credit Card Information

Colour Image Encryption and Decryption by using Scan Approach

ON SUITABILITY OF FPGA BASED EVOLVABLE HARDWARE SYSTEMS TO INTEGRATE RECONFIGURABLE CIRCUITS WITH HOST PROCESSING UNIT

CHAPTER 3 Boolean Algebra and Digital Logic

High Speed and Efficient 4-Tap FIR Filter Design Using Modified ETA and Multipliers

Session 7 Fractions and Decimals

Addressing The problem. When & Where do we encounter Data? The concept of addressing data' in computations. The implications for our machine design(s)

The string of digits in the binary number system represents the quantity

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

EE 261 Introduction to Logic Circuits. Module #2 Number Systems

Implementing the Functional Model of High Accuracy Fixed Width Modified Booth Multiplier

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd )

Design and Analysis of Parallel AES Encryption and Decryption Algorithm for Multi Processor Arrays

Equations, Inequalities & Partial Fractions

Interfacing Analog to Digital Data Converters

RN-coding of Numbers: New Insights and Some Applications

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

Sistemas Digitais I LESI - 2º ano

CS201: Architecture and Assembly Language

N Q.3 Choose a level of accuracy appropriate to limitations on measurement when reporting quantities.

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

Architectural Level Power Consumption of Network on Chip. Presenter: YUAN Zheng

Math Workshop October 2010 Fractions and Repeating Decimals

=

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: b + 90c = c + 10b

Integer Operations. Overview. Grade 7 Mathematics, Quarter 1, Unit 1.1. Number of Instructional Days: 15 (1 day = 45 minutes) Essential Questions

COMPARATIVE ANALYSIS OF 4-BIT AND 8-BIT REVERSIBLE BARREL SHIFTER DESIGNS USING REVKIT

Reconfigurable Low Area Complexity Filter Bank Architecture for Software Defined Radio

Figure 8-1 Four Possible Results of Adding Two Bits

Current Measurement of Resistance Spot Welding Using DSP

PCB ROUTERS AND ROUTING METHODS

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

A Prime Investigation with 7, 11, and 13

MACMILLAN/McGRAW-HILL. MATH CONNECTS and IMPACT MATHEMATICS WASHINGTON STATE MATHEMATICS STANDARDS. ESSENTIAL ACADEMIC LEARNING REQUIREMENTS (EALRs)

Glencoe. correlated to SOUTH CAROLINA MATH CURRICULUM STANDARDS GRADE 6 3-3, , , 4-9

Implementation and Design of AES S-Box on FPGA

A Parallel Processor for Distributed Genetic Algorithm with Redundant Binary Number

NUMBER SYSTEMS. 1.1 Introduction

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

Implementation Of Clock Gating Logic By Matching Factored Forms A.kirankumari 1, P.P. Nagaraja Rao 2

Arithmetic 1 Progress Ladder

INTER CARRIER INTERFERENCE CANCELLATION IN HIGH SPEED OFDM SYSTEM Y. Naveena *1, K. Upendra Chowdary 2

To convert an arbitrary power of 2 into its English equivalent, remember the rules of exponential arithmetic:

Number Sense and Operations

A Step towards an Easy Interconversion of Various Number Systems

İSTANBUL AYDIN UNIVERSITY

Sequences. A sequence is a list of numbers, or a pattern, which obeys a rule.

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

2 SYSTEM DESCRIPTION TECHNIQUES

CS101 Lecture 11: Number Systems and Binary Numbers. Aaron Stevens 14 February 2011

This Unit: Floating Point Arithmetic. CIS 371 Computer Organization and Design. Readings. Floating Point (FP) Numbers

A NEW APPROACH FOR COMPLEX ENCRYPTING AND DECRYPTING DATA

HIGH SPEED AREA EFFICIENT 1-BIT HYBRID FULL ADDER

Working with whole numbers

for the Bill Hanlon

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

OPEN LESSON SAMPLE LESSONS FOR THE CLASSROOM FROM LAYING THE FOUNDATION

Zuse's Z3 Square Root Algorithm Talk given at Fall meeting of the Ohio Section of the MAA October College of Wooster

ELECTENG702 Advanced Embedded Systems. Improving AES128 software for Altera Nios II processor using custom instructions

PREPARATION FOR MATH TESTING at CityLab Academy

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

IJESRT. [Padama, 2(5): May, 2013] ISSN:

Today. Binary addition Representing negative numbers. Andrew H. Fagg: Embedded Real- Time Systems: Binary Arithmetic

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

Linear Equations and Inequalities

Decimals Adding and Subtracting

Adder.PPT(10/1/2009) 5.1. Lecture 13. Adder Circuits

Section 1.5 Exponents, Square Roots, and the Order of Operations

Grade 6 Math Circles. Binary and Beyond

Paramedic Program Pre-Admission Mathematics Test Study Guide

An Effective Deterministic BIST Scheme for Shifter/Accumulator Pairs in Datapaths

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Transcription:

Implementation of Vedic Math s Sutras and Barrel Shifter in Designing of Multipliers Vikram Singh Alok Dubey Yogesh Khandagre M. Tech Associate Prof. Asst. Prof. TITR, Bhopal TITR, Bhopal TITR, Bhopal Abstract In present era the importance of fast and accurate devices is on high. The ALU is a most important part of processing devices. The speed of ALU can improve by using more fast and précised multipliers. Vedic math s is playing important role in designing a multipliers. The study of Urdhva-tiryakbhyam Sutra, Nikhilam Sura, and Booth Multiplier revels that Nikhilam Sutra is having advantage edge over other technologies. The process delay or speed of multiplication is found improved by approx 20% using Nikhilam Sutra. The use of Nikhilam Sutra of Vedic Math s not only improves the performance of ALU but it makes it small in size and more power efficient. 1. Introduction With the rapid advancement in technologies, the demand of faster devices is increasing. Same is going in electronics, where the demand of integrated circuits capable of more and more faster processing is growing. To make faster the process of processor IC s a simple way is to improve the response time of arithmetic logic unit. Arithmetic operations such as addition, subtraction, and multiplication can be use to enhance the speed of computation[1]. In the last few years many researchers have found that Indian Vedic math s sutras can be helpful in reducing the response time of a multiplier. A multiplier is one of the key hardware blocks in most of applications such as digital signal processing encryption and decryption algorithms in cryptography and in other logical computations [2]. Multiplier is the core component of any DSP applications and hence speedof the processor mostly depends on multiplier design[2]. Before starting comparative study, one should know what is Vedic Mathmatics and from where it started from. Vedic mathematics is an ancient method of solving mathematical problems, it was rediscovered from the ancient Indian scriptures between 1911 and 1918 by Sri Bharati Krishna Tirthaji (1884-1960), a scholar of Sanskrit, mathematics, history and philosophy. He studied these ancient texts for years and, after careful investigation, was able to reconstruct a series of mathematical formulae called sutras[3]. There are total 16 sutras, who defines the calculation process in vedic math s 1. Anurupye Shunyamanyat -If one is in ratio, the other is zero. 2. Chalana Kalanabyham -Differences and similarities. 3. Ekadhikina Purvena- By one more than the previous One. 4. Ekanyunena Purvena -By one less than the previous one. 5. Gunakasamuchyah-Factors of the sum is equal to the sum of factors. 45

6. Gunitasamuchyah-The product of sum is equal to sum of the product. 7. Nikhilam Navatashcaramam Dashatah -All from 9 and last from 10. 8. Paraavartya Yojayet-Transpose and adjust. 9. Puranapuranabyham -By the completion or noncompletion. 10. Sankalana- vyavakalanabhyam -By addition and by subtraction. 11. Shesanyankena Charamena- The remainders by the last digit. 12. Shunyam Saamyasamuccaye -When the sum is same then sum is zero. 13. Sopaantyadvayamantyam -The ultimate and twice the penultimate. 14. Urdhva-tiryakbhyam -Vertically and crosswise. 15. Vyashtisamanstih -Part and Whole. 16. Yaavadunam- Whatever the extent of its deficiency. The above given sutras can use for making different mathematical calculations simpler and faster. The process of multiplying two quantities using usual method is comprised of number of steps which make it bulky to realize, time consuming in processing, and high power consuming. For solving the same problem researchers have suggested various solutions. Use of vedic math s sutras are some commonly accepted methodologies by researchers for optimizing the VLSI multiplier designs. Most common Vedic math s sutras in designing of multiplier are Nikhilam and Urdhva-tiryakbhyam. In this present paper a comparative study among different multiplier designing approaches is aimed to present. The 2. Urdhva-tiryakbhyam Sutra The Urdhv triyankbhyam Sutra of vedic maths can be utilize for enhancing the speed of multiplication operation. An example of multiplication using Urdhva-triyakbhyam sutra is given below Fig -1 Example of 4x4 multiplication using Urdhva-triyakbhyam Sutra For multiplying 4x4 strings using conventional method four partial products are to be added which make the process and design bulky, where as in multiplier using Urdhva-triyakbhyam sutra only single step addition is required, which make adding process faster and system smaller in size. The detailed method of multiplication using Urdhva-triyakbhyam sutra can be explained as shown in Fig.2 46

Fig.2 Steps to be follow for multiplication using Urdhva-triyakbhyam sutra As shown in Fig.2 for multiplying two strings first vertical elements of strings are to be multiply and then cross elements are multiply followed by addition of results. 3. Nikhilam Sutra As above discussed the multiplication of two number strings is a tedious task, but using vedic math s sutras this could be simplitied. The Urdhva-triyakbhyam sutra may grately simpligy the process of multiplication and reduces the steps and size of device used as well. But with the help of Nikhilam sutra problem may further be more simplified and the number of elements may be reduced. Nikhilam Sutra factually means all from 9 and last from 10. Although it is valid to all cases of multiplication, it is more capable when the numbers involved are big. Since it checks out the compliment of the large number from its adjacent base to perform the multiplication operation on it, better is the original number, lesser the complexity of the multiplication. We first illustrate this Sutra by in view of the multiplication of two decimal numbers (92 * 98) where the chosen base is 100 which is nearest to and greater than both these two numbers 92 x 98 Nearest Base 100 92 (100-92) 98 (100-98) ------------------------- 92 8 98 2 ------------------------ 90 16 Answer is 9016 47

3.1 Multiplication Using Nikhilam Sutra The right hand side (RHS) of the product can be attained by just multiplying the numbers of the Column 2 (8*2 = 16). The left hand side (LHS) of the product can be found by cross subtracting the succeeding number of Column 2 from the initial number of Column 1 or vice versa, i.e., 92-2 = 90 or 98-8 = 90. The concluding result is attained by concatenating RHS and LHS (Answer = 9016). 4. Barrel Shifter Barrel Shifter is an important part of ALU of a processor. The shifter is used to perform shift right, shift left, and rotational operations. Barrel shifter is designed using Mux trees to use it in repetitive form so that power consumed by the barrel shifter should minimum[4]. Multiplexer is used as a basic building block for a barrel shifter. The required number of multiplexer for any barrel shifter can be calculate using following formula[4] Number of Multiplexers = (No. of Bits)* logr2r (No. of Bits) Comparative Study between Urdhva-tiryakbhyam Sutra and Nikhilam Sutra S. Technology Path Delay Power Consumption No. 1 Urdhva-tiryakbhyam 15.095 0.085 W Sutra 2 Nikhilam Sutra 20.296 0.084 W 3 Booth Multiplier 19.66 [5] 0.09 W Table 1 Comparison for 4x4 multiplier [7] 48

Conclusion It may be conclude from above study that use of Nikhilam Sutra is advantageous over other algorithms. The speed of working seems to be improve by 33% and number of component is reduced by 20% approximately. The number of component is directly proposnal to the size and power consumption in chip, which means that these two factors are also improvised by using Nikhilam Sutra. References [1] Pavan Kumar U.C.S, Saiprasad Goud A, and A.Radhika, FPGA Implementation of high speed 8-bit Vedic multiplier using barrel shifter, IEEE, 978-1-4673-6150, 2013. [2] B.Madhu Latha, B. Nageswar Rao, Design and Implementation of High Speed 8-Bit Vedic Multiplier on FPGA, International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering, Vol. 3, Issue 8, August 2014. [3] Purushottam D. Chidgupkar, Mangesh T. Karad, The Implementation of Vedic Algorithms in Digital Signal Processing Global J. of Engng. Educ., Vol.8, No.2 [4] Jadhav Dhananjay,Muley Mithilesh, Ashtankar Mangesh, Vlsi Design of Barrel Shifter using Complementary and Pseudo NMOS Logic [5] Bhongade Rajashri K., Sharada G.Mungale, Karuna Bogawar, Vhdl Implementation and Comparison of Complex Mul-tiplier Using Booth s and Vedic Algorithm, COMPUSOFT, An international journal of advanced computer technology, 3 (3), March-2014 (Volume-III, Issue-III) [6] Leonard Gibson Moses S and Thilagar M, VLSI Implementation of High Speed DSP algorithms using Vedic Mathematics, International Journal of Computer Communication and Information System ( IJCCIS) Vol2. No1. ISSN: 0976 1349 July Dec 2010 [7] SHITAL DHABALE, VIDESHA MENGHRE, ROHAN LODHI, TRUPTI RATHOD, PRANIT THAWKAR, 6SAKET SATHWANE, PERFORMANCE ANALYSIS OF URDHVA AND NIKHILAM MULTIPLIER Proceedings of 21st IRF International Conference, 15th March 2015, Chennai, India 49