Professional Documents
Culture Documents
August 2002
Recommended Citation
Tang, Makara, "Comparison of CMOS XOR and XNOR gate design" (2002). Scholar Archive. 3219.
http://digitalcommons.ohsu.edu/etd/3219
This Thesis is brought to you for free and open access by OHSU Digital Commons. It has been accepted for inclusion in Scholar Archive by an
authorized administrator of OHSU Digital Commons. For more information, please contact champieu@ohsu.edu.
Comparison of CMOS XOR and XNOR Gate Design
Makara Tang
B.S. Mathematics, Portland State University (1997)
Minor B.S. Electrical Engineering, Portland State University (1997)
August 2002
The thesis "Comparison of CMOS XOR and XNOR Gate Design" by
Makara Tang has been examined and approved by the following Examination
Committee:
The author thanks his close friend Ossah Chan at Mentor Graphics as market engineer for
supporting the tool, and his co-workers, Michael Pang Cheng Hsu (Senior Staff
Researcher, Intel) for suggestions on the HSPICES NETLIS waveform. The author also
thanks Professor Shekha y Borkar (Intel), Professor Stewart Taylor (Maxim), Professor
Milt Scholl (OGI), Professor Rom Krishnamurthy (Intel), Professor Kartik Raol (Intel),
Professor Raj Solanki (OGI), Professor Malgorzata Chrzanowslta-Jeslte (PSU), and
Professor Shih-Lien Lu (Intel) for their classes that I took and led me to an understanding
of the field of modem VLSI technology. Thanks also to Intel Corporation Department of
Circuit Research Lab that offered me a job. I had practical experience with hands on
analytical tools by operating the equipment and probing wafers at the Circuit Research
Lab. Finally, the author would like to thank the persons that helped editing his thesis
Professor Milt Scholl (OGI), Julianne Williams (OGI), Professor Jody Lee House (OGI
RectdingWriting research group), Yi Liang (OGI Readinwriting research group), and
Songtao Xia (OGI Readinflriting research group).
Table of Contents
Page
...
Acknowledgements .............................................................................. ..ill
List of Tables ........................................................................................v
List of Figures .......................................................................................vi
Abstract ..............................................................................................vii
Reference ............................................................................................-52
APPENDIX A: Carry Selected Full Adder .......................................................53
APPENDIX B: TSMC CMOS Fabrication Technology ....................................... 57
APPENDIX C: HSPICE NETLIS Files ..........................................................59
APPENDIX D: The Layout of XOWXNOR Works on Mentor Graphics, Design
Architecture (DA) from Figures 2.M1 to 2.M5, and Schematic of 128
XOWXNOR-gates ...............................................................-72
List of Tables
Page
Table 1 TSMC 0.35um Fabrication Technology .............................................57
Table 1.1 The Function of XOR and XNOR ...................................................3
Table 2.1 Advantageldisadvantage comparison ..............................................15
Table 3.1 Generalized MOSFET Scaling Theory ...........................................23
Table 3.2 Output simulation file of the parameter model for CMOSN and CMOSP
TSMC 0.25pm fabrication technology............................................ 24
Table 4.1 2.5volt Delay Time Analysis of Each XOR Structure............................26
Table 4.1 2.0volt Delay Time Analysis of Each XOR Structure............................26
Table 4.1 1.5volt Delay Time Analysis of Each XOR Structure ........................... 26
Table 4.1 1.Ovolt Delay Time Analysis of Each XOR Structure............................26
Table 4.2 2.5volt RisinglFalling Time Analysis of Each XOR Structure.................28
Table 4.2 2.0volt RisinglFalling Time Analysis of Each XOR Structure..................28
Table 4.2 1.5volt RisingFalling Time Analysis of Each XOR Structure.................28
Table 4.2 1.Ovolt RisingEdling Time Analysis of Each XOR Structure..................29
Table 4.3 Comparison of Each XOR Function ............................................... 31
Table 4.4 Average Power Dissipation from 0 through 100ns...............................31
Table 4.5 2.5volt with scale Vth Delay Time Analysis of Each XOR Structure .........33
Table 4.5 2.5volts Delay Time Analysis of Each XOR Structure.........................33
Table 4.5 2.0volt Delay Time Analysis of Each XOR Structure...........................34
Table 4.5 1.5volt Delay Time Analysis of Each XOR Structure...........................34
Table 4.5 1.Ovolt Delay Time Analysis of Each XOR Structure...........................34
Table 4.6 2.5volt with scale Vth RisingFalling Time Analysis of Each XOR ...........36
Table 4.6 2.5volt RisinglFalling Time Analysis of Each XOR Structure.................36
Table 4.6 2.0volt RisinglFalling Time Analysis of Each XOR Structure.................36
Table 4.6 1.5volt RisinglFalling Time Analysis of Each XOR Structure.................37
Table 4.6 1.Ovolt RisingFalling Time Analysis of Each XOR Structure.................37
Table 4.7 Comparison of Each XOR Function ...............................................40
Table 4.8 Average Power Dissipation XOR from 0 through 100ns.......................40
Table 4.9 2.5volt with scale Vth Delay Time Analysis of Each XNOR ...................42
Table 4.9 2.5volt Delay Time Analysis of Each XNOR Structure.........................42
Table 4.9 2.0volt Delay Time Analysis of Each XNOR Structure.........................43
Table 4.9 1.5volt Delay Time Analysis of Each XNOR Structure........................ 43
Table 4.9 1.Ovolt Delay Time Analysis of Each XNOR Structure......................... 43
Table 4.10 2.5volt with scale Vm RisingIFalling Time Analysis of Each XNOR .......45
Table 4.10 2.5volt RisingFalling Time Analysis of Each XNOR Structure............45
Table 4.10 2.0volt RisingFalling Time Analysis of Each XNOR Structure............45
Table 4.10 1.5volt Risinpalling Time Analysis of Each XNOR Structure............46
Table 4.10 1.Ovolt RisingFalling Time Analysis of Each XNOR Structure.............46
Table 4.11 Comparison of Each XNOR Function ..........................................49
Table 4.12 Average Power Dissipation XNOR from 0 through 100ns..................49
List of Figures
Page
Figure 1.1 Logic Gate of 8-bit Adder ..............................................................4
Figure 2.1 The XOR and XNOR Functions Implemented by Transmission Gates ..........7
. Figure 2.2 The XOR and XNOR Functions Implemented by
Transmission Gates with Driving Output ..................................................7
Figure 2.3a and 2.3b (a) Inverter-base XOR structure
(b) Inverter-base XNOR structure .............................................9
Figure 2.4a Improved Version of XOR Structure ................................................9
Figure 2.4b Another Improved Version of Exclusive-OR Structure ...........................9
Figure 2.5 Proposed XOR and XNOR .............................................................11
Figure 2.6 The Proposed XOR Structures with Driving Output ...............................11
Figure 2.7 The Proposed XNOR Structures with Driving Output .............................11
Figure 2.121Realistic-simulated circuit for Figure 2.2 .........................................13
Figure 2.12b Realistic-simulated circuit for Figure 2.4a. .......................................13
Figure 2 . 1 2 ~Realistic-simulated circuit for Figure 2.4b ........................................13
Figure 2.12d Realistic-simulated circuit for Figure 2.6 ........................................ 14
Figure 2.7lFigure 2.Ml Full Restored Combination Circuit Design XORIXNOR ........ 15
Figure 2.M2 Complimentary Pass Gate Logic ................................................. 16
Figure 2.M3 Cross Coupled Logic (input to Vdd instead of Vdd-Vth) ........................16
Figure 2.M4 Swing Restored Pass Gate Logic .................................................17
Figure 2.M5 Full Restored Combination Circuit Design XORlXNOR Driving Output ..17
Figure 2.13 Layout Design of Figure 2.2 XNOR ...............................................19
Figure 3.1 The input signal A and signal B .....................................................21
Figure 3.2(a) The output of 4 transistors XOR and (b) 6 transistors XNOR .................21
Figure 3.3(a) The output of 4 transistors XNOR and (b) 6 transistors XOR ................21
Figure 3.4(a) The output of 4 transistors XOR and (b) the 6 transistor XNOR .............21
Figure 4.1 Average Delay .........................................................................-27
Figure 4.2 Average Rising Delay .................................................................29
Figure 4.3 Average Falling Delay ................................................................30
Figure 4.4 Average Power Dissipation ...........................................................32
Figure 4.5 Average Delay XOR Gates ...........................................................35
Figure 4.6 Average Falling Delay XOR Gates ..................................................38
Figure 4.7 Average Rising Delay XOR Gates ...................................................39
Figure 4.8 Average Power Dissipation XOR Gates .............................................41
Figure 4.9 Average Delay XNOR Gates .........................................................44
Figure 4.10 Average Rising Delay XNOR .......................................................47
Figure 4.11 Average Falling Delay Gates ........................................................48
Figure 4.12 Series Connection of 128 XOR-Gates .............................................. 50
Abstract
Makara Tang
M.S, OGI School of Science and Engineering at OHSU
August 2002
vii
1.0 Synopsis
Complementary Metal Oxide Semiconductor (CMOS) technology is
advancing for microprocessors. Supply voltage (Vdd) and transistor size continue
to scale smaller sizes with lower power dissipation and faster microprocessors.
The exclusive-OR (XOR) and exclusive-NOR (XNOR) functions are popular
gates in microprocessors. The XORIXNOR gates are fundamental unit circuits
used in comparators, parity checkers, error detectors and correctors, multipliers,
adders (ALU, AGU), etc. Many circuit implementations of XOR/XNOR gates
have been proposed previously. One circuit that is implement the XOWXNOR
gates was published by Jyh-Ming Wang, Sung-chuan Fang, and Wu-shiung Feng
[12]. In their work, Jyh-Ming Wang compared several circuit implementations
using supply voltage (Vdd = 5volt) with TSMC O.8pm fabrication technology.
This thesis proposes several circuit-level implementations of XOWXNOR
gates. These circuits were simulated using a circuit simulator (HSPICE) with
various supply voltages. The various supply voltages are important because as
technology continues to scale to smaller feature size, supply voltage (Vdd) also
needs to scale down for reliability and power reduction [9].
The optimizations in this thesis have been performed through simulations
with HSPICE using various supply voltages from Vdd = lvolt to Vdd = 2.5volt on
TSMC 0.35pm fabrication technology. First part in thesis simulations with
HSPICE using TSMC 0.35pm fabrication technology is devoted to re-evaluation
of these circuit implementations using more advanced technology. Second part
of the thesis proposes two new combination XORIXNOR circuit implementations
and simulated with Mentor Graphic using TSMC 0.25pm fabrication technology.
The Design Architecture @A) tool was used for designing the circuits and the
ACCUSIM tool was used for simulation. The optimization in this thesis has also
been performed through simulations with Mentor Graphics Software using
various supply voltages from Vdd = lvolt to Vdd = 2.5volt on TSMC 0.25pm
fabrication technology.
1.1 Physical Layout
The Mentor Graphics Physical Layout tool was used to design the
XOR/XNOR circuits. The Lambda value was used, specifying Lambda equal to
0.125pm (h-0.125). In addition, the supply voltage used was Vdd = 2.5volt with
TSMC 0.25pm fabrication technology for this Physical Layout Design [5]. The
stick rule was used for the component layout and applied the design rule applied
for the component layout space requirements. The dimension-width scaling of the
gate-area ratio in Complementary Metal Oxide Semiconductor P-channel
(CMOSP) and Complementary Metal Oxide Semiconductor N-channel (CMOSN)
is 3:l. The physical W/L sizes of CMOSP and CMOSN are 2.lpdO.35pm and
1.05pmf0.35pm respectively, in order to meet the optimal design of low power
with high performance.
1.2 Fan-Out
The term "fan-out" as used with digital circuits describes the maximum
number of load gates (circuits) of similar design as the driver gate that can be
connected to the output of XOR/XNOR thus helping to drive the output signal for
the driver gate [12].
Table 1.1
Functions of XOR and XNOR
A B XOR XNOR
0 0 0 1
0 1 1 0
1 0 1 0
1 1 0 1
Exclusive-NOR A XNOR B= A@ B
= AB + A'B'
Figure 2.2 The XOR and XNOR Functions Implemented by Transmission Gates
with Driving Output.
J B
- dc
1
XOR -
A
-
A
- XNOR
w w
_lB
-
m
- XOR
w
a -
A w
a
- -
-
1 B
A r
GND
Z.iE P&&,gc
(b) -
Figure 3.2 (a) The output of 4 transistors XOR and (b) 6 transistors XNOR.
0.0- I 1 I I
20.ON 40.ON 60.ON 80.ON 1OON
Figure 3.3 (a) The output of 4 transistors XNOR and (b) the 6 transistors XOR.
0.0 I I I I
20.ON 40.ON 60.ON 80.ON 1OON
Figure 3.4 (a) The output of 4 transistors XOR and (b) the 6 transistors XNOR.
3.1 MOSFET Scaling
-transmission
-i--- impro~d
- - A- - - another improwd
-
,A' proposed
restored HSPICE
0 1 2 3
Supply Voltage Source, Vdd (Volts)
O ! I I I I I I
-+transmission
+ improved
- - 4 - -another improved
p r o p o s e d
+ restored HSPICE
0
0 0.5 1 1.5 2 2.5 3
Supply Voltage Source, Vdd (Volts)
Table 4.4
Average Power Dissipation from 0 through loons of XOR Gates
80
70 -
60 -
50 -
3
a
Y
5 +improved
a
40- - - - - - - another improved
0) --4- proposed
ul
E
0)
2 30-
20 -
10 -
0 I I
0 1 2 3
Supply Voltage Source, Vdd (Volts)
5-
4.5 -
4-
3.5 -
P
w
3- -+- restored mentor
-
>,
Q +complement
0"a 2.5 - -f-complement bar
m +swing restored
g + restored drive
2 *-
1.5 -
I
1-
0.5 -
1
0
0 0.5 1.5 2 2.5 3
Supply Voltage, Vdd (Volt)
(Note: Two marks at V d d = 2.5 volt was shown on the chart, for the bottom mark
is simulated at V d d = 2.5 volt and the top mark is simulated with decreased
threshold voltage)
Table 4.6 @2.5volt with scale Vth
RisingIFalling Time Analysis of Each XOR Structure at 2.5volt with scale Vth
+restored mentor
--a- complement
- - f- - - complement bar
+swing restored
+ restored drive
-
... r e 0complement
._t_
.
restored driw
bar
swing restored
Table 4.7
Comparison of Each XOR Function
Symbols: AB= 00, 01, 10, 11. #Tr is number of transistors, 0 is good signal
level. X is poor signal level. A is nearly good signal level.
Table 4.8
Average Power Dissipation from 0 through loons XOR Gates
Unit: uW, Power@lv Power@1 . 5 Power@2v
~ Power@2.5v Power@2.5v
Vth
300 -
250 -
200 -
h
fn
Fi
3 +restored Mentor
1
Y
complement
-+I-
8
k 150 - +complement bar
n +swing restored
a
m -- -
O -restored drive
E
2
100 -
50 -
0
0 0.5 1 1.5 2 2.5 3
Supply Voltage, Vdd (volt)
Table 4.902.5volt
Delav Time Analvsis of Each XNOR Structure at 2.5Volt
Unit: ns 1
I Figure2.Ml 00->10 1 1
10->I1 11->01 01->00 1 1
Average
1.21 1.18 1.47 1.53 1.34
Figure 2.M2 2.36 2.25 1.58 1.47 1.91
Figure 2.M3 2.61 2.62 1.63 1.64 2.22
Figure2.M4 0.17 0.16 1.21 1.21 0.68
Table 4.9 @ 2.0volt
Delav Time Analvsis of Each XNOR Structure at 2.0Volt
I Unit: ns 1 00->lo 1 1
10->I1 11->01 101->00 1 Average I
Figure 2.M1 1 1.40 1 1.31 1 1.67 1 1.73 1 1.53
Figure 2.M2 2.56 2.45 2.78 1.67 2.11
Figure2.M3 2.81 2.82 1.83 1.84 2.42
Figure 2.M4 0.37 0.36 1.81 1.81 1.28
Figure2.M5 2.90 2.80 2.90 2.80 2.85
- + - restored mentor
- *- complement
+complement bar
+swing restored
---+I+-restored drive
6 -
5-
e 4-
-.
V
-s +restored mentor
A - - complement
!i
i= 3 - - -
complement bar
6
.-Pe8 +swing restored
Q)
a
-+
restored drive
2
$ 2 -
1 -
0 I I I I 1 I
- -e - restored mentor
- - €3 - - complement
+complement bar
+swing restored
-X- .restored drive
Table 4.12
Average Power Dissipation at 2ns-100ns of XNOR
I D
I *
B
In this thesis, the author has proposed new configurations of CMOS designs
for the exclusive-OR and exclusive-NOR functions. For all four-transistor
configurations, based on the output waveform results, the designs no longer need
the complementary signal inputs and only one poor signal input. For the six
transistor types that arise from adding the fan-out (inverter) connected to the
output XORIXNOR gates to help drive the output signal, the proposed designs
have non-complementary inputs, good signal level outputs and the best driving
capability. Based on the simulation results of both the four-transistor and six-
transistor types, the designs are better and more competitive than traditional XOR
circuits. An experiment where series connected 128 XOR/XNOR gates was
designed with a static gate for low power circuit design and was verified by using
the Mentor Graphics simulation. The simulation results showed the signal output
waveforms working correctly from XORl gate to XOR127 gate without
degeneration.
REFERENCE
[I] J.E Meyer, "MOS models and circuit simulation Analysis and design of
digital integrated circuits" ,RCA Review, vol 32, page 42-63, 1999.
[2] HSPICE User's Manual Meta-Software, 1996.
[3] Michael Reed, Ron Rohrer, Applied Introductory Circuit Analysis,
Kluwer Academic Publishers, 2000.
[4] David A. Hodges, Horace G. Jackson Analysis and
Design of Digital Integrated Circuits, Kluwer Academic Publishers, 2000.
[5] Neil H.E. Weste, Kamran Eshraghian, Principles of CMOS
VLSI Design, AT&T Academic Publishers 1993.
[6] Tgze P. Haraszti, CMOS Memory Circuits, Kluwer Academic Publishers,
2000.
[7] Nan Zhung and Haomin Wu, "A new design of the CMOS full adder", IEEE
J. Solid-State Circuits, Vol. 27, pp. 840-844, May 1992.
[8] X. Wu and F. Processer, "Design of ternary CMOS circuits based on the
Transmission function theory", Int. J. Electron, Vol. 65, pp 891-905, 1988.
[9] Yuan Taur and Tak H. Ning, Fundamentals of modem VLSI Devices,
Cambridge University Press, 1998.
[lo] Wayne C. Booth, Gregory G. Colomb, Joseph M. Williams The Craft of
Research, University of Chicago Press, 1995.
[ l 11 Dilwyn Edwards and Mike Hamson, Guide to Mathematical Modelling,
CRC Press, 1990.
[12] Jyh-Ming Wang, Sung-chuan Fang, and Wu-shiung Feng "New Effective
XOR and XNOR Transistor Level" IEEE Journal of Solid-State Circuits,
Vol. 29, No.7, July 1994.
APPENDIX A: Carry Selected Full Adder
10 Transistors for Half Adder (Transmission Gate)
16 Transistors for Full Adder (Transmission Gate)
8 Transistors for Half Adder (Pass Transistors)
14 Transistors Full Adder (Pass Transistor)
6P IaAa? SOMd/dSOM3 13aOM'
(PTO'O-=VL3X? P-3L8TEP9.L- = 3 E-3ZLESO8'P- = ZXd+
8ZP-96-=MSaXd T8PZSZO'O- = OHLAd T'O = MSrM+
6PT6989'0=MS86 0T-3SSOT8T.E = MSP3 969LSSE.O = L'X+
Z96LST8'0=Bd P-3Z969LZ.6 = ~3 0 = 0833+
OT-396'T=OS33 0T-396'7: = 0a33 Z = aOMdV3+
0 =?M? 7: = NM? 0 = M?+
T =N?? 0 =T? 0 = W+
T =NMM 0 =MM 7: = N?M+
o =?M VZE-E =LV TT-39-s- = Tan+
8T-3Tg'L-=T8n 6-3TE'P =TVn ZZO'O = ZLX+
o =TTLX TT-0-=T;Ln 2-T- = 3~n+
o =LX~ 7: = a o ~ a o ~ TO o = ~~?3a+
SO'O = 3VAd L-3SEZ9P-T =Z383Sd 63S8PEL6-9 = T3a3Sd+
L~L'O=UIOU~ 0 = 83~81ad E-3PZPL8L.T = Z3?8Iad+
T =~3?81ad PTE99L9.0 = M13d LS6LSZO'O = 8flSa+
0 = W L 3 E-3TZE8ZT.Z = OVL3 o = 83sa3+
o =a3sa3 P - 3 6 ~ ~ ~ 0=9 - 8 3sa3 o = LI~+
OTLS'O =XOL3VdN SE6ZET.O-= ddOA 6-3T69TS8'S = 8Ma+
8-36L'T-=3Ma 0 = MX 0 = ?X+
6-3STEL'T=;LNI? 8-3S9698T'L= LNIM T = XM+
E-3T-=8MXd E-3T- = 3MXd Z86TOLZ'SZ6 = MSaX+
T =ZV 0 = TV E-3T8T8.L- = YLBX+
9-3s =T8 L-3E6EPP8.Z = 08 PLEOT8Z'O = S3V+
SET'T=OV SBS8LOET.T = LYSA TT-3968L9O.L = 3n+
8T-3ZELLST=8fl OT-3TZ6'Z= vfl 9L6T8E6'PPP = on+
6TLT.O-=ZLAa ZL6ESPZ'O = TLA~ LTOZTT'O = O;LA~+
ZEO'O-=MZLAa 9 3 E S S = MTLAa 0 = MOLAa+
L-3ZP68'Z=XW 9-36TE9E8.Z = OM S9TZTOZ'O = SEX+
LE9E96Z'O=EX SOL66TO'O = ZX 69LLOES.O = TX+
b96V0O =OH= LT3L.T = H3N L-35.7: = PX+
6 - X 9 - L =XO& LZ = MONL T'E = NOISUBA+
6P =?3A3? ) SOXN N S O M ~~ 3 a 0 ~ '
q~ne~aa=sJaqaurexcaa~nqe~adura;~ .
TT :dVM A88u :LO?+
8 6 / 0 ~330 : 3 ~ v ar
.MODEL CMOSP PMOS ( LEVEL= 49
+VERSION = 3.1 TNOM = 27 TOXz7.6E-9
+XJ = 1.5E-7 NCH = 1.7E17 VTHOe-0.6636
+K1 = 0.4564781 K2 = -0.019447 K3=39.382919
+K3B = -2.8930965 WO = 2.655585E-6 NLX=I.51E-7
+DVTOW = 0 DVTlW = 5.3E6 DVT2W=-0.032
+DVTO = 1.1744581 DVT1 = 0.7631128 DVT2=-0.1035
+UO = 151.3305606 UA = 2.0612113-10 UBz1.8277E-18
+UC = -8.973213-12 VSAT = 9.91560434 A0=1.121053
+AGS = 0.3961954 BO = 6.493139E-7 Blz4.2215E-6
+KETA = -9.27E-3 A1 = 0 A2 = 1
+RDSW = 2.3072533 PRWG = -lE-3 PRWB = 0
+WR = 1 WINT = 5.962233E-8 LINT=4.30928E-9
+XL = 0 XW = 0 DWG=-1.5962E-8
+DWB = 1.3789193-8 VOFF = -0.15 NFACTOR = 2
+CIT = 0 CDSC = 6.593084E-4 CDSCD = 0
+CDSCB = 0 ETA0 = 0.0286461 ETAB = 0
+DSUB = 0.2436027 PCLM = 4.3597508 PDIBLC1=7.44E-4
+PDIBLC2 = 4.256073E-3 PDIBLCB = 0 DROUT=0.012
+PSCBEl = 1.347622E10 PSCBE2 = 5E-9 PVAG=3.669793
+DELTA = 0.01 MOBMOD = 1 PRT = 0
+UTE = -1.5 KT1 = -0.11 KTlL = 0
+KT2 = 0.022 UA1 = 4.313-9 UB1=-7.61E-18
+UC1 = -5.6E-11 AT = 3.3E4 WL = 0
+WLN = 1 WW = 0 WWN = 1
+WWL = 0 LL = 0 LLN = 1
+LW = 0 LWN = 1 LWL = 0
+CAPMOD = 2 CGDO = 2.3073-10 CGSOz2.307E-10
+CGBO = 0 CJ = 1.4202823-3 PB = 0.99
+MJ = 0.5490877 CJSW = 4.7736053-10 PBSW = 0.99
+MJSW = 0.1997417 PVTHO = 6.58707E-3 PRDSW=-93.5582
+PK2= 1.011593E-3 WKETA = -0.0101398 LKETA ~6.0273-3)
APPENDIX C: HSPICE NETLIS Files
*WAVEFORM SETUP
Va a 0 pulse(l.5,O ins 3.33ns 3.33ns 20ns, 66.66ns)
Van an 0 pulse(0, 1.5 ins 3.33ns 3.33ns 20ns, 66.66ns)
Vb b 0 pulse(l.5,O ins 3.33ns 3.33ns 40ns 86.66ns)
Vbn bn 0 pulse(0, 1.5 ins 3.33ns 3.33ns 40ns 86.66ns)
***********************************************
** This file is HSPICES NETLIS of Fig 2.6/AXNORB **
Circuit: Fig. 6 The Proposed XNOR structure with **
** driving output **
************************************************
* File:axnorb_fig6.sp, 1=.35u,WP=2.1u
* Vcc = 1.5V
Vdd Vdd 0 DC 1.5V
Vss Vss 0 DC OV
*********************************************************
**
** This file is HSPICES NETLIS of Fig 2.7//Fig 2.MI XOR/XNOR
**
** Circuit: Fig. 7/ Fig. Ml Full restored Combination circuit design
** XOR/XNOR **
***********************************************************
* File:axorb_fig12.sp
* Vcc = 1.5V
MI out b a Vdd CMOSP L=O.35u W=5u
M2 out a b Vdd CMOSP L=O.35u W=5u
68
************************************************
** This file is HSPICES NETLIS of Fig 2.l2a/AXORB **
** Circuit: Fig. l2a Realistic-simulated circuit for Fig. 2 **
*************************************************
** File:axorb_fig12a.sp
* Vcc = 1.5V
Ml out bn a Vdd CMOSP L=O.35u W=14u
M2 a bout Vss CMOSN L=O.35u W=7u
M3 out b an Vdd CMOSP L=O.35uW=14u
M4 an bn out Vss CMOSN L=O.35uW=7u
M5 outl out Vdd Vdd CMOSP L=O.35uW=2lu
M6 outl out Vss Vss CMOSN L=O.35uW=7u
**********inpuca, outpuCan
M7 an a Vdd Vdd CMOSP L=O.35uW=6u
M8 an a Vss Vss CMOSN L=O.35uW=2u
***********inpucan, outpuCa
M9 a an Vdd Vdd CMOSP L=O.35uW=6u
MlO a an Vss Vss CMOSN L=O.35uW=2u
**********inpuCb, outpucbn
Mll bn b Vdd Vdd CMOSP L=O.35uW=6u
M12 bn b Vss Vss CMOSN L=O.35uW=2u
***********inpuCbn, outpuCb
*WAVEFORM SETUP
Va a 0 pulse(1.5, 0 Ins 3.33ns 3.33ns 20ns, 66.66ns)
Van an 0 pulse(O, 1.5 Ins 3.33ns 3.33ns 20ns, 66.66ns)
Vb b 0 pulse(1.5, 0 Ins 3.33ns 3.33ns 40ns 86.66ns)
Vbn bn 0 pulse(O, 1.5 Ins 3.33ns 3.33ns 40ns 86.66ns)
Vdd Vdd 0 DC 1.5V
Vss Vss 0 DC OV
C outl Vss IpF
.TRAN ..D2NS lOONS
.PRINT TRAN V(outl) I(Vdd)
.probe tran out=V(outl) Vdd=I(Vdd)
* let's measure average power consumption
.meas tran avg_curr avg I(Vdd) from=2.0ns to=lO.Ons
.meas avg_power param = '-avg_curr*1.5'
.end
************************************************
** This file is HSPICES NETLIS of Fig 2.I2b IAXORB **
** Circuit: Fig. I2b Realistic-simulated circuit for Fig. 4 **
*************************************************
* File:figI2b.sp
* Vcc = 1.5V
****** Inverter
Miout a Vdd Vdd CMOSP L=O.35UW=I5u
M2 out a Vss Vss CMOSN L=O.35UW=5u
********** Tranmission gate
M3 b a outl Vdd CMOSP L=O.35UW=2u
M4 bout outl Vss CMOSN L=O.35UW=2u
******* Inverter
M50utl b a Vdd CMOSP L=O.35UW=9u
M60utl bout Vss CMOSN L=O.35UW=3u
***********inpucan, outpuCa
M7 a an Vdd Vdd CMOSP L=O.35uW=6u
M8 a an Vss Vss CMOSN L=O.35uW=2u
**********inpuCbn, outpuCb
M9 b bn Vdd Vdd CMOSP L=O.35uW=6u
MlO b bn Vss Vss CMOSN L=O.35uW=2u
*WAVEFORM SETUP
Va a 0 pulse(1.5, 0 Ins 3.33ns 3.33ns 20ns, 66. 66ns)
Vb b 0 pulse(1.5, 0 Ins 3.33ns 3.33ns 40ns 86.6 6ns)
Van an 0 pulse(O, 1.5 Ins 3.33ns 3.33ns 20ns, 6 6.66ns)
Vbn bn 0 pulse(0,1.5 ins 3.33ns 3.33ns 40ns 86. 66ns)
"WAVEFORM SETUP
Va a 0 pulse(0, 1.5 ins 3.33ns 3.33ns 20ns, 66.66ns)
Vb b 0 pulse(0, 1.5 ins 3.33ns 3.33ns 40ns 86.66ns)
Van an 0 pulse(l.5,O ins 3.33ns 3.33ns 20ns, 66.66ns)
Vbn bn 0 pulse(l.5,O ins 3.33ns 3.33ns 40ns 86.66ns)
Vdd Vdd 0 DC 1.5V
Vss Vss 0 DC OV
R outl Vss 550
R l out2 Vss 50
.TRAN .02NS 100NS
.PRINT TRAN V(out 1) I(Vdd)
.probe tran out 1=V(out 1) Vdd=I(Vdd)
* let's measure average power consumption
.meas tran avgcurr avg I(Vdd) from=2.0ns to=lO.Ons
.meas avgpower param = '-avgcurr* 1.5'
.end
................................................
** This file is HSPICES NETLIS of Fig 2.12d IAXORB **
** Circuit: Fig. 12d Realistic-simulated circuit for Fig. 6 **
.................................................
* File:fig 12d.sp, 1=.35u, WP=2. l u
* Vcc = 1.5V
Vdd Vdd 0 DC 1.5V
Vss Vss 0 DC OV
MI outl out Vdd Vdd CMOSP L=0.35U W=15u
M2 out1 out Vss Vss CMOSN kO.35U W=5u
M3 out B y Vdd CMOSP L=0.35U W=2. l u
M4 y A Vdd Vdd CMOSP k 0 . 3 5 U W=2.lu
M5 out B A Vss CMOSN LF0.35U W=1.05u
M6 out A B Vss CMOSN k 0 . 3 5 U W=1.05u
M7 a an Vdd Vdd CMOSP L=0.35u W=6u
M8 a an Vss Vss CMOSN LF0.35~W=2u
**********input-bn, utput-b
M9 b bn Vdd ~ d CMOSP d L-0.35~W=6u
MI0 b bn Vss Vss CMOSN k 0 . 3 5 W=2u ~
C l outl Vss 1pF
Va A 0 p~lse(0~1.5 ins 3.33ns 3.33ns 20ns, 66.66ns)
Vb B 0 pul~e(O~l.5 ins 3.33ns 3.33ns 40ns, 86.66ns)
Van an 0 p ~ l s e ( l . 5 ~ins
0 3.33ns 3.33ns 20ns, 66.66ns)
Vbn bn 0 p~lse(l.5~0 lns 3.3311s 3.33ns 4011s 86.6611s)
.TRAN 0.020NS 100NS
.probe tran out=V(out) out l=V(out 1)
.meas tran avgcurr av g I(Vdd) from=1.Ons to= 10.0ns
.meas avgpower param= '-avgcurr* 1.5'
.end
********* END OF HSPICES NETLIS ************I**
APPENDIX D: The Layout of XORIXNOR Works on Mentor Graphics, Design
Architecture @A) from Figures 2.M 1 to 2.M5, and Schismatic
$\ .,
\
.j::;g
1::. .;:....
:,\. :
,..... ;;.: .:. .. :
........
. . ...
:;;
. .. ...
.....
. . .. ...
'...'.... ;;:. . . ;
;:; .. .....
: ....
.. . . .. ..;; . :;:.
;
q
: u.
I&<]
I... \