8-Bit Barrel Shifter That May Rotate the Data in Both Direction
Total Page:16
File Type:pdf, Size:1020Kb
© 2018 IJRAR December 2018, Volume 5, Issue 04 www.ijrar.org (E-ISSN 2348-1269, P- ISSN 2349-5138) Performance Analysis of Low Power CMOS based 8 bit Barrel Shifter Deepti Shakya M-Tech VLSI Design SRCEM Gwalior (M.P) INDIA Shweta Agrawal Assistant Professor, Dept. Electronics & Communication Engineering SRCEM Gwalior (M.P), INDIA Abstract Barrel Shifter isimportant function to optimize the RISC processor, so it is used for rotating and transferring the data either in left or right direction. This shifter is useful in lots of signal processing ICs. The Arithmetic and the Logical Shifters additionally can be changed by the Barrel Shifter Because with the rotation of the data it also supply the utility the data right, left changeall mathemetically or logically.A purpose of this paper is to design the CMOS 8 bit barrel shifter using universal gates with the help of CMOS logic and the most important 2:1 multiplexers (MUX). CMOS based 8 bit barrel shifter has implemented in this paper and compared in terms of delay and power using 90 nm and 45nm technologies. Key Words: CMOS, Low Power, Delay,Barrel Shifter, PMOS, NMOS, Cadence. 1. Introduction In RISC processor ALU plays math and intellectual operations. Number crunching operations operate enlargement, subtraction, addition and division such as sensible operations incorporates AND, OR, NOT, NAND, NOR, XNOR and XOR. RISC processor consist ofnotice in credentials used to keep the operand in store path. The point of control unit is to give a control flag that controls the operation of the processor which tells the small scale building design which operation is done after then the time Barrel shifter is a significant element among rise operation. In augmentation operation, fractional items stimulated and protected with the aid of barrel shifters [1].Basically,have four type of shifter i.e. dependable, math, barrel and channel shifters. A barrel shifter is a combinational reason avert on the way to pass the substance of a transport determined wide variety of positions left or right by using a word. This is an essential capability in PCs and numerous sign getting ready ICs. Regularly, while transferring to one aspect, the positions cleared can be loaded with traits from the left, or if no characteristics are available, then loaded with 0in additionthe no traits are usable, the emptied positionmay be filled the evaluation of MSB [2]. A few shifters without a doubt turn the substance of a delivery filling the LSBs with the beyond substance of the MSBs for a shift left and the opposite manner around for a shift right. The logical shifter, shift the bit in left or right path; the empty spots are filled via 0. Mathematical shifter the method for left shift is identical as reasonable on the otherside right shift the clearmark is filled of sign bit. Barrel shifter includes out the rotation of bits in left or right direction; on this the empty IJRAR1944225 International Journal of Research and Analytical Reviews (IJRAR) www.ijrar.org 11 © 2018 IJRAR December 2018, Volume 5, Issue 04 www.ijrar.org (E-ISSN 2348-1269, P- ISSN 2349-5138) place is stuffed by means of the bit shifted. Funnel Shifter is combination of all shifters and rotator [3]. In this paper barrel shifter is designed using multiplexer and implemented using CMOS logic. The MUX is used to universal gates which is reduce the time consumption and poer dissipation. Barrier shifter is additional circuit that have n data inputs and n data outputs by control inputs which is allotted the shifting input data through output and bit barrel shifter known for n, n bit multiplexers. Excluding n-bit barrel shifter wants n numbers of n-bit multiplexers.If n is increased the circuit complexity also increases i.e., circuit over head, it leads to occupy more area and high power consumption and also shows the effect on speed of the operation [4].The equipment is using in various digital and analog logic circuits mutually with CMOS sensor, data converters and especiallyintegrated transceivers for lots of styles of features [5]. The result comprises the evaluation among different methodologies to reduce the Power intake in ALU design [6]. Barrel Shifter is likewise called Rotator because it rotates the statistics in a cycle so that the empty spots are filled the bits shifted off the other side. A funnel shifter can do all six sorts of shifts which can be carried out by means of previously noted shifters. The Level shifters is used toalter logical signal from one voltage to further voltage. Separately from this stage shifters are used on the pad ring and center of chip interface where low voltage signal from chip center are shifted to high voltage [7]. 2. Function of Barrel Shifter Barrel Shifter is logic circuit with ‘n’ numbers of data inputs and ‘n’ numbers of data outputs that are used to carry out transferring and rotation operation. It is operated with the help of clock. Barrel shifter is intended using multiplexers. In this research paper 2:1 MUX is use for designing the barrel shifter. This research paper contain 8-bit barrel shifter that may rotate the data in both direction. Threeselection lines s1, s2, s3 are used for rotating the data.The data comes from D flip flops are fed to the barrelshifter and using the selection line, the data is shifted.By selecting 001 it sends the data to the right shiftingoperation block. When we select 111 then data goes toleft shifting block. While sending the data to rightshifting block the left shifting block gets disabled anddata does not go to left shifting block. The same thing is done for left shifting block, while sending the data to theleft shifting block, right shifting block gets disabled anddata does not go to the rightshiftchunk. The obstructfigure of barrel shifter is given below fig.1toelucidateevery the function.If, barrel shifter can bemeasured by 2:1 MUX theninclude 8 bit barrel shifter. Fig.1 Block Diagram of Barrel Shifter IJRAR1944225 International Journal of Research and Analytical Reviews (IJRAR) www.ijrar.org 12 © 2018 IJRAR December 2018, Volume 5, Issue 04 www.ijrar.org (E-ISSN 2348-1269, P- ISSN 2349-5138) The fig.2 shows the multiplexer execution of 2x2 barrel shifter that is acting a left rotation of bit if we offer i0 i0 i1 i1 as enter then the output produced is in the series i1 i1 i0 i0.Input collection is shifted by bit to the left and LSB is filled by means of the shifted bits. Thus the rotation of two bits from left side is completed. The barrel shifter is toomoderatetiny. [8]. Barrel Shifter consists of an array of transistors, in which the wide variety of rows equals the word duration of the information, and the variety of columns equalsthe maximum shift width. The control wires are routed crosswise during the array. The layout of the barrel shifter is sort of symmetric and may be executed using recurring combinational logicblocks. 2:1 multiplexer can well used to layout n bit barrel shifter. Fig. Suggests the block representation of a 2X2 barrel shifter using 4, 2:1 multiplexers. If each multiplexer block is optimized for strength dissipation then the simulation time of the complete barrel shifter is reduced by means of a issue of nlog2n periodsincemodel of one multiplexer is adequate to calculating the whole energy dissipation and delay.[9] Fig.2 MUX based of 2x2 barrel shifter Today’s integrated circuits have a growing need for speed, area, and power. Although have many benefits, CMOS suffers from improved data, extra energy dissipation and equally improved capacitance and delay, as the logic gates grow to elevateddensity. The share circuits exploit the punycriticize devices and furtherdragdownward devices. They diminish the input capacitance and as a result develop logical attempt with the aid of doing away with huge PMOS transistors loading the inputs, however rely upon the correct ratio of pull-up to pull-down strength [10]. The 2:1 multiplexer preservefruitfully used to draw n bit Barrel shifter, stipulationequally multiplexer block is condense for forcedissipation [11]. IJRAR1944225 International Journal of Research and Analytical Reviews (IJRAR) www.ijrar.org 13 © 2018 IJRAR December 2018, Volume 5, Issue 04 www.ijrar.org (E-ISSN 2348-1269, P- ISSN 2349-5138) Fig.3 Basic block diagram of 2: 1 multiplexer There are presented the various operations which implement using barrel shifter.In rotate operation the data can be rotated either in right or left direction.For example 1111100001 after rotating right by means of manner of one bit data is shifted in right direction via one bit and the output is 1111110000.Also if rotate the identical data in right direction by the usage of 6 bit then the output acquire is 1000011111. In 2nd example 1111100000 it's miles shifted to right by means of one bit 0111110000 while the identical data shifted right via six bit which offers the output 0000001111.Likewise for the following input 0011111110the shift of data is proven in left course, first off the input is shifted in left direction through one bit the output is 0111111100, in left shift the shifted data is removed and empty spaces are changed through zeros. In rotating data left the input is 1011111110, first off the data is circled with the aid of one bit output is 0111111101, secondly the data is rotate of two bit production is 1111111010,thenconcluding the data is revolvenearly six bit output is 1110101111 Fig.4 Shift and rotate operation in Barrel Shifter IJRAR1944225 International Journal of Research and Analytical Reviews (IJRAR) www.ijrar.org 14 © 2018 IJRAR December 2018, Volume 5, Issue 04 www.ijrar.org (E-ISSN 2348-1269, P- ISSN 2349-5138) 3.