Professional Documents
Culture Documents
XOR-XNOR Cell
Majid Amini Valashani and Sattar Mirzakuchaki
Department of Electrical Engineering
Iran University of Science and Technology
Tehran, Iran
Email: amini.m.v@gmail.com, m_kuchaki@iust.ac.ir
Abstract—Many existing XOR-XNOR cells suffer from logic styles [2-5]. One way is implementing XOR output, then
nonfull-swing outputs, high power consumption and low speed turning it to XNOR output using an inverter. Two different
issues. In this paper, a new fast, full-swing and low-power XOR- designs that use this method are shown in Figs. 1(a) [2] and
XNOR cell, is presented. Simulation results in 90-nm CMOS 1(b) [3]. Fig. 1(a) shows a circuit which uses low power XOR
technology show that the proposed circuit has rail to rail outputs
Also, we have gained 11%-51%, 2%-19% and 18%-52%
gate (LP-XOR) presented in [2] to implement XOR function
improvement in delay, power consumption and power-delay and a static CMOS inverter to implement XNOR function.
product (PDP), respectively. In order to do a comparison This circuit is characterized by its low power consumption and
between the previously reported XOR-XNOR cells and our uses only six transistors, but it has nonfull-swing outputs. In
proposed circuit, they are embedded in a 4---2 compressor circuit the case of input signals AB=00, both PMOS transistors before
and simulation results prove energy efficiency of ours in more the inverter will be ON and a poor low signal will appear at
complicated structures. the XOR output, i.e. PMOS threshold voltage ( VTP ). This
Keywords — exclusive-OR (XOR); exclusive-NOR (XNOR); weak signal can still drive the inverter and produce strong ‘1’
full-swing; high-speed; low-power at the XNOR output. In the other input combinations, the
output signals will be complete.
I. INTRODUCTION The other structure that uses an inverter to implement
XNOR output from XOR output is illustrated in Fig. 1(b) [3].
The XOR-XNOR cells play a vital role in numerous circuits This circuit uses two transmission gates and three inverters.
such as adders, compressors, comparators, parity checkers and Although the mentioned problem is fixed in this design, but
so on. Therefore, their behavior can affect the circuit the main drawbacks are high average power consumption and
performance greatly. Since the minimum feature size of low speed due to presence of three inverters. It is worth
MOSFET devices is scaling down into only a few nanometers, mentioning that delays of XOR and XNOR outputs of designs
the supply voltage should be reduced to prevent hot-carrier in Figs. 1(a) and (b) are different due to presence of an
effects in CMOS circuits [1]. So, the importance of enhanced inverter for producing the XNOR output.
designs for circuits to reduce power consumption, speed up Another way to realize XOR-XNOR functions is to
the operation and also to avoid any reduction in the output generate them simultaneously as depicted in Figs. 1(c) [3], (d)
signal levels, is not negligible. Also, XOR-XNOR cells and [4] and (e) [5]. The circuit in Fig. 1(c) is a low power design
multiplexers are the vital part of practical circuits such as which is made of eight transistors and uses low power XOR
compressors and full adders. To drive selection lines of and XNOR gates reported in [2] to produce its both outputs
multiplexers in these circuits, the combined XOR-XNOR cell simultaneously. This design does not provide full-swing
is used. Therefore another key feature for designing these outputs. When both inputs A and B are low, the XOR output
circuits is to generate outputs at the same time rather than has weak logic level (a little higher than 0, i.e. VTP ), and when
using an inverter to generate one output from the other one.
The main contribution of this paper is the design of a XOR- both are high, the XNOR output has weak logic level (a little
XNOR cell which is fast, low-power and provides full-swing lower than VDD, i.e. VDD – VTN). Therefore, the mentioned
outputs. The rest of this paper is organized as follows. Section drawback of design in Fig. 1(a) exists as well. This problem
II gives a background and discusses the related works. In will be more critical in submicron technologies and low
section III, the new XOR-XNOR cell based on two new supply voltages.
structures for XOR and XNOR gates is presented and section Two previously reported XOR-XNOR cells which produce
IV gives the simulation results. Finally section V concludes both outputs simultaneously and provide good output levels in
this work. all possible input combinations are shown in Figs. 1(d) [4],
1(e) [5]. To guarantee full-swing operation cross-coupled
II. PREVIOUS WORKS PMOS transistors are used in both circuits. Design in Fig. 1(e)
is very similar to design in Fig. 1(d), except it uses only one
A variety of topologies have been proposed in the inverter. The total transistor count of circuits in Fig. 1(d) and
literature to realize the XOR and XNOR cells using different
695
Simulation results show that our proposed XOR-XNOR
circuit is the fastest one among its counterparts, 32%, 11%,
51% faster than circuits in Figs. 1(b), 1(d) and 1(e),
respectively. In the case of power consumption, our suggested
Fig. 4. Simulation setup. circuit is the most power efficient one among all the discussed
XOR-XNOR cells. It also has the best PDP, 18% less than the
In order to have a fair comparison, we optimized all the
best existing PDP (circuit in Fig. 1(d)). Also the layout view
four structures (our design and the previous ones introduced in
of the proposed XOR-XNOR cell is shown in Fig. 6, which
Figs. 1(b), 1(d) and 1(e)) with the same sizing algorithm
shows the symmetric and regular structure of our design.
described in [8] to achieve minimum PDP. The ratio W/L is
In order to assess our design performance under supply
written near each transistor in Figs. 1, 2 and 3. Channel length
voltage changes from 0.6v to 1.2v, we measured the values of
(L) of all transistors is fixed at 90-nm. All circuits have been
delay, power consumption and PDP within this range of
simulated under realistic conditions as depicted in Fig. 5. In
variation for supply voltage. Fig. 7 shows that all the
each transition, the times between inputs reaching 50% of the
considered circuits have reasonable characteristics while
voltage supply level and outputs reaching the same voltage
reducing supply voltage. Although design in Fig.1 (d) acts
level are measured. The worst case is considered as the
better than ours in term of delay for lower 0.8 supply voltages,
outputs delay. The delay is calculated from the output of the
Figs. 7(b) and (c) show that the power consumption and PDP
input buffers to the cell outputs. Due to different switching
of the presented circuit remain the best even in low supply
activities which is caused by different input patterns, power
voltages.
consumption changes. To be fair, all input patterns should be
considered and the average power consumption of all cases
should be set as the average power dissipation. PDP that is C. Simulation Results for a 4-2 Compressor
related to the energy efficiency of a logic circuit is calculated XOR-XNOR circuits are widely used in large structures
as well. The results are tabulated in Table II. such as compressors and adders. To compare the performance
of our new design in a real application, XOR-XNOR circuits
with multiplexers are used to build a 4-2 compressor as shown
in Fig. 8(a) [9]. It is mainly built of six modules, two XOR-
XNOR cells and four 2-1 MUX modules. Fig. 8(b) [10] shows
the static CMOS 2-1 multiplexer used in the 4-2 compressor.
It is robust against both voltage scaling and transistor sizing
and delivers sufficient drive to its succeeding blocks through
the output inverter [11]. Therefore, it is a good candidate to be
used in the 4-2 compressor.
The two control signals of MUX module, select and select
bar, should arrive the multiplexer at the same time to avoid
glitches and also to decrease the power which is consumed by
these unwanted glitches [10]. Worst-case delay, average
power consumption and PDP of 4-2 compressors by using
XOR-XNOR circuits in Figs. 1(b), 1(d), 1(e) and our proposed
scheme are calculated and shown in Table III. To be fair, the
MUX that is shown in Fig. 8(b) is used in all four 4-2
compressors. According to Table III, the delay, power
consumption and PDP features of our proposed circuit are
better than the other compared designs.
696
Delay .Vs Supply Voltage TABLE III. SIMULATION RESULTS FOR 4-2 COMPRESSORS IN 90-NM PTM
200 CMOS TECHNOLOGY AT F = 250 MHZ AND VDD = 1V.
Fig. 1(b)
180
Fig. 1(d) Architecture Worst-Case Power PDP
160 Fig. 1(e) using Delay (ps) (uw) (1e -16)
Proposed
140 Fig. 1(b) 180 5.82 10.47
Fig. 1(d) 175 5.81 10.17
Delay(ps)
120
40
20 IV. CONCOLUSION
In this paper a new XOR-XNOR cell is designed and
0
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3
Supply Voltage(VDD) compared with previous works. Simulation results show that
our proposed design has good functionality in 90-nm CMOS
Average Power Consumption .Vs Supply Voltage technology. A comprehensive comparison has been done with
1.8
Fig. 1(b)
some of the existing designs and there were almost 11%, 2%
Average Power Consumption(uw)
1.6
Fig. 1(d) and 18% reduction in terms of delay, power consumption and
1.4
Fig. 1(e) PDP, respectively, when compared to the best counterpart
Proposed
1.2
designs. Also by using the proposed cell in a 4-2 compressor,
we concluded that it can work efficiently in larger circuits.
1
0.8
0.6 REFERENCES
0.4
[1] V. Foroutan, M.R Taheri , K. Navi, A. Azizi, “Design of two Low-
0.2
Power full-adder cells using GDI structure and hybrid CMOS logic
0 style,” Integration, the VLSI journal, vol. 47, no. 1, pp. 48-61, January
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3
2014.
Supply Voltage(VDD)
[2] J. M. Wang, S. C. Fang and W. S. Feng, “New efficient designs for
XOR and XNOR functions on the transistor level,” IEEE Journal of
PDP .Vs Supply Voltage Solid-State Circuits, vol. 29, no. 7, pp. 780-786, July 1994.
1.2
Fig. 1(b) [3] A. Shams, T. Darwish, and M. Bayoumi, “Performance analysis of low-
Fig. 1(d) power 1-bit CMOS full adder cells,” IEEE Transactions on Very Large
1 Fig. 1(e) Scale Integration (VLSI) systems, vol. 20, no. 7, pp. 20-29, July 2002.
Proposed
[4] M. Aguirre and M. Linares, “CMOS full-adders for energy-efficient
0.8
arithmetic applications,” IEEE Transactions on Very Large Scale
PDP(1e-16)
697