东南大学实验教材.docx
- 文档编号:6681591
- 上传时间:2023-01-08
- 格式:DOCX
- 页数:19
- 大小:98.90KB
东南大学实验教材.docx
《东南大学实验教材.docx》由会员分享,可在线阅读,更多相关《东南大学实验教材.docx(19页珍藏版)》请在冰豆网上搜索。
东南大学实验教材
CadenceSchematicSimulationw/Spectre
MaintainedbyJeffEchtenkamp/jeffy@iastate.edu
Youarewelcometoaccessthispage.
Tutorials(Spectre):
TransientAnalysis
DCAnalysis
ACAnalysis
NoiseAnalysis
HowdoI...
UsemyownSPICEmodels?
Useanahdlmodel?
Usedesignvariables?
Sweepadesignvariable?
Viewawaveform?
TellSpectrewhichvoltages/currentstosave?
Modifyconvergenceparameters
TransientAnalysis
InthisexamplewewillperformtransientanalysisonaCMOSinverter.Thecircuitusedis:
Wecanuseapulsesource(vpulse)fromtheanalogLiblibrarytotestthetransientresponseofthedigitalCMOSinverter.Thiswillprovideuswithouttime-variantinputsource.
1.Ifyouhaven'talready,createtheaboveschematic.UseEdit->Propertiestosetthepropertiesonthevpulsesourceasfollows:
Thiswillcreateapulsebetween0Vand5V,withaperiodof200nsanda50%dutycycle.
2.Checkandsaveyourdesign.Design->CheckandSave.
3.StartuptheAnalogArtistenvironment:
Tools->AnalogArtist.Thiswillgiveyou2newmenusintheschematicwindow.
4.ChooseAnalogArtist->Simulate.Thisbringsupthesimulatorinitializationdialog:
MakesurethatthesimulatorissettospectreS.YoumayalsochoosetousecdsSpice,ratherthanspectreS,ifyouaremorefamiliarwithSPICE'sconvergenceparameters.
5.ClickOKontheformtobringuptheAnalogArtistsimulationwindow:
6.Bringuptheformtosetyoursimulationenvironment:
Setup->Environment...:
TheModelPathtellsSpectrewheretofindtheSPICEmodelsforyourparts.Thisshouldbeadirectorycontaining.mfiles.ForourMOSIS2uprocess,thisshouldread:
/usr/local/cadence/local/cadence/mosis2uModels.
ClickOKonthisform.
7.Setthesimulationtype:
Analysis->Choose.ClickontheboxnexttoTransient.Thensettherangetimeforyoursimulation,alongwiththesteptime:
Intheaboveexample,weareperformingasimulationfromt=0tot=1000nsby1ns.
ClickOKontheform.
8.Next,tellSpectrewhichnodevoltagesandterminalcurrentswewishtosave.ChooseAnalysis->Outputs->Modify.Inyourschematicwindow,itwillread"ModifyOutputList...":
TotellSpectretosaveavoltage,clickonthewirewhosevoltageyouwishtohavestored.
TotellSpectretosaveacurrent,clickontheterminalofthedevicewhocurrentgoingintothatdeviceyouwishtohavestored.
Forexample,intheaboveschematic,thevoltagesofInandOutaretobesaved,astheyarehighlightedbyclickingonthetwowires.
9.Runyoursimultion:
Simulate->Run.Afterawhile,Spectrewillrespondthatitcompletedsuccessfully:
10.WenowneedtotellArtistwhichwaveformswewishtosee,inthiscaseInandOut.SelectResults->ModifyPlotSet->Modify...Theschematicwindowwillread"ModifyPlotSet..."SimilartohowyoutoldSpectrewhichvoltagesyouwanttosave(step8),clickonthevoltages/currentsyouwishtohaveplotted.
NOTE:
tobeabletoplotawaveform,youmusthavetoldSpectretosaveitsnode/currentdatabeforeyousimulatedit(step8).
11.Showyourwaveforms:
Results->PlotTransient.Thewaveformwindowwillappear:
12.Rightnow,thewaveformsareprobablyprettyhardtoread,asthetwowaveforms(inandout)areplottedonthesameaxis.Wecanmake2separategraphsbychoosingPlotOptions->Strip.Thewaveformsshouldnowshowthatyourinverterdoesindeedwork:
DCAnalysis
Inthisexample,wewillperformDCanalysisonaCMOSinvertertofinditsoutputtransfercurve.Thecircuitusedis:
WecanuseadcvoltagefromtheanalogLiblibrarytotesttheDCresponseofthedigitalCMOSinverter.WewillsweepthissourcebetweenVssandVdd.
1.Ifyouhaven'talready,createtheaboveschematic.TheDCsourcedoesnotneedtohaveaDCvoltage,itcanbeleftblank(wewillbesweepingit)
2.Checkandsaveyourdesign.Design->CheckandSave.
3.StartuptheAnalogArtistenvironment:
Tools->AnalogArtist.Thiswillgiveyou2newmenusintheschematicwindow.
4.ChooseAnalogArtist->Simulate.Thisbringsupthesimulatorinitializationdialog:
MakesurethatthesimulatorissettospectreS.YoumayalsochoosetousecdsSpice,ratherthanspectreS,ifyouaremorefamiliarwithSPICE'sconvergenceparameters.
5.ClickOKontheformtobringuptheAnalogArtistsimulationwindow:
6.Bringuptheformtosetyoursimulationenvironment:
Setup->Environment...:
TheModelPathtellsSpectrewheretofindtheSPICEmodelsforyourparts.Thisshouldbeadirectorycontaining.mfiles.ForourMOSIS2uprocess,thisshouldread:
/usr/local/cadence/local/cadence/mosis2uModels.
ClickOKonthisform.
7.Setthesimulationtype:
Analysis->Choose.ClickontheDCbutton.Setthefrom,toandbyfields(inthiscase,wewillsweepfrom0to5Vby.1V)Next,setthesourcetosweep,clickonselectcomponent,andthenclickontheDCsourcetobeswept.TheinstancenameoftheDCsourcewillappearontheform(inthiscase,V37):
ClickOKontheform.
8.Next,tellSpectrewhichnodevoltagesandterminalcurrentswewishtosave.ChooseAnalysis->Outputs->Modify.Inyourschematicwindow,itwillread"ModifyOutputList...":
TotellSpectretosaveavoltage,clickonthewirewhosevoltageyouwishtohavestored.
TotellSpectretosaveacurrent,clickontheterminalofthedevicewhocurrentgoingintothatdeviceyouwishtohavestored.
Forexample,intheaboveschematic,thevoltagesofInandOutaretobesaved,astheyarehighlightedbyclickingonthetwowires.
9.Runyoursimultion:
Simulate->Run.Afterawhile,Spectrewillrespondthatitcompletedsuccessfully:
10.WenowneedtotellArtistwhichwaveformswewishtosee,inthiscaseInandOut.SelectResults->ModifyPlotSet->Modify...Theschematicwindowwillread"ModifyPlotSet..."SimilartohowyoutoldSpectrewhichvoltagesyouwanttosave(step8),clickonthevoltages/currentsyouwishtohaveplotted.
NOTE:
tobeabletoplotawaveform,youmusthavetoldSpectretosaveitsnode/currentdatabeforeyousimulatedit(step8).
11.Showyourwaveforms:
Results->PlotDC.Thewaveformwindowwillappear:
Youwillseetwowaveforms,InandOut,bothplottedversusthesweepvariable(In).
ACAnalysis
Inthisexample,wewillperformACanalysisonaCMOSinverteramplifiertofinditsfrequencyresponsecurve.Thecircuitusedis:
WecanuseadcvoltagefromtheanalogLiblibrarytosettheDCbiaspoint.(fromtheresultsoftheprevioussection,wecanseethatabiasof2.2Vwillwork)WethengivethesourceanACmagnitudeof1,andaphaseof0.
1.Ifyouhaven'talready,createtheaboveschematic.
2.Checkandsaveyourdesign.Design->CheckandSave.
3.StartuptheAnalogArtistenvironment:
Tools->AnalogArtist.Thiswillgiveyou2newmenusintheschematicwindow.
4.ChooseAnalogArtist->Simulate.Thisbringsupthesimulatorinitializationdialog:
MakesurethatthesimulatorissettospectreS.YoumayalsochoosetousecdsSpice,ratherthanspectreS,ifyouaremorefamiliarwithSPICE'sconvergenceparameters.
5.ClickOKontheformtobringuptheAnalogArtistsimulationwindow:
6.Bringuptheformtosetyoursimulationenvironment:
Setup->Environment...:
TheModelPathtellsSpectrewheretofindtheSPICEmodelsforyourparts.Thisshouldbeadirectorycontaining.mfiles.ForourMOSIS2uprocess,thisshouldread:
/usr/local/cadence/local/cadence/mosis2uModels.
ClickOKonthisform.
7.Setthesimulationtype:
Analysis->Choose.Inthissimulationwewillsweepthefrequencyfrom10Hz-1Gig.
ClickOKontheform.
8.Next,tellSpectrewhichnodevoltagesandterminalcurrentswewishtosave.ChooseAnalysis->Outputs->Modify.Inyourschematicwindow,itwillread"ModifyOutputList...":
TotellSpectretosaveavoltage,clickonthewirewhosevoltageyouwishtohavestored.
TotellSpectretosaveacurrent,clickontheterminalofthedevicewhocurrentgoingintothatdeviceyouwishtohavestored.
Forexample,intheaboveschematic,thevoltagesofOutistobesaved,asitishighlightedbyclickingontheOutwires.
9.Runyoursimultion:
Simulate->Run.Afterawhile,Spectrewillrespondthatitcompletedsuccessfully:
10.WenowneedtotellArtistwhichwaveformswewishtosee,inthiscaseOut.SelectResults->ModifyPlotSet->Modify...Theschematicwindowwillread"ModifyPlotSet..."SimilartohowyoutoldSpectrewhichvoltagesyouwanttosave(step8),clickonthevoltages/currentsyouwishtohaveplotted.
NOTE:
tobeabletoplotawaveform,youmusthavetoldSpectretosaveitsnode/currentdatabeforeyousimulatedit(step8).
11.Showyourwaveforms:
Results->PlotAC.Thewaveformwindowwillappear:
AswesettheinputsourcetohaveanACmagnitudeof1,theoutputtransferfunctionVout/VinissimplyVout,asplottedintheabovewaveform.
NoiseAnalysis
Sectionunderconstruction
∙HOME(ChineseVersion)|HOME(EnglishVersion)|CadenceCompany
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 东南大学 实验 教材
![提示](https://static.bdocx.com/images/bang_tan.gif)