Cadence-Mixdsignal-Simulation-tutorial混合仿真

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

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

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

资源描述

2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html1/13CadenceMixed-SignalTutorialAssumptionsYouarefamiliarwiththecadenceschematicentrytoolYouarefamiliarwithrunningspectresimulationsfromtheanalogenvironmentYoualreadyhavea'cds'directoryandknowhowtocreateanewprojectYouarefamiliarwithVerilogAandVerilogsyntaxYoualreadyhaveaprojectsetupinyourcadenceenvironment.ThisprojectmustusetheAMIHprocessIfyoudonothaveaprojectsetuporyoudonothaveatechnologyassociatedwithyourcurrentprojectseethistutorialYOUMUSTHAVEATECHNOLOGYASSOCIATEDWITHYOURCURRENTPROJECTTODOMIXED-SIGNALSIMULATIONSBeforeyoubegin1.Openanewterminal,andstarticd2.Getthedac_driver.vandideal_dac.vasourcea.Openasecondterminalb.Changedirectoryto~/cds/project/verilog.srcc.typewget~jwade/tutorial/ams_tutorial/dac_driver.vd.Changedirectoryto~/cds/project/veriloga.srce.typewget~jwade/tutorial/ams_tutorial/ideal_dac.vaWhereprojectisyourcurrentproject.3.CreateanewlibraryamsLibAGAIN--YOUMUSTHAVEATECHNOLOGYASSOCIATEDWITHYOURCURRENTPROJECTTODOMIXED-SIGNALSIMULATIONSa.OpenthelibraryManagerb.Selectfile-new-library2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html2/13c.EnteramsLibforthenameandclickOKd.SelectAttachtoanexistingtechfileandclickOK2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html3/13e.Selectami500_techlibandclickOKCreateideal_dacVerilogAmodule1.open~/cds/project/veriloga.src/ideal_dac.vainatexteditor2.clickfile-new-cellviewintheICDwindow3.IntheCreatenewfiledialogchoose...a.LibraryNameamsLibb.CellNameideal_dac2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html4/13c.ViewNameverilogad.ToolVerilogAEditore.Amodule_writerdialogwillcomeup,clickcancelf.Anewwindowwillopenwhichisrunningvig.Deletealllinescurrentlyinthenewwindow,thenpasteinthecontentsofthepreviouslyopenedideal_dac.vafile2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html5/13h.Hitesc-:-wq-Enteronthekeyboardtosavethemodulei.Adialogboxwillappearandaskyouifyouwanttocreateanewsymbol,clickYesj.AnewSymbolGenerateOptionsdialogwillappear.Thedefaultvaluesshouldbeok,butyoucanchangethemtosuityou.2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html6/13ClickOKtocontinue.k.ASymbolEditingwindowwillnowappearwiththenewsymboll.ClickonDesign-Checkandsaveinthemenubar2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html7/13m.ClosetheSymbolEditingwindowCreatedac_driverVerilogmodule1.Open~/cds/project/verilog.src/dac_driver.vinatexteditor2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html8/132.Clickfile-new-cellviewintheICDwindow3.IntheCreateNewFiledialog,choose:a.LibraryNameamsLibb.CellNamedac_driverc.ViewNamefunctionald.ToolVerilogEditor4.Anewwindowwillopenwhichisrunningvi2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html9/135.Deletealllinescurrentlyinthenewwindowandthenpasteinthecontentsofthepreviouslyopeneddac_driver.vfile6.Hitesc-:-wq-Enteronthekeyboardtosavethemodule7.Anewdialogwillappearandaskyouifyouwanttocreateanewsymbol,clickYesCreatetest_dacschematic1.Createanewcellviewcalledtest_daca.LibraryNameamsLibb.CellNametest_dacc.ViewNameSchematic2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html10/13d.ToolComposer-Schematic2.Createthefollowingschematicwiththefollowingvaluessources,ground,andresistorsarefromtheanalogLiblibrarya.agnd=2.5Vb.resistor=100K3.Checkandsavetheschematic4.ClosetheSchematicEditorwindowCreatetest_dacconfig1.Createanewcellviewcalledtest_daca.LibraryNameamsLibb.CellNametest_dacc.ViewNameconfigd.ToolHierarchy-Editor2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html11/132.ANewConfigurationdialogboxwillappear3.ClickonUseTemplate.Anewdialogwillappear,choosespectreVerilogasintheNamefield.ClickOK4.YouarenowbacktotheNewConfigurationdialogbox.Youwillneedtomodifythefollowingfields,thenclickOKa.View=schematicb.LibraryList=amsLibc.StopList=spectrespice5.IntheHierarchyEditorwindow,chooseView-Update6.IntheHierarchyEditorwindow,chooseFile-Save7.ExittheHierarchyEditorSimulatetest_dac1.Openthetest_dacconfigviewfromtheICDwindow2014年4月21日CadenceMixed-SignalTutorial~jwade/tutorial/cadence_mixed-signal/ams_tutorial.html12/132.Anewdialogwillappear,chooseyesforbothoptions3.Fromtheschematiceditorwindow,chooseTools-AnalogEnvironment4.ChooseSetup-Simulator/Directory/Host,choosespectreVerilogasthesimulator,clickOK5.ChooseSetup-ModelLibraries,add$MODS/typ2014年4月21日CadenceMixed-Si

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

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

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

×
保存成功