HIGHER ORDER IMPLEMENTATION OF SQUARER AND CUBE USING VEDIC SUTRAS

Similar documents
Capacitance Scaling Based Energy Efficient Vedic Divider using Paravartya Yojayet on 28nm FGPA

DESIGN AND IMPLEMENTATION OF EFFICIENT HIGH SPEED VEDIC MULTIPLIER USING REVERSIBLE GATES

A NOVEL APPROACH FOR HIGH SPEED CONVOLUTION OF FINITE AND INFINITE LENGTH SEQUENCES USING VEDIC MATHEMATICS

PERFORMANCE EVALUATION OF REVERSIBLE VEDIC MULTIPLIER

Vedic Mathematics - Methods. Preface

BENGALI, SAURABH SUNIL. Vedic Mathematics and Its Applications in Computer Arithmetic. (Under the direction of Dr. Paul Franzon).

What is Vedic Mathematics? Vedic mathematics is the name given to the ancient system of mathematics which was rediscovered from the Vedas.

Vedic Mathematics - Methods

Design of Digital Multiplier with Reversible Logic by Using the Ancient Indian Vedic Mathematics Suitable for Use in Hardware of Cryptosystems

Novel Pipelined Vedic Multiplier Constituted With Reversible Logic

PERFECT CUBE ROOTS OF LARGER NUMBERS BY USING VEDIC MATHEMATICS

PERFORMANCE EVALUATION OF THE 16X16 BIT MULTIPLIER FOR HIGH SPEED WITH THE USE OF COMPRESSOR ADDER

VEDIC MATHEMATICS MANUAL

An Area Efficient Enhanced Carry Select Adder

Design and Implementation of Reversible Vedic Multiplier for High Speed Low Power Operations

International Journal of Research (IJR) Vol-1, Issue-8, September 2014 ISSN

Design and Study of Enhanced Parallel FIR Filter Using Various Adders for 16 Bit Length

Optimized Reversible Vedic multipliers for High Speed Low Power Operations

EFFICIENT MULTIOUTPUT CARRY LOOK-AHEAD ADDERS

Novel Bit Adder Using Arithmetic Logic Unit of QCA Technology

Design and Synthesis of Sequential Circuit Using Reversible Logic

Design of Digital Adder Using Reversible Logic

Design and Comparison of Wallace Multiplier Based on Symmetric Stacking and High speed counters

DESIGN AND ANALYSIS OF A FULL ADDER USING VARIOUS REVERSIBLE GATES

OPTIMAL DESIGN AND SYNTHESIS OF FAULT TOLERANT PARALLEL ADDER/SUBTRACTOR USING REVERSIBLE LOGIC GATES. India. Andhra Pradesh India,

Design and Implementation of Reversible Binary Comparator N.SATHISH 1, T.GANDA PRASAD 2

Implementation Of Digital Fir Filter Using Improved Table Look Up Scheme For Residue Number System

Design of Arithmetic Logic Unit (ALU) using Modified QCA Adder

Reversible Circuit Using Reversible Gate

Low Power, High Speed Parallel Architecture For Cyclic Convolution Based On Fermat Number Transform (FNT)

Design and Implementation of Efficient Reversible Vedic multiplier for Low Power and High Speed Operations

A Novel Efficient Hardware Implementation of Elliptic Curve Cryptography Scalar Multiplication using Vedic Multiplier

A New Approach for Designing of 3 to 8 Decoder and It s Applications Using Verilog HDL

I. INTRODUCTION. CMOS Technology: An Introduction to QCA Technology As an. T. Srinivasa Padmaja, C. M. Sri Priya

FPGA Implementation of Ripple Carry and Carry Look Ahead Adders Using Reversible Logic Gates

Analysis of Multiplier Circuit Using Reversible Logic

Design of A Efficient Hybrid Adder Using Qca

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

PERFORMANCE IMPROVEMENT OF REVERSIBLE LOGIC ADDER

Online Testable Reversible Circuits using reversible gate

A Novel Design of Reversible Universal Shift Register

FPGA IMPLEMENTATION OF 4-BIT AND 8-BIT SQUARE CIRCUIT USING REVERSIBLE LOGIC

Design of High-speed low power Reversible Logic BCD Adder Using HNG gate

Implementation of Reversible Control and Full Adder Unit Using HNG Reversible Logic Gate

Vedic Based Division Core Design

Design and Implementation of REA for Single Precision Floating Point Multiplier Using Reversible Logic

Performance Enhancement of Reversible Binary to Gray Code Converter Circuit using Feynman gate

Design of Reversible Code Converters Using Verilog HDL

Reversible Implementation of Ternary Content Addressable Memory (TCAM) Interface with SRAM

Highlights of Computing: From the Ancient Indian Vedic Literature to Modern Practical Cryptography

Efficient Implementation of Scalar Multiplication for Elliptic Curve Cryptography using Ancient Indian Vedic Mathematics over GF (p)

Binary addition example worked out

Design and Implementation of Carry Adders Using Adiabatic and Reversible Logic Gates

An FPGA Implementation of Energy Efficient Code Converters Using Reversible Logic Gates

Design of Low Power, High Speed Parallel Architecture of Cyclic Convolution Based on Fermat Number Transform (FNT)

The Magic of Negative Numbers in Computers

Fast Fir Algorithm Based Area- Efficient Parallel Fir Digital Filter Structures

Downloaded from

Design and Analysis of Comparator Using Different Logic Style of Full Adder

DESIGN OF PARITY PRESERVING LOGIC BASED FAULT TOLERANT REVERSIBLE ARITHMETIC LOGIC UNIT

Optimization of 1D and 2D Cellular Automata for Pseudo Random Number Generator.

ENERGY EFFICIENT DESIGN OF REVERSIBLE POS AND SOP USING URG

Circuit for Revisable Quantum Multiplier Implementation of Adders with Reversible Logic 1 KONDADASULA VEDA NAGA SAI SRI, 2 M.

High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex Family

SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL ADDERS

A Novel LUT Using Quaternary Logic

Realization of programmable logic array using compact reversible logic gates 1

A Novel Ternary Content-Addressable Memory (TCAM) Design Using Reversible Logic

An Efficient Reversible Design of BCD Adder

An Optimized BCD Adder Using Reversible Logic Gates

Addition of QSD intermediat e carry and sum. Carry/Sum Generation. Fig:1 Block Diagram of QSD Addition

PERFORMANCE ANALYSIS OF CLA CIRCUITS USING SAL AND REVERSIBLE LOGIC GATES FOR ULTRA LOW POWER APPLICATIONS

Implementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications

Department of ECE, Vignan Institute of Technology & Management,Berhampur(Odisha), India

Design and Implementation of High Speed CRC Generators

VHDL DESIGN AND IMPLEMENTATION OF C.P.U BY REVERSIBLE LOGIC GATES

Design of 16 Bit Adder Subtractor with PFAG and TG Gates Using Verilog HDL

ECE260: Fundamentals of Computer Engineering

MATH 0960 ELEMENTARY ALGEBRA FOR COLLEGE STUDENTS (8 TH EDITION) BY ANGEL & RUNDE Course Outline

Comparative analysis of QCA adders

We will work with two important rules for radicals. We will write them for square roots but they work for any root (cube root, fourth root, etc.).

DESIGN OF COMPACT REVERSIBLE LOW POWER n-bit BINARY COMPARATOR USING REVERSIBLE GATES

Algebra II Chapter 5: Polynomials and Polynomial Functions Part 1

The equivalence of twos-complement addition and the conversion of redundant-binary to twos-complement numbers

Equations in Quadratic Form

Introduction to the Xilinx Spartan-3E

Design of Low Power Optimized MixColumn/Inverse MixColumn Architecture for AES

A Novel Reversible Gate and its Applications

ISSN (PRINT): , (ONLINE): , VOLUME-5, ISSUE-7,

Model Order Reduction of Interval Systems using Mihailov Criterion and Factor Division Method

Optimization of reversible sequential circuits

Australian Journal of Basic and Applied Sciences

Reduced-Area Constant-Coefficient and Multiple-Constant Multipliers for Xilinx FPGAs with 6-Input LUTs

Literature Review on Multiplier Accumulation Unit by Using Hybrid Adder

Power Minimization of Full Adder Using Reversible Logic

Intermediate Math Circles March 6, 2013 Number Theory I

A Novel Design for carry skip adder using purity preserving reversible logic gates

Optimized design of BCD adder and Carry skip BCD adder using reversible logic gates

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

Reversible Multiplier with Peres Gate and Full Adder.

Transcription:

INTERNATIONAL JOURNAL OF RESEARCH IN COMPUTER APPLICATIONS AND ROBOTICS ISSN 2320-7345 HIGHER ORDER IMPLEMENTATION OF SQUARER AND CUBE USING VEDIC SUTRAS Yaswanth kumar reddy R 1, K.V.Rajendra Prasad 2 1 PG Student, VLSI, Sree Vidyanikethan Engineering College, Tirupati, Chittoor, A.P, India. 2 Assistant Professor, ECE Dept., Sree Vidyanikethan Engineering College, Tirupati, Chittoor, A.P, India. Abstract: The paper proposes higher order square and cube architectures that play a major role in Digital design used in real time applications. These architectures are useful for higher order computations by using the Vedic sutras. By using the Dwandwa yoga duplex combination properties of Urdhva Tiryagbhyam sutra of Vedic mathematics. The Proposed designs prove efficient for high speed and low power applications like in Arithmetic and Logic Unit replacing the traditional architectures. The results are evaluated in terms of delay, area and power consumption for the device Spartan3E - XC3S500E-5FG320 using Xilinx ISE 10.1i Tools. Key Words: Vedic mathematics, Dwandwayoga method. 1. Introduction Power of a number is a improved version of multiplication used in thrust areas of Engineering and Technology like DSP applications. This is achieved using Vedic square and cube architecture. Power, area and speed (delay) of circuit gives the performance of the circuit. For multiplication, criss cross method of Urdhva Tiryagbhyam and other methods include Vedic multipliers based on Urdhva Tiryagbhyam and the Duplex properties of Urdhva Tiryagbhyam. Therefore, the main motivation behind this work is to investigate the VLSI Design and Implementation of powering Circuit architecture with reduced delay. 2. Vedic Mathematics: Vedic Mathematics (VM) is an ancient system of mathematics that was re-discovered by Sri Bharati Krishna Tirthaji between 1911 and 1918. Tirthaji (1884-1960) was an Indian scholar well versed in the areas of Sanskrit, English,Mathematics, Astronomy and many other areas of science.he deciphered ancient Indian texts, known as the Ganitasutras, (which means mathematics) to discover 16 short verses, known as Sutras. These sutras, when applied correctly, will enable the user to solve many types of mathematics problems mentally without having to use pencil and paper in a fraction of the time in would take otherwise. Tirthaji wrote sixteen books, one for each sutra, describing the application of each to the solution of math problems.unfortunately, these books were lost. Tirthaji attempted tore-write all of these books from memory, but was only able to complete the first volume entitled Vedic Mathematics before his death. This book, which is available today, is the seminal work on Vedic Mathematics. Y a s w a n t h k u m a r r e d d y R & K. V. R a j e n d r a P r a s a d Page 133

Swami Bharati Krishna Tirtha (1884-1960), former Jagadguru Sankaracharya of Puri culled a set of 16 Sutras (aphorisms) and 13 Sub - Sutras (corollaries) from the Atharva Veda. He developed methods and techniques for amplifying the principles contained in the aphorisms and their corollaries, and called it Vedic Mathematics. According to him, there has been considerable literature on Mathematics in the Veda- sakhas. Unfortunately most of it has been lost to humanity as of now. This is evident from the fact that while, by the time of Patanjali, about 25 centuries ago, 1131 Veda-sakhas were known to the Vedic scholars, only about ten Veda-sakhas are presently in the knowledge of the Vedic scholars in the country. The Sutras apply to and cover almost every branch of Mathematics. They apply even to complex problems involving a large number of mathematical operations. Application of the Sutras saves a lot of time and effort in solving the problems, compared to the formal methods presently in vogue]. Though the solutions appear like magic, the application of the Sutras is perfectly logical and rational. The computation made on the computers follows, in a way, the principles underlying the Sutras. The Sutras provide not only methods of calculation, but also ways of thinking for their application. The following are the Vedic sutras and their meaning. 1. Ekadhikena Purvena: One more than the previous 2. Nikhilam Navatascharamam Dastah: All from nine and last from ten 3. Urdhwa-tiryagbhyam: Criss-cross 4. Sunyam Samyasamuchchaye: When the samuchchaya is the same, the samuchchaya is zero, and i.e. it should be equated to zero. 5. (Anurupye) Sunyamanyat: If one is in ratio, the other one is zero. 6. Sankalana-vyavkalanabhyam: By addition and by subtraction 7. Puranpuranabhyam: By completion or non-completion 8. Chalana-Kalanabhyam: Differential 9. Yavdunam: Double 10. Vyastisamastih: Use the average 11. Sesanyankena Charmena: The remainders by the last digit 12. Sopantyadyaymantyam: The ultimate & twice the penultimate 13. Ekanyunena Purven: One less than the previous 14. Gunitasamuchachayah: The product of the sum of coefficients in the factors 15. Gunaksamuchchayah: When a quadratic expression is product of the binomials then its first differential is sum of the two factors. 16. Paravartya Yojajet: Transpose and adjust. In order to find the power of a number is performed by using the square of a binary number. Square can be calculated using Duplex property of Urdhava Tiryagbhyam.Duplex of a number is twice the product of the outer most pair, till no other pairs to be left.if there are odd number of bits then one bit left alone and take square of that bit. Thus for the number 95673, then D=2* (9*3) +2*(5*7) +6*6=160. Then, Duplex can be given as follows For a 1 bit number D is its square. For a 2 bit number D is twice their product. Thus D (1) =1*1; D (11) =2*1*1; D (101) =2*1*1+0*0; D (1011) =2*1*1+2*0*1; Here multiplying with 2 denotes shifting left side by one bit. 3. Implementation of Higher order powers using square and cube architecture: Higher order powers is nothing but implementation power of 4,5 etc., In Vedic mathematics for squaring Ekadhikena Purvena sutra used to square that are ending with 5 only. Yavadunam sutra used to find the square near to base 10,100,1000 etc., hence to find the square of any number using Duplex method of Urdhava Tiryagbhyam.square of number calculated by two different ways(a 2,b 2,2ab).the first two by the duplex and third one using the criss- cross multiplication. Y a s w a n t h k u m a r r e d d y R & K. V. R a j e n d r a P r a s a d Page 134

Fig: 1.Power four of number (a 4 ) Fig: 2. Power five of number (a 5 ) Power of four can be calculated by using two square architectures.one is 8-bit and other 16-bit square architecture. firstly the 8-bit number divided in to two parts each of 4-bit and find the square for two parts using duplex property and multiply twice of first and second one.and add them up making sure not to carry over excess digits from left to right as given in the fig. after getting the 8-bit output then perform the 16-bit square operation to get the final answer.in order to implement 16-bit square replace 4-bit with 8-bit Vedic multiplier and in place of 4-bit square use 8-bit square and add them from left to right. Fig:3. 8-bit square architecture fig:4. 8-bit cube architecture Power of five can calculated using with square, cube and Vedic multiplier architecture. Cube calculated individually a 3, a 2 b,ab 2, b 3 and then multiply with 3 of terms a 2 b,ab 2 and add them from to right without carry cross-over bits.after that multiply with 32-bit Vedic conventional multiplier to get required answer. Y a s w a n t h k u m a r r e d d y R & K. V. R a j e n d r a P r a s a d Page 135

4. Results: In this paper 8-bit higher order powers architectures are implemented using Verilog HDL. Logic synthesis is implemented using Xilinx ISE simulator and compared with the conventional method. The simulation results and comparison table these are well used in the computer hardware design. Fig5: Simulation result of power four of number (a 4 ) Figure6: Simulation result of power five of number (a 5 ) Power(mw) Speed(ns) Vedic 133 24 Power(mw) Speed(ns) Vedic 148 30 conventional 155 30 conventional 165 37 Table 1: comparison of power 4 of a number Table 2: comparison of power 5 of a number In the simulation of power four of a number we get the output as 19A10 for the input of 12 with power dissipation of 133 mw and speed(delay) of 24 ns.similarly the simulation of power five of a number we the output as 20 for in input of 2. With power dissipation of 148 mw and speed (delay) of 37ns. Y a s w a n t h k u m a r r e d d y R & K. V. R a j e n d r a P r a s a d Page 136

Conclusion: In this paper we have represented the implementation of higher order powers using squarer and cube architecture using Vedic mathematics. Due to Vedic methods it is faster than conventional methods. Due to factors of low speed, low power higher order powers implemented in arithmetic and logical units and polynomial and algebraic equations by replacing the regular methods. Similarly for number of bit size can be implemented for 16,24 etc. For example, implementation of squaring of 24 bits implemented by 32 bit square with the assumption of 8 MSBs as zero. The design is implemented using Xilinux10.1i tool for XC3S500E- 5FG320. The idea proposed here may set path for future research in this direction. Future scope of research is to reduce area requirements. REFERENCES: [1] Vaijyanath kunchigi, Linganagouda Kulkarni, Subhash Kulkarni Low power Square and Cube Architectures Using Vedic Sutras.International conference on signal and image processing, 2014. [2] Y.Yu Fengqi and A. N.Willson, Multirate digital squarer architectures, in Proc. 8th IEEE Int. Conf. on Electronics, Circuits and Systems (ICECS 2001), Malta, Sept. 2 5, 2001, pp. 177 180. [3] Swami Bharati Krisna Tirtha, Vedic Mathematics, MotilalBanarsidass Publishers, Delhi, 1965. [4] H. D. Tiwari, G. Gankhuyag, C. M. Kim, and Y. B. Cho, "Multiplierdesign based on ancient Indian Vedic Mathematics," in ProceedingsIEEE International SoC Design Cotiference, Busan, Nov. 24-25,2008,pp. 65-68 [5] Kunchigi, V.; Kulkarni, L.; Kulkarni, S., "High speed and areaefficient vedic multiplier," Devices, Circuits and Systems (ICDCS),2012 International Conference on, vol., no., pp.360,364, 15-16March 2012 [6] Vaijyanath Kunchigi, Linganagouda Kulkarni and Subhash Kulkarni 32-BIT MAC UNIT DESIGN USING VEDIC MULTIPLIER published at: International Journal of Scientific and ResearchPublications (IJSRP), Volume 3, Issue2, Feburary 2013 Edition. [7] H. Thapliyal, M. B. Srinivas and H. R. Arabnia, Design And Analysis of a VLSI Based High Performance Low Power Parallelquare Architecture, in Proc. Int. Conf. Algo. Math. Comp. Sc., LasVegas, June 2005, pp. 72 76. [8] P. D. Chidgupkar and M. T. Karad, The Implementation of VedicAlgorithms in Digital Signal Processing, Global J. Of Engg. Edu., vol. 8, no. 2, pp. 153 158, 2004. [9] J.Bhasker, Verilog HDL Primer BSP Publishers, 2003. Yaswanth Kumar Reddy.R: He is currently Studying M.tech-VLSI Sree Vidyanikethan Engineering College, Tirupati. His areas of interest are Digital System Design, VLSI Design. K.V.Rajendra Prasad: He is currently working as an Assistant Professor in ECE department of Sree Vidyanikethan Engineering College, Tirupati. He completed M.tech in VLSI Design, in Sree Vidyanikethan Engineering College, Tirupati. His research areas of interest are Digital system Design & VLSI Design. Y a s w a n t h k u m a r r e d d y R & K. V. R a j e n d r a P r a s a d Page 137