• No results found

High Speed Low Power Binary to BCD Converter for Decimal Adder

N/A
N/A
Protected

Academic year: 2022

Share "High Speed Low Power Binary to BCD Converter for Decimal Adder"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

International Journal of Advanced Engineering Science and Technological Research (IJAESTR) ISSN: 2321-1202, www.aestjournal.org @2016 All rights reserved

6

Abstract

Abstract- Utilization of binary data is very speedy on digital computers. But seeing as, decimal arithmetic is more beneficial than binary arithmetic operation; the conversion of binary data to BCD data is involved.

Decimal multiplication is the fundamental operation for any hardware implementation of decimal arithmetic and it is also fundamental part to the above mentioned digital decimal-dominant applications. The proposed work Based on this add-3 digit BCD adder, new architectures for higher order (n-digit) BCD adders such as ripple carry adder and carry look- ahead adder are developed. And Simulation results show that the proposed add-3 digit BCD adder achieves an improvement of 15 % in delay.

Key words : BCD adder,add-3 algorithm ,binary to BCD convertor, decimal arithmetic

I Introduction

Decimal Arithmetic is receiving significant in virtually all digital integrated circuit designs,the addition operation is one of the most essential and numerous operations. Instruction sets of the DSP's and general principle processors and chips comprise at least one type Of addition ,subtraction, division, multiplication instruction and other instructions such as subtraction and multiplication employ addition in their operations to perform various operation , and their underlying hardware and software is similar if not identical to

additional hardware and software. Frequently, an adder or multiple adders will be in the critical path of any digital design, hence the performance of a digital

design will often be limited to the performance of various adders. When looking at other feature of a integrated chip, such as area or power and delay, the designer will find that the hardware for addition will be a large provider to these areas. It is consequently beneficial to choose the correct adder to implement in a digital design because of the many factors it part in the overall integrated chip. In this thesis we begin with the basic building blocks used for addition of design, then go through their different algorithms and name their advantages and disadvantages. Addition is the most common and often used arithmetic procedure done by microprocessor and the microcontroller and digital signal processor, especially digital computers and digital IC . Also, it serves as a building block for synthesis and verifies all other arithmetic operations. Therefore, regarding the implementation of an arithmetic unit, the binary adder structures become a very critical hardware unit of decimal multiplication and binary to BCD conversion. It also analyzes two recent architectures and examines the misinterpretation of the conversion algorithm in one of the architectures.

Are typically implemented using iterative approaches or lookup table based reduction schemes. This has led to the motivation behind the binary numbering system is, far-off the most ordinary numbering system in use in computer systems in this scenario. In days Because of there were all the computer systems that were based on the decimal numbering system slightly than the binary numbering system. Such computer systems were very

High Speed Low Power Binary to BCD Converter for Decimal Adder

Devendra Kumar Verma

1

, Vikas Kumar Mishra

2

1

M.Tech* Scholar,

2

Assistant Professor

1,2Department of ECE, AISECTUniversity ,Institute of science and technology, Bhopal

1[email protected], 2[email protected]

(2)

International Journal of Advanced Engineering Science and Technological Research (IJAESTR) ISSN: 2321-1202, www.aestjournal.org @2016 All rights reserved

7

well-liked in systems generally or for business/commercial systems. And internet based applications, even though systems designers have realize that binary arithmetic is not quite always better than decimal arithmetic for general calculation and application the parable still continue that decimal arithmetic is better for money calculations and some general purpose application than binary arithmetic. as a result, many software systems still identify the use of decimal arithmetic in their calculations [16].BCD demonstration does offer one big advantage over binary representation: it is practically small to convert between the string representation of a decimal number and its BCD representation.

II CARRY SELECT ADDER:

In Present generation in VLSI system are more focused in the reduction of area and power and and delay increasing the speed of operation of the circuit. The carry select adder generally consists of two ripple carry adders and a multiplexer Circuitry. Adding two n-bit numbers with a carry-select adder is done with two ripple carry adder . One time with supposition of carry input as 0 and another time with carry consider as 1.After the results are calculated, the final sum and the final carry is selected is selected with the multiplexer by the earlier produce carry out. The speed in the SQRT CSLA is dependent on the carry generation of the previous cascaded RCA. The sum of the each bit is generated successively one after the previous bit position has been summed and a carry propagated into the next position.The CSLA is used in many electronic applications to alleviate the problem of carry circulation delay by independently generating the multiple carries and then select the carry to generate the sum.

conversely, the CSLA is not area efficient since it contains multiple Paris of cascaded RCA with input Cin=0 and Cin=1, to generate partial sum and carry, then the final sum and carry are selected by multiplexers.

Fig. 1: carry save adder II. RELATED WORK

Shift the binary number left one bit. 2. If 8 shifts have taken place, the BCD number is in the Hundreds, Tens, and Units column. 3. If the binary value in any of the BCD columns is 5 or greater, add 3 to that value in that BCD column. 4. Go to 1.table 1 show how to take bits and shift into hundred , units ,tens column

Figure 2: Add-3 module for binary to BCD converter

(3)

International Journal of Advanced Engineering Science and Technological Research (IJAESTR) ISSN: 2321-1202, www.aestjournal.org @2016 All rights reserved

8

fig. 2 shown the RTL view of 16 bit binary to bcd converter if 16 shifts have taken place, the BCD number is in the Hundreds, Tens, and Units column.3. If the binary value in any of the BCD columns is 5 or greater, add 3 to that value in that BCD column.

Fig: 3 Flow chart of 16 bit add 3 conversion The algorithm then iterates n times. On each iteration, the intact graze space is left-shifted one bit.

However, before the left-shift is done, any BCD digit which is greater than 4 is incremented by 3. The increment ensures that a value of 5, incremented and left-shifted, becomes 16 thus correctly "carrying" into the next BCD digit.

III Proposed algorithm

The main goal of the proposed algorithm is to perform greatly proficient fixed bit binary to BCD conversion in terms of delay ,power and area. As mentioned earlier,

most of the recently proposed adder use 8-bit binary to BCD converters. The proposed algorithm has been purposely designed for such converters. The following subsection explains the proposed algorithm.

The algorithm then iterates n times. On each iteration, the entire scratch space is left-shifted one bit.

However, before the left-shift is done, any BCD digit which is greater than 4 is incremented by 3. The increment ensures that a value of 5, incremented and left-shifted, turn out to be 16, thus appropriately

"carrying" into the next BCD digit, this algorithm is tradition but proposed architecture amalgamate each bcd bits also conquer the area required and get enhanced speed as conventional adder

IV Adder Implementation

Execution of 16 bit Binary TO BCD Converter adder using add -3-addition ripple carry adder has been done using Xilinx 14.1 and simulator has commend out by lSim 14.1e tool.

Fig 4: RTL view of 16 bit binary to bcd converter

binary_in,clk,rst are inputs which is going to (N-1 downto 0) bcd0, bcd1, bcd2, bcd3, bcd4: are outputs show in Fig 6.1 RTL view of 16 bit binary to bcd converter and fig 4 represnts the various combination of multiplexer and flip flop and i/o lines of related to LUTs show in Fig. 4 Binary To BCD Input Output View

(4)

International Journal of Advanced Engineering Science and Technological Research (IJAESTR) ISSN: 2321-1202, www.aestjournal.org @2016 All rights reserved

9

RTL View In view of increasing eminence of commercial, economic and Internet-based applications that process data in decimal arrangement and this proposed paper shown The 2,4,8,12-digit BCD look- ahead adder shown to achieve at least 60 % faster than the obtainable ripple carry one so this is RTL view of 16 bit binary to bcd converter.

Fig. 4 RTL view of 16 bit binary to bcd conversion

Fig. 4 RTL view of 16 bit binary to bcd conversio Fig 4 show Initial Schematic Of Look Up Table Binary To BCD Adder show look-up table entries of

combination logic of various digital logic used in binary to bcd converter show in fig .4 Total CPU time to Xst completion:0.10 and Maximum combinational path delay: 2.710ns secs . from these three designs, the proposed multi-operand adder in concurrence with modified binary to bcd adder using add-3 [3]

gives better performance in terms speed as well as power –delay product. Further it is evident from Table II that the proposed design performs better compared to [4] with respect to delay as well as power delay product

Fig.6.17 Summary of Binary To BCD converter

Simulation Result

All the 16 -bit Binary to BCD converters and Multioperand adder structures were described using VHDL data flow modeling and simulated using Simulator (Isim) 14.7. The Binary to BCD converters and Multi-operand designs . All the inputs were set to have a clock rate of 100%. Binary to bcd structures based on the proposed algorithm were designed and the

(5)

International Journal of Advanced Engineering Science and Technological Research (IJAESTR) ISSN: 2321-1202, www.aestjournal.org @2016 All rights reserved

10

Binary to BCD converter in the proposed algorithm was replaced with that of architecture [8] for fair comparisons. Table III shows the comparison of Binary to BCD converter with existing design [8]. Synthesis results show that there is a reduction in delay by 55 % with a tradeoff in power by 15 %. This in

turn reduces power delay by 22 % and Minimum period: 2.600ns (Maximum Frequency: 384.645MHz)

& Minimum input arrival time before clock: 2.765ns &

Maximum output required time after clock: 4.714ns Maximum combinational path delay.

fig.4 simulation result of 16 bit binary to bcd converter

fig.5 simulation result of 16 bit binary to bcd converter Table I .Comparison of Proposed add 3 Adder .

V. Conclusions

The Binary to BCD converters and Multi-operand designs all the inputs were set to have a clock rate of 100%. Binary to BCD structures based on the proposed algorithm were designed and the Binary to BCD converter in the proposed algorithm was replaced with that of architecture [8] for fair comparisons. Table I shows the comparison of Binary to BCD converter with existing design [1]. Synthesis results show that there is a reduction in delay, power and area. This in turn reduces power delay product and Minimum period: 2.600ns Metric Area

(μm2)

Delay ( ns)

Power (nw)

Power Delay product

Proposed design

89.9% 2.710ns 0.4714 0.397

Design [a] 50.4% 0.965 0.195 0.358

Design[b] 10.8% 3.957 0.540 0.773

(6)

International Journal of Advanced Engineering Science and Technological Research (IJAESTR) ISSN: 2321-1202, www.aestjournal.org @2016 All rights reserved

11

(Maximum Frequency: 384.645MHz) & Minimum input arrival time before clock: 2.765ns & Maximum output required time after clock: 4.714ns Maximum combinational path delay.

References

[1] M. F. Cowlishaw. Decimal floating-point: Algorism forcomputers. In Proc. IEEE 16th Symposium on Computer Arithmetic, pages 104–111, July 2003.

[2] M. D. Ercegovac and T. Lang, Digital Computer Arithmetic. Elsevier/Morgan Kaufmann Publishers,2004.

[3] R. D. Kenney and M. J. Schulte. High-speed multi- operand decimal adders. IEEE Trans. on Computers, 54(8):953–963,Aug.

2005.

[4] Dadda, Luigi. "Multi-operand parallel decimal adder: A mixed binary and bcd approach." Computers, IEEE Transactions on 56.10 (2007): 1320-1328.

[5] Lin, Kuan Jen, et al. "A parallel decimal adder with carry correction during binary accumulation." New Circuits and Systems

Conference (NEWCAS), 2012 IEEE 10th International.

IEEE, 2012.

[6]- Jaberipur,Ghassem, and Amir Kaivani. "Improving the speed of parallel decimal multiplication."

Computers, IEEE Transactions on 58.11 (2009): 1539- 1552.

[7]- Bhattacharya, Jairaj, Aman Gupta, and Anshul Singh. "A high performance binary to BCD converter for decimal multiplication." VLSI Design Automation and Test (VLSI-DAT), 2010 International

Symposium on. IEEE, 2010.

[8]- Al-Khaleel, Osama, et al. "Fast and compact binary- to-BCD conversion circuits for decimal multiplication."

Computer Design (ICCD), 2011 IEEE 29th International Conference on. IEEE, 2011.

[9] S. Knowles, ‘‘A family of adders,’’ in: Proceedings of the 14th IEEE Symposium on Computer Arithmetic, pp. 30–34, 1999-368

[10] A Decimal / Binary Multi-operand Adder using a Fast Binary to Decimal Converter 2014 27th International Conference on VLSI Design

and 2014 13th International Conference on Embedded Systems

References

Related documents