L EDIT with
its simulation using T
T-Spice
Spice
Asst.Prof.Dr.Pipat
Asst.Prof.Dr.
Pipat Prommee
TelecommunicationsEngineeringDepartment
Telecommunications Engineering Department
FacultyofEngineering
DOWNLOAD INSTRUCTIONS
The
ThematerialsaboutLEdit(Handout,Spice
materials about L Edit (Handout Spice
models,etc.)canbefoundinDrPipat
Prommees
website.
http://www.kmitl.ac.th/~kppipat
LEditProstudentversion.Youcanalso
download L Edit from
downloadLEditfrom
http://www.tannereda.com/longform
Setup
Thisversionmustrunin256colors.
For Windows XP users, set the display by
ForWindowsXPusers,setthedisplayby
rightclickingtheshortcutcreatedforLedit
and choosing properties
andchoosingproperties.
Thenclickthecompatibilitytab. Under
displaysettingsclick256colors.
OpenLedit
Open Ledit
L-EDIT
L
EDIT Windows
Drawing Layout
CreatenewLayoutfile
Create new Layout file
File>New.
Inthefollowingopenwindow,Browseandchoose
In the following open window Browse and choose
Generic_025.tdbinCopyTDBsetupfromfilearea.It
usuallylocatesin\MyDocuments\TannerEDA\Tanner
Toolsv13.0\LEditandLVS\Tech\Generic0_25um\.
= 0.25m or
Another
way, define
d fi
4 = 1m
To establish GRID
Zoomthewindowtoseegrid
Distancebetweengridpointsis1m
Distance between grid points is 1 m
InordertosetmousesnaptoGrid:
ClickSetup>Design
ClickontheGridtab
SetMousesnapgridto1locatorunit
Grid Setup
Inverter Layout
LayoutSpecifications:
NMOS:
L=0.5m,W=2 m
VDD
PMOS:
W/L
L=0.5m,W=4
Vout
Vin
W/L
VSS
Topview
CrossSection(FrontView)
CrossSection(FrontView)
PMOS Design
ChooseNWellintheleftpalette
anddrawabox.
IntheNWellarea,drawPSelect.
Noticethatthesizeandposition
should obey Design Rule which
shouldobeyDesignRule,which
canbefoundat
http://www.mosis.org/Technical/
Layermaps/lmscmos
y
p/
_scnpc.html.
p
WiththehelpofDRCbutton,
theviolationofdesignrulecanbe
shownbyrightclickingtheplace
whichishighlighted.Itisagood
hi h i hi hli h d i
d
ideatorunDRCateachstageof
yourdesignsothatyoucanfix
any error along the way
anyerroralongtheway
DrawActive.
DrawPoly.
Active
Contact
NSelect
NWell
Poly
Metal1
PSelect
NMOS Design
Metal1
D
DonotneedtodrawP
t
dt d
P
Wellbecausethe
p yg
emptygridofLEdit
standsforPWell.
DrawNSelect.
DrawActive.
DrawPoly.
PSelect
Poly
Active
Active
Contact
PSelect
Connects P
P-Substrate
Substrate
Connects N
N-Substrate
Substrate
FForNMOS,ontheP
NMOS
th P
substrate,placea
smallPSelectand
then Active layer
thenActivelayer.
Fromthisactivelayer
putcontactstothe
Metal1 layer that
Metal1layerthat
connectstoVSS.
UsingSwitch
Using
Switchto
to
DrawingPortbutton
Assignedportnameof
differentports,VDD,
VSS,Output,Input
.MODELPMOSPMOS (LEVEL=49
+VERSION=3.1TNOM=27TOX=5.8E9
+XJ=1E7NCH=4.1589E17VTH0=0.5887506
+K1=0.6126803K2=7.885899E3K3=0
+K3B=14.442188W0=1E6NLX=1E9
+DVT0W =0DVT1W
+DVT0W
0
DVT1W =0DVT2W
0
DVT2W =0
0
+DVT0=2.3705962DVT1=0.7414674DVT2=0.1278685
+U0=121.9538647UA=1.62789E9UB=1E21
+UC=1E10VSAT=2E5A0=0.9432943
+AGS=0.1657709B0=1.621073E6B1=5E6
+KETA=0.01749A1=6.582776E4A2=0.3
+RDSW=1.050595E3PRWG=0.1217968PRWB=0.3344162
+WR=1WINT=0LINT=3.148114E8
+XL=3E8XW=4E8DWG=4.599354E8
+DWB=3.248109E8VOFF=0.1241961NFACTOR=1.2000247
+CIT=0CDSC=2.4E4CDSCD=0
+CDSCB=0ETA0=0.4473028ETAB=0.1020914
+DSUB=0.9345426PCLM=0.7700996PDIBLC1=8.653573E4
+PDIBLC2=0.0213771PDIBLCB=1E3DROUT=0.4304851
+PSCBE1=2.607383E10PSCBE2=6.650832E9PVAG=6.011881E3
+DELTA=0.01RSH=3.4MOBMOD=1
+PRT=0UTE=1.5KT1=0.11
+KT1L=0KT2=0.022UA1=4.31E9
+UB1=7.61E18UC1=5.6E11AT=3.3E4
+WL = 0
+WL=0WLN=1WW=0
WLN = 1
WW = 0
+WWN=1WWL=0LL=0
+LLN=1LW=0LWN=1
+LWL=0CAPMOD=2XPART=0.5
+CGDO=6.74E10CGSO=6.74E10CGBO=1E12
+CJ=1.913294E3PB=0.9893175MJ=0.4712889
+CJSW =3.825105E
+CJSW
3.825105E10
10PBSW
PBSW =0.6116479MJSW
0.6116479 MJSW =0.296387
0.296387
+CJSWG=2.5E10PBSWG=0.6116479MJSWG=0.296387
+CF=0PVTH0=6.429985E3PRDSW=12.3017562
+PK2=3.434527E3WKETA=0.0244275LKETA=0.0136271)
il
SetupExtractDialog
GotoOutputtab
andtypeusedMOSIS
dt
d MOSIS
model.INCLUDE
mosis025.mdin
SPICE include
SPICEinclude
statementthenpress
OK
Finally,PressMenu
Finally Press Menu
Tool>Extract
T-Spice
T
Spice Simulation
O
OpenTspice
T i
Program
OpenMenu
File>open
Selectfile
Inverter.spcwhich
p
wasprevious
extracted.
Simulations using T
T-Spice
Spice
FileInverter.spcis
open.
TransistorM1and
M2arecreatedwith
thevalues,W,Land
parasiticelements
basedonyour
i di id l d i
individualdesign
Atdrain,sourceof
transistorare
namedasport
d
labels.
Simulations using T
T-Spice
Spice
Add
Addfollowing
f ll i
commandsfor
verifying the
verifyingthe
transient
p
response.
VDDVDD0dc1.5
VSSVSS0dc0
VinInput0PULSE(01.55n.01n.01n5n10n)
.TRAN.01n50n
.printtranV(Input)V(Output)
Press
PressF5orRun
F5 or Run
button.
Customizethewaveformbyaddingmoreonechartbyusingnewchart
C
i h
f
b ddi
h b
i
h
button.
Removev(Output)fromupperchartbypressmouseonitsandpressDEL.
Pressmouseonlowerchartandaddtraceinlowerchart
Transient Results
Th
Theresultsofinputandoutputwaveformare
l fi
d
f
showninupperandlowercharts,respectively.
Simulations using T
T-Spice
Spice
Addfollowing
dd f ll i
commandsfor
verifyingtheDC
analysis.
VDDVDD0dc1.5
VSSVSS0dc0
.DC Vin 0 1.5 0.01
.DCVin01.50.01
.printDCV(Input)V(Output)
Press
PressF5orRun
F5 or Run
button.
DC Analysis Results
Theresultsofoutputwhileinputvariedare
comparedinthesamechart.
IO
= gm =
Vin
Transistor
W
(m)
L
(m)
Transistor
W
(m)
M1 , M2
All NMOS
5
3
0.5
0.5
All PMOS
5
5
(I B )(OCOX W L )
NMOS
Current
mirror
CMOSOTASchematic
L
(m)
0.5
0.5