A Novel Dedicated Low Power 64 Bit Digital Comparator Using Cmos Logic
1Deparment of ETC, SIET, DHENKANAL,ODISHA
2Deparment of ELTCE, VSSUT, BURLA, ODISHA
In this paper we have designed a novel dedicated low power 64 bit digital comparator. Magnitude comparison is one of the basic functions used for sorting in microprocessor, digital signal processing, so a high performance, effective magnitude comparator is required. The main objective of this paper is to provide new low power, area solution for Very Large Scale Integration (VLSI) designers. A Low Power 64-bit CMOS binary comparator is proposed in this brief. Comparison is most basic arithmetic operation that determines if one number is greater than, equal to, or less than the other number. Comparator is most fundamental component that performs comparison operation. This brief presents comparison of modified and existing 64-bit binary comparator designs concentrating on power delay product. Modifications are done in existing 64-bit binary comparator design to improve the PDP of the circuit. Simulation of the proposed design is performed at 180 nm technology in Tanner EDA Tool.
At a glance: Figures
Keywords: Binary comparator, digital arithmetic, Power delay product (pdp), CMOS logic
Journal of Embedded Systems, 2014 2 (2),
Received May 19, 2014; Revised May 23, 2014; Accepted May 25, 2014Copyright © 2014 Science and Education Publishing. All Rights Reserved.
Cite this article:
- Panda, Shilparani, et al. "A Novel Dedicated Low Power 64 Bit Digital Comparator Using Cmos Logic." Journal of Embedded Systems 2.2 (2014): 28-31.
- Panda, S. , Behera, A. , Jena, M. R. , & Nath, S. (2014). A Novel Dedicated Low Power 64 Bit Digital Comparator Using Cmos Logic. Journal of Embedded Systems, 2(2), 28-31.
- Panda, Shilparani, Asirbad Behera, Manas Ranjan Jena, and Snigdharani Nath. "A Novel Dedicated Low Power 64 Bit Digital Comparator Using Cmos Logic." Journal of Embedded Systems 2, no. 2 (2014): 28-31.
|Import into BibTeX||Import into EndNote||Import into RefMan||Import into RefWorks|
Binary comparators are found in a wide variety of circuits, such as microprocessors, communications systems, encryption devices, image processing, 3D graphics and many others. A faster, more power efficient, or more compact comparator would be an advantage in any of these circuits. use of comparators in high-performance systems places a great importance on the extensive performance and power consumption optimizations. A comparator basically involves comparison of two n-bit bit numbers is a critical operation for almost all digital systems. A comparator compares two n-bit values to determine which is greater, or if they are equal. In general it is used to compare two inputs. Comparators are broadly classified into Analog and Digital comparators. However in this brief what is concerned is about the digital comparator. The digital comparator is further classified into Total (Full) comparators and Equality comparators. In full comparators, given two n-bit binary numbers A and B, they are able to separately recognize the three possible conditions i.e. A > B, A < B and A = B. In equality comparators, as the name suggests, they only indicate equality when both the inputs are equal. Comparators find their applications in many Digital Signal Processors. It has been an important logic block in an ALU and have extensive applications such as decoding of x86 instructions . It also finds applications in MIMO (Multiple Input Multiple Output) decoding algorithms require extensive iterations of binary number comparison. In recent year, high speed & low power device designs have emerged as principal theme in electronic industry due to increasing demand of portable devices. This tremendous demand is due to popularity of battery operated portable equipments such as personal computing devices, wireless communication, medical applications etc. Demand & popularity of portable electronic devices are driving the designers to strive for higher speed, smaller power consumption and smaller area. The logic style used in logic gates basically influences the speed, size, power dissipation, and the wiring complexity of a circuit. Circuit size depends on the number of transistors and their sizes and on the wiring complexity. The wiring complexity is determined by the number of connections and their lengths. All these characteristics may vary considerably from one logic style to another and thus proper choice of logic style is very important for circuit performance. in this paper a hierarchical approach has been adopted to design the CMOS comparator. Simulations are carried out for delay and power consumption with varying supply voltage at 180 nm technology in Tanner EDA Tool .1.1. Conventional Comparators vs Hierarchical Comparators
Conventional comparators are generally used for small magnitude comparison and becomes tedious for the case of large magnitude comparisons. To meet this requirement hierarchical comparators are used. Hierarchical design is suitable for wide comparators, faster designs are possible by combining several smaller comparators in a hierarchical fashion. By combining one or both of the designs with different widths in different stages, it is possible to take advantage of the best characteristics of both designs and create hierarchical comparators to meet a wide variety of speed, power, and area requirements .
64-bit binary comparator compares two numbers each having 64 bits (A63 to A0 & B63 to B0. This comparator is designed by combining seven numbers of 8 bit comparators and a final decision maker single 4 bit comparator arranged in hierarchical fashion .1.3. Circuit Diagram of Cmos Based 8 Bit Comparator
In this, the magnitude of two binary numbers is compared by identifying the locations of the first 1 from the MSB. The one that has the first 1 in most significant position is the largest. In case that the locations of the first 1 are the same in both numbers, the decision is postponed to the lower bit where only one input has 1 in that bit position if X >Y, Output comp = 1 and if X ≤Y, Output comp =0.
The results less than or equal to are conveyed by the same output Comp. This circuit uses basic logic gates such as NAND gates, NOR gates, inverters and a 2:1 Mux .
In general the sum of Mux gates in n-bit comparator is given by
The total number of gate count in n-bit comparator is
The proposed design strategy uses a hierarchical design of a full cmos 64-bit comparator is shown in Figure 3.4, which is composed of eight 8-bit comparators and one final 4 bit comparator. The 64 bits are divided into eight bytes which are evaluated at the same time, and then the 4-bit comparator produces the final output signal .
2. Circuit Description
To improve the speed and reduce power consumption, several designs rely on pipelining and power-down mechanisms to reduce switching activity with respect to the actual input operands’ bit values. This design uses all-N-transistor (ANT) circuits to compensate for high fan-in with high line throughput. This circuitry leverage custom logic gates for performing comparison. This architecture splits a 64-b comparator into two comparator stages, the ﬁrst stage consists of eight modules performing 8-b comparisons and the modules’ outputs are input into a second stage. The second stage uses a 4 bit comparator to get the final result .
This proposed design strategy uses a hierarchical design of a fast 64-bit comparator is shown in Figure 4.3, which is composed of eight 8-bit comparators and one final 4-bit comparator. The 64 bits are divided into eight bytes which are evaluated at the same time, and then the 4-bit comparator produces the final output signal. This modified 64 bit comparator depicts A<B, A=B and A>B respectively .
3. Simulation Result & Analysis
We have performed simulation of the proposed design by using Tanner EDA tools with 180 nm technology at room temp. i.e. 27C. In this experiment we have adjusted the aspect ratios i.e. (W/L) of both PMOS and NMOS transistors so as to get the accurate results.
The experiment has been performed by considering different values of the two 64 bit numbers.
The design is simulated at different power supply voltage ranging from 1v to 5v and corresponding delay is measured with the target to reach less power delay product (PDP) I.e. energy.3.1. Power Comparison
The average power consumption is also measured by applying a complete pattern during a long period of time. In this experiment, the Existing and modified comparators are simulated at 180 nm nm feature size by varying supply voltages ranging from 1v to 5v with 1v as step size.
Simulation results for 64 bit digital comparator using CMOS style.
Simulation results for 64 bit digital comparator using CMOS style.
3.1.1. Power Supply vs Power Consumed for Cmos
The power consumption for existing designs are calculated by performing simulation of circuit. Simulation results for power consumptions by varying supply voltage ranging from 1v to 5v with 1v as step size is shown as below.
The delay is also measured by applying a complete pattern during a long period of time. In this experiment, the comparators are simulated at 180 nm feature size by varying supply voltages ranging from 3v to 5v with 1v as step size.
The PDP is a qualitative measure of efficiency and compromise between power dissipitation and speed. PDP is particularly important When low power operation is needed. The average power consumption and average delay is calculated to find the energy required for the proper operation of the circuit is calculated and tabulated as below.
From the above graph it is seen that in the proposed CMOS based design the PDP is decreasing with respect to power supply. The design having lowest PDP is very energy efficient.
The PDP represents a tradeoff between two compromising features of power dissipation & circuit latency. Therefore the experimental analysis are made by giving emphasis on PDP.
On the basis of experimental result analysis the CMOS based comparator is shown to be superior in terms of PDP over virtually all testing conditions.
Improvement in PDP is one of the essential requirement for the present scenario of IC design.
The authors sincerely thank to the H.O.D & all the staff of Dept. of ETC, SIET, DHENKANAL, ODISHA for constant encouragement and support directly or indirectly.
|||M. Morris Mano “Digital Design” (Pearson Education Asia. 3rd Ed, 2002).|
|||Shun-Wen Cheng, “A High-Speed Magnitude Comparator with Small Transistor Count” in Proceedings of IEEE international conference ICECS, 1168-1171 Vol. 3, Dec 2003.|
|||S. Kang and Y. Leblebici “CMOS Digital Integrated Circuit, Analysis and Design” (Tata McGraw-Hill, 3rd Ed, 2003).|
|||H.M. Lam and C. Y. Tsui, “High performance single clock cycle CMOS comparators,” Electron. Lett. vol. 42, no. 2, pp. 75-77, Jan. 2006.|
|||H.M. Lam and C. Y. Tsui, “A MUX based high performance single cycle CMOS comparator,” IEEE Trans. Circuits Syst. II, Exp. Briefs, vol. 54, no. 7, pp. 591-595, Jul. 2007.|
|||Y. Jiang, S. S. Sapatneker, and C. Bamji, “Technology mapping for high performancestatic CMOS and pass transistor logic designs,” IEEE Trans. VLSI Syst., vol. 9, pp. 577–589, Oct. 2001.|
|||Chua-Chin Wang, C.-F. Wu, and K.-C. Tsai, “A 1.0 GHz 64-bit High-speed Comparator Using ANT Dynamic Logic with Two-Phase Clocking,” IEE Proceedings -Compurers and Digital Techniques, vol. 145, no. 6, pp. 433436, Nov. 1998.|
|||A. P. Chandrakasan and R. W. Brodersen, Low Power Digital CMOS Design. Norwell, MA: Kluwer, 1995.|