教学EN-cadence+spectre+使用手册

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

CS/EE5720/6720–AnalogICDesignTutorialforSchematicDesignandAnalysisusingSpectreIntroductiontoCadenceEDA:TheCadencetoolsetisacompletemicrochipEDA(ElectronicDesignAutomation)system,whichisintendedtodevelopprofessional,full-scale,mixed-signalmicrochips.Themodulesincludedinthetoolsetareforschematicentry,designsimulation,dataanalysis,physicallayout,andfinalverification.TheCadencetoolsatouruniversityarethesameasthoseatmosteveryprofessionalmixed-signalmicroelectronicscompanyintheUnitedStates.ThestrengthoftheCadencetoolsisinitsanalogdesign/simulation/layoutandmixed-signalverificationandisoftenusedintandemwithothertoolsfordigitaldesign/simulation/layout,wherecompletetop-levelverificationisdoneintheCadencetools.AnimportantconceptisthattheCadencetoolsonlyprovideaframeworkfordoingdesign.Withoutafoundry-provideddesignkit,nodesigncanbedone.ThedesignrulesusedbyCadencesetupinthisclassisbasedforAMI’sC5Nprocess(0.5micron3metal2polyprocess).So,howisCadencesetup?Broadly,therearethreesetsoffilesthatneedtobeinplaceinordertouseCadence.1)TheCadencetoolsThesearethedesigntoolsprovidedbytheCadencecompany.Thesetoolsarelocatedinthe/home/cadencedirectory.TheyarecapableofVLSIintegration,projectmanagement,circuitsimulation,designruleverification,andmanyotherthings(mostofwhichwewon'tuse).2)Thefoundry-baseddesignkitAsmentionedbefore,theCadencetoolshavetobesupportedbyafoundry-baseddesignkit.Inthisclass,weuseCadencedesignkitdevelopedbytheNorthCarolinaStateUniversity(NCSUCDK).NCSUCDKprovidesanenvironmentthathasbeencustomizedwithseveraltechnologyfilesandafairamountofcustomSKILLcode.Thesefilescontaininformationusefulforanalog/full-customdigitalCMOSICdesignviatheMOSISICfabricationservice().Thisinformationincludeslayerdefinitions(e.g.colors,patterns,etc.),parasiticcapacitances,layoutcells,SPICEsimulationparameters,DivarulesforDesignRuleCheck(DRC),extraction,andLayoutVersusSchematic(LVS)verification,withvariousGUIenhancements.FormoreinformationonthecapabilityoftheNCSUCDK,goto’s0.5micronprocessusedinthisclasscanbefoundin/home/cadence/ncsu/local/models/spectre/nom/ami06N.m.3)ThesetupfilesinyourlocalcadencedirectoryTherearesetupfilesthatshouldbeinyourlocalCadencedirectory(i.e.thedirectoryfromwhichyouinvokeCadence)thatsetsuptherequiredlocalenvironmentalvariablesforCadencetoworkonyourcomputerterminal.Theyareasfollows:.cdsinit,.cdsplotinit,.simrc(setsupthevariablestobeusedbyNCSUCDK).cdsenv(notessential,butsetsyourpreferenceswhichcanbedifferentfromusertouser)Alsoweneeda.cshrcfiletosourcethecurrentversionofcadenceweareusinginthisclass.Now,ofthethreesetsoffiles,thefirsttwosetscontainingthecadencetoolsandtheNCSUCDKhavebeenalreadysetupbytheCadenceAdministratorsfortheclass.Inthistutorial,theprocessofsettinguptherequiredfilesinyourlocalcadencedirectoryisexplained.SettingupCadence2000Note:PeoplewhohavealreadysetupCadencebeforestillneedtofollowthestepsbelow.Beforeyoustartusingcadenceyouneedtocompletethefollowingsteps:1.First,beforeanythingelse,makeadirectoryfromwhichtorunCadence.ThisisimportantsothatallofCadence’sfilesendupinaconsistentlocation.IrecommendmakinganIC_CADdirectoryandthenunderthatmakingacadencedirectory:cdmkdirIC_CADmkdirIC_CAD/cadence2.Youneedtoaddthefollowinglinesinyour.tcshrcfile(orwhatevershellsetupfileyouuse…)Justopenitupwithemacsandadd:setpath=(/uusoc/facility/cad_common/local/bin$path)setenvICDIRIC_CADsetenvCADENCEDIR$ICDIR/cadence2setenvLOCAL_CADSETUP/uusoc/facility/cad_common/local/class/5830/cadenceAddingthefirstlinewillupdateyoursearchpathtoincludethepathofthecustomizedCADtoolstartupscripts.Thenextlinessetyourworkingdirectoryforcadenceas‘IC_CAD/cadence’.Thefourthlinesetsupthepathtoadirectorythatcontainsclass-specificsettings.Afteryousavethisfileyoucanlogoutandloginagain,oryoucansourceitfromthecommandpromptinthefollowingway.:~source.tcshrcThesourcingonlyneedstobedonethefirsttime.Afterthatthe.tcshrcfilewillbesourcedautomaticallywhenyouloginandstartupashell.3StartingCadence2000andMakinganewWorkingLibraryNowthatyouhaveyourownCadencedirectory(calledIC_CAD/cadenceifyou’vefollowedthedirectionsuptothispoint),youneedtoremembertoconnecttothisdirectorybeforeyoustarttheCadencetools.ThatwayCadencewillseetheinitfilesthatyou’veputinthatdirectory,andfindthecircuitsyou’vedesignedsinceallthedesignfileswillbestoredinthisdirectory.Inordertoorganizeyournewcircuits,younowneedtocreateanewlibraryusingtheCadencelibrarymanagertoholdyourdesignfiles.1.Connecttoyourclasscadencedirectory(cd~/IC_CAD/cadence)andrunthecommandncsu-icfb(thisstandsforNorthCarolinaStateUniversityand“icfronttoback,”incaseyou’recurious).Youshouldgetawindow(calledtheCommandInformationWindow–CIW)asshownbelow:2.LibraryManagerwillautomaticallybeopened.Ifnot,intheCIW,selectTools→LibraryManager….Youshouldgetthefollowi

1 / 21
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功