Vlsi Implementation For High Speed Adders
Vlsi Implementation For High Speed Adders
Prashant Gurjar, Rashmi Solanki Pooja Kansliwal UG Scholar, Dept. EC, GGITM, Bhopal, India Email: prashantgurjar84@gmail. .com
ABSTRACT
This paper is primarily deals the constructio on of high speed adder circuit using Hardware Description L Language (HDL) in the platform Xilinx ISE 9.2i and impl lement them on Field Programmable Gate Arrays (FPGAs) to analyze the this investigation design parameters. The motivation behind t is that an adder is a very basic building bloc ck of Arithmetic Logic Unit (ALU) and would be a lim miting factor in performance of Central Processing Unit (CP PU). In the past, thorough exami ination of the algorithms with the respect to particular technology has only been partially done. The merit of the new technology is to be evaluated by its ability to efficiently implement the computational algorithms. In the other words, the technology is developed with the aim to e efficiently serve the computation. The reverse path; evaluat ting the merit of the algorithms should also be taken. T Therefore, it is important to develop computational structu ures that fit well into the execution model of the processor an nd are optimized for the current technology. In such a case, optimization of s the critical path the algorithms is performed globally across of its implementation. In this research article, we have e simulated and der, ripple carry synthesized the various adders like full add adder, carry-look ahead adder, carry-skip p adder, carry select adder and carry-save adder by using VHDL and Xilinx ISE 9.2i. The simulated results are verified and the functionality of high speed adders and the parameters like area and speed is analyzed. Finally this p paper concludes that the carry-save adder is the more efficie ent in speed and area consumption. KEYWORDS: High Speed Adder, Field d Programmable Gate Array, Carry Skip Adder, Carry Sele ect Adder, Carry Save Adder.
Mahendra Vucha Asst. Prof, Dept. EC, GGITM, Bhopal, India Email: Mahendra.1548@gm mail.com
other kinds of processors, adders are used not only in the ALU(s), but also in other parts of o the processor, where they are used to calculate addresses, table indices, and many more.
r Figure 1. Half adder the inputs. The logic diagram of HA is i shown in figure 1. ry numbers A and B. It A HA adds two one-bit binar has two outputs, S and C (the value C theoretically carried on to the next addition).The simpl lest half-adder design, shown in figure 1, incorporates an a XOR gate for S and an AND gate for C. The Boolean eq quation and Truth table of half adder is shown bellow. (i) S = A XOR B C = A AND B (ii) or half adder Table 1. Truth table fo Input A 0 0 1 1 B 0 1 0 1 C 0 0 0 1 Output S 0 1 1 0
1.
INTRODUCTION
Digital computer ALU is an aspect of logic c design with the objective of developing appropriate algorit thms in order to achieve an efficient utilization of the avai ilable hardware. The hardware can only perform a relativ vely simple and primitive set of Boolean operations an ndthe arithmetic operations are based on a hierarchy of ope erations that are built by using algorithms against the h hardware. Since, ultimately, speed, power and utilization o of ALU are the most often used measures of the efficiency o of an algorithm.
used to generate the i-th bit of the sum, si, and a carry, s called a Ripple Carry ci+1, to the next adder stage. This is Adder (RCA), since the carry signal ripple from the least s The layout significant bit position to the most significant. of a ripple carry adder is simple, wh hich allows fast design time. However, the ripple carry add der is relatively slow, since each full adder must wait for the carry bit which is . The RCA is shown in coming from the previous full adder. figure. 3.
Figure 2. Full adder or values carried A FA adds binary numbers and accounts fo in as well as out. A one-bit full adder ad dds three one-bit numbers, often written as A, B, and Ci he ere A, B are the operands, and Ci is a bit carried in (in the eory from a past addition). The circuit produces a two-b bit output sum typically represented by the signals Co (Car rry) and S(Sum). the Boolean equation and truth table is show wn bellow. S = A XOR B XOR Ci (iii)
OR (CiAND A) Co = (A AND B) OR (B AND Ci) O (iv) dder Table 2. Truth table for full ad A 0 0 0 0 1 1 1 1 B 0 0 1 1 0 0 1 1 Cin 0 1 0 1 0 1 0 1 Cout 0 0 0 1 0 1 1 1 Sum 0 1 1 0 1 0 0 1
A FA can be constructed by cascading of two HA.The HA and the sum A and B are connected to the input of first H of first HA is connected as one input al long with Ci to second HA and it give SUM output. The logical OR of first ARRY output of and second HAs carry outputs a gives CA FA.
2. COMPLEX ADDERS:
The reference to eve of adding single bits, lets extend it to adding binary words. In genera al, adding two nbit words yields an n-bit sum and a carry y-out bit Cn.The carry is carried from lower bit adder to h higher bit adder. Based on carry transfer from LSB to MSB B, the adders are classified.
3. IMPLEMENTATION OF HSA:
The alternate approaches for designing High Speed Adders (HSA) have been designed in the literature he objective of [1], [2], [3], [4]. All of them have th decreasing the computation time and diff fferent tradeoffs. This paper examines few of them bellow.
Figure 6. Carry Select t Adder The higher order bits a7 a6 a5 a4 and b7b6 b5 b4 are used as he sum with a carry in two 4-bit adders. Adder calculates th of C=0, while the other adder does the same only it has a carry-in value of C=1. Both sets of o results are used as inputs to an array of 2:1 MUXs. The e carry bit C4 from the first adder is used as the select signal to MUX. If C4 = 0, t to the output, while a then the result of C=0 adder are sent value of C4=1 selects the result of C= =1 adder for S7 S6 S5 S4. The carry-out bit C8 is also selected by b the MUX array.The design speeds up the addition of the e word by allowing the upper and lower portions of the sum to be calculated s that it requires an simultaneously. The price paid is additional word adder, a set of multi iplexers and associated interconnect wiring. The design beco omes viable if speed is more important than area consumptio on.
3.3
Carry save adder are based on the e idea that a full adder Figure 5. Carry skip adder n the carry-out of As shown in the figure 5, if P(i,i+3) = 0, then the group is determined by the value of Ci+4. However, if P(i,i+3) = 1, then the carry-in bit is Ci= 1, then the group group of adders. carry-in is automatically send to the next g The name carry-skip is due to the f fact that if the condition P(i,i+3). Ci is true and then the carry y-in bit skips the block entirely.
16-bit adders:
Table 4: synthesis report of 16-bit adders S.No. 1. 2. 3. 4. 5. 6 Parameter XOR (1-bit) No. of Slices Levels of Logic CPU Processing Time Memory Usage Logic Delay Route Delay Total Delay Ripple carry 16 18/960 18 3.77 s 140796 KB 14.067 ns 7.623 ns 21.69 ns Carry-look ahead 32 18/960 18 3.555 s 140796 KB 14.067 ns 7.623 ns 21.69 ns Carry-skip 32 21/960 15 4.67 s 141820 KB 11.316 ns 5.326 ns 16.642 ns Carry-select 24 22/768 16 3.66 s 134356 KB 12 ns 11.163 ns 23.163 ns Carry-Save 31 10/768 3 3.97s 133404 KB 6.103ns 1.721ns 7.824ns
5.3.2
S.No. 1. 2. 3. 4. 5. 6
Parameter XOR (1-bit) No. of Slices Levels of Logic CPU Processing Time Memory Usage Logic Delay Route Delay Total Delay
100 80 60 40 20 0 8 - Bit adder 16 - Bit adder 32-Bit adder Ripple carry Carry-look ahead Carry-skip Carry-select Carry-save
5. CONCLUSION
The research article describes about the hardware implementation of high speed adders. In this paper, the various adders like full adder, ripple carry adder, carry-look ahead adder, carry-skip adder, carry select adder and carry- save adeer have been simulated and synthesized on Xilinx ISE 9.2i platform and their parameters are captured. Finally, the captured parameters like speed and area are compared for 8 bit, 16-bit adders and 32-bit adders. From the table 5, this paper concludes that the carry-save adder is the efficient adder in speed and area consumption. The analysis in table 6 for 32 bit adder is shown below. Table 6: Speed & Area analysis for 32 bit adder Adder Ripple Carry Adder Carry-look ahead adder Carry-skip adder Carry-select adder Carry-save adder Speed ( MHz) 25.8 25.8 37.2 33.4 127.8 Area ( XOR gate) 32 64 64 48 63
6. REFERENCES
[1]Bruce Shriver and Bennett Smith, The Anatomy of a High- Performance Microprocessor, IEEE Computer society Press, Los Alamitos, CA, 1998. [2] James M. Feldman and Charles T. Retter, Computer Architecture, McGraw-Hill, New York, 1994. [3] Ken Martin, Digital Integrated Circuit Design, Oxford University Press, New York, 2000. [4] BehroozParhami, Computer Arithmetic, Oxford University Press, New York, 2000. A comprehensive, in depth treatment of the subject. [5] David A. Patterson and John L. Hennessy, Computer Organization & Design, 2nd edition, MorganKoufmann Publishers, San Fransisco, 1998. [6] Jan M.Rabaey, Digital Integrated Circuits, Prentice Hall, Upper Saddle River, NJ, 1996. [7] AbdellatifBellaouar and Mohamed I.Elmasry, Lowpower Digital VLSI Design, Kluwer Academic Publishers, Norwell, MA, 1995. [8] William Stallings, Computer Design and Architecture, 4th Edition, Prentice Hall, Upper Saddle River, NJ, 1996. [9] John P. Uyemura, CMOS Logic Circuit Design, Kluwer Academic Publishers, Norwell, MA, 1999.
[10] Neil H.E. Weste and Kamran Eshraghian, Principles of CMOS VLSI Design, 2nd edition, Addision-Wesley, Reading, MA, 1993. [11] Wayne Wolf, Modern VLSI Design, 2nd edition, Prentice Hall PTR, Upper Saddle River, NJ, 1998. 7. ACKNOWLEDGEMENT The authors would like to express my gratitude to the following people for their support in the work leading to this report: Dr. P.S. Venkataramu, Principal, GGITM, who has been the driving force behind this paper. Mrs. VibhaTiwari, HOD, EC Dept., GGITM, Bhopal, India, for her academic support. Mr. Mahendra Vucha, Asst. professor, EC Dept. &project guide, provided much inspiration to usthrough out of this paper. AshutoshAgrawal, my classmate and friend, never seemed to lose faith that the paper would be eventually completed. 8. AUTHORS BIOGRAPHY PrashantGurjarworkingfor hisB.E degree at Gyan Ganga Institute of Technology and Management, Dept. of Electronics and communication Engineering, Bhopal (M. P), India.. His areas of interest are Embedded System Design and VLSI Technologies. RashmiSolankiworkingfor herB.E degree at Gyan Ganga Institute of Technology and Management, Dept. of Electronics and communication Engineering, Bhopal (M.
P), India.. Her areas of interest are Embedded System Design. PoojaKansliwalworkingfor herB.E degree at Gyan Ganga Institute of Technology and Management, Dept. of Electronics and communication Engineering, Bhopal (M. P), India.. Her areas of interest are Embedded System Design. Mahendra Vucha received his B. Tech in Electronics & Communication Engineering from JNTU, Hyderabad in 2007 and M. Tech degree in VLSI and Embedded System Design from MANIT, Bhopal in 2009. He is currently working for his Ph. D degree at MANIT and also working as Asst. Prof in Gyan Ganga Institute of Tech & Mgmt, Dept. of Electronics and Communication Engineering, Bhopal (M.P), India. His areas of interest are Hardware Software Co-Design, Analog Circuit design, Digital System Design and Embedded System Design.