CadenceTutorial.docx
《CadenceTutorial.docx》由会员分享,可在线阅读,更多相关《CadenceTutorial.docx(37页珍藏版)》请在冰豆网上搜索。
![CadenceTutorial.docx](https://file1.bdocx.com/fileroot1/2023-1/2/ef2f9aa7-a6e5-4b33-a7ee-b7cce6207973/ef2f9aa7-a6e5-4b33-a7ee-b7cce62079731.gif)
CadenceTutorial
IntegratedCircuitDesignCADToolInformation
ThispagecontainscommonCADtoolinformationusedforthecoursesEEE4321(VLSICircuits)andEEE6321(AdvancedDigitalIntegratedCircuitDesign).
CADToolandTechnologyInformation
∙Generalinformation
∙GettingstartedwithCadence2.6.1
∙On-lineCADtutorialonSchematicEditor
∙On-lineCADtutorialonSpectresimulationthroughtheAnalogDesignEnvironment(ADE)
∙On-lineCADtutorialonLayout
∙On-lineCADtutorialonDRC/LVSwithCalibre
∙On-lineCADtutorialonExtraction
∙On-lineCADtutorialonUltrasim
Questionsorcommentsforimprovementofthispagetoshepard@ee.columbia.edu
LastUpdated:
11/03/2011
EEE4321-VLSICIRCUITS
Textbookinformation
ThesebooksareallonreserveintheColumbiaEngineeringLibrary.
Requiredtext:
∙WesteandHarris,CMOSVLSIDesign:
ACircuitsandSystemsPerspective,Addison-Wesley,2010. FourthEdition!
Otherusefulbooks:
∙Rabaey,Chandrakasan,andNikolic,Digitalintegratedcircuits:
adesignperspective,Prentice-Hall,2003.(PleasenotethatthisistheSecondEditionoftheoriginalRabaeytext. Prof.Rabaey'sbookhasbecomethe"industrystandard"textbookforintroductoryVLSIdesigncourses.)
∙GlasserandDobberpuhl,TheDesignandAnalysisofVLSICircuits,Addison-Wesley.(Thisisanexcellentcircuitsbook,althoughithasunfortunatelybecomealittledated.)
∙Y.TaurandT.H.Ning,FundamentalsofModernVLSIDevices,CambridgeUniversityPress.(Thisisareallyexcellentdevicephysicsbook,probablythebestoneavailabletoday.)
∙Uyemura,CircuitDesignforCMOSVLSI,Kluwer.
∙Bernstein,Carrig,Durham,Hogenmiller,Nowak,andRohrer,HighSpeedCMOSDesignStyles,Kluwer.(Anexcellent"encyclopedia"ofpracticaldigitalcircuits.)
∙Sutherland,Sproull,andHarris,Logicaleffort:
designfastCMOScircuits,MorganKaufmann.(Veryreadabletextongain-basedtuningofdigitalcircuits.)
∙D.Harris,Skew-tolerantcircuitdesign,MorganKaufmann.(Anexcellentbookforunderstandingtimingissuesindigitalintegratedcircuits;agreatreferenceforthelecturesonlatchesandclocking.)
[EE4321HOME]
TeachingLabCADToolsInformation
Modernindustrialintegrated-circuit-designCADtoolswillbeanintegralpartofthiscourse.AllstudentsmusthaveaccesstotheCADtoolsetupatColumbia. Thispagecontainsrelevantadministrativeinformationforallyouneedtodotogetstartedwiththesetools.
Readthefollowing:
∙YouwillusetheLinuxworkstationsintheVLSICADLab(1218Mudd)orintheEmbeddedSystemsLab(1235Mudd)
∙Youneed
oSwipe/badgeaccesstothelab
oAnactiveloginID
∙Atthefirstclass,Iwillcollectlogininformationandarrangeforbadgeaccessandcomputeraccounts. Afterthefirstweekofclass,anyproblemswithbadgeaccessshouldbeaddressedtoJohnKazana,theEEdepartmentlabmanager. Problemswithloginaccesstothemachinesshouldbeaddressedto BillMcCabe,theEEdepartmentsystemsadministrator.
GuidelinesforworkingintheVLSICADLaborEmbeddedSystemsLab:
BothcomputerlabsaremanagedbyEEDepartmentandtheyhavesomegeneralguidelineswhicharetobefollowedstrictly.Failuretocomplybytheserulesgenerallyresultsinpermanentdeletionoftheaccountwithoutmuchdiscussion.Inallcases,itwillbeextremelydifficultfortheinstructororTAtorestoretheaccount.
∙DoNOTbringanyfriends/visitorsinthelabandletthemusethemachinesonyouraccount. Thesearenot"public"machines,liketheCUITmachines.
∙Foodanddrinksareallowed,BUTyoumustbeVERYcarefulandcleanupafteryourself. Ifyoumakeamessordamageequipment,wewillsuspendthisprivilegeandyouwillberesponsibleforanydamagethatyoucause. Weareveryseriousaboutthis!
∙Thequotaforeachstudentis80MB.Therefore,itisimportantthatyoukeeponlyrelevantfilesinyourhome.Incase,yougenuinelyneedmorespace,consulttheTA.
∙DoNOTfirehugeprintingjobsatthelabprinter.PrintersareforyourconvenienceandprintinganythingotherthanHWorprojectfilesisNOTpermitted.Wehavelimitedquotaonthepaperandwehavetoworkwithinthoselimits.AlsoDONOTtrytoprinttooldocumentation.Suchfilesarehundredsofpages. IssuesregardingprintersuppliesshouldbeaddressedtoJohnKazana.
∙DoNOTrebootthemachines.Severalotherpeoplemighthaveimportantjobsrunningonthesamemachine.Contactsystemadministratorsincaseithangsorfreezes.
∙SystemAdministrator:
oBillMcCabe[trouble@ee.columbia.edu]
SomeFactsYouneedtoknow....
∙Defaultprintersshouldbesetcorrectlyforallthemachines. WhenyouprintfromthemachinesinMudd1218,theprint-outswillappearontheprinterinMudd1218. WhenyouprintfromthemachinesinMudd1235,theprint-outswillappearontheprinterinMudd1235.
∙WeencouragedoingyourhomeworkandprojectsintheMudd1218andMudd1235labs. ThisallowstheprofessorandTAtodowalk-throughandhelpyou. Italsoallowsyoutohelpeachother. However,youmaylogonremotely. Instructionsfordoingthiscanbefoundhere.
∙AllpathsforCADtoolsshouldbeautomaticallyset.
[EE4321HOME]
GettingStartedwithCadence2.6
ThispagewillhelpyousetupyourCadenceenvironment.
InyourLinuxdesktop,youwillseeafoldernamed"____'sHome".Insideitmakeanewfolder(directory)namedCadence.Thisiswhereyouwillberunningcadence.Openthisfolder,andright-clickyourmousetoopenaterminalthatwilllooklikethis:
Thetitleofthewindowcontainsinformationaboutyourloginandcurrentdirectory.Intheimageabove,theloginIDis'jaebin',thenameofthemachineis'linux8',andthecurrentdirectoryis'~/Cadence'.Yourhomedirectoryissymbolizedbythe'~'sign,andthe'/Cadence'partshowsthatIaminthedirectorycalledCadence.
Youcandoalmostanythingonthisterminalscreen,fromnavigatingtootherdirectories(folders)torunningsoftwarelikeCadence.Youwillneedtogetusedtothisscreen.Hereareafewusefulterminalcommandsthatwillhelpyouinthefuture:
gouponedirectory
cd..
changedirectory
cddestinationDirectory
copyallfilesfromdirectoryAtoB
cpdirectoryA/*directoryB
viewcurrentdirectory
pwd
viewlistoffilesincurrentdirectory
ls
openpdf
acroreadpdfname.pdf
makefolderatcurrentdirectory
mkdirnewname
initiateCadence
virtuoso&
ThefollowingfourfilesareneededtosetupyourCadenceenvironment:
1).cdsinit
2).cdsenv
3)cds.lib
4)display.drf
Youcancopythesefromthedirectory /usr/tools/cds/setup toyourCadencedirectory(~/Cadence)bytypingthefollowinglineintheterminal:
cp /usr/tools/cds/setup/* ~/Cadence
Thespacesbetweencommandsareexaggeratedabove,butonespaceissufficientintheactualcommandline.Type"ls"inyourterminaltocheckthatallfourfileshavebeensuccessfullycopied.NowgotoyourCadencefolder,notyourterminal,andchangethe'cdsinit'and'cdsenv'filenamestohavedotsinfrontofthem:
'.cdsinit'and'.cdsenv'(IMPORTANT!
!
).ThesearefilesthatdefineyourCadenceenvironmentwhenyouinitiatetheprogram.
Alsocopyacomptut.pdfbytyping
cp /usr/tools/cds/doc/* ~/Cadence
Youwillnowseethatacomptut.pdfhasbeencopied.ThisisatutorialforthepreviousversionofCadence(2.5).AfewoftheoptionnamesandGUIwillbedifferentfromwhatyouwillbeusing,butitwillserveasgoodreferencewhenyouarefacingproblemswiththeuserinterface(shortcutkeys,mousecontrols,etc).
Nowwearereadytodrawaschematic!
CadenceSchematicEditorInformation
Ifyouhaven'treadtheGeneralinformationpageortheGettingstarted...page,READTHOSEFIRST.
Inthishandout,wearegoingtolearnhowtodrawschematicsinCadenceSchematicEditor.WewilldrawasimpleinverterinComposerandthendoatransientsimulationusingtheAnalogDesignEnvironment.Followthesteps:
Step1:
Invokecadencebytyping virtuoso& fromyour~/Cadencedirectory.
Step2:
ClickonTools--->LibraryManager....Thelibrarymanagerwindowshouldpopupsoon.
Step3:
ClickonFile--->New--->Library.
Step4:
Onthe"NewLibrary"window,nameyourlibrary"yourUNI".
Step5:
A"technologyfilefornewLibrary"windowpopsup.Clickonattachtoanexistingtechnologylibraryandclickcms9flp.
Step6:
Yourlibraryshouldnowbelistedinthelibrarymanager's"Library"section.
Step7:
Inthelibrarymanagerwindow,ClickonthelibraryyoujustcreatedandchooseFile--->New--->Cellview.
Step8:
Onthe"newfile"window,whichpoppedup,enternewcellnamenexttothetabCell(nameit'inverter'thistime).Makesurethatthelibrarynameshouldbesameaswhatyougave,viewnameshouldsay"schematic"andtypeshouldsay"composer-schematic".Ifthe"type"showssomethingelse,youcanclickonthebuttonandchoose"schematic".
Step9:
Hit'OK"andaschematiceditingwindowpopsupshowingthelibraryname(yourUNI),cellname(inverter)andviewnamewhichis"schematic"inthiscase.
Step10:
Nowyouarereadytodrawaschematicinthiswindowwhichwillfinallylookasshowninthefigurebelow.LookaroundforafewsecondsandmakeyourselfcomfortablewiththeGUI.
FIG1
Step11:
FirstwewillplacethenmosandpmosfortheCMOSinverter.Choosefromthetopbar,Create-->Instance.ClickBrowsenexttolibrarynametoopentheLibrarybrowser-addinstancewindow.Choosecms9flpforthe"library",pfetforthe"cell"andsymbolforthe"view".Nowyouwillseeanewwindowcalled"addinstan