ug_intro_to_megafunctions(5)
时间:2026-01-19
时间:2026-01-19
UG-01056-3.0May2013
ConnectingMegafunctions5
qmegawizq(forGUIonly)
2.SpecifyCreate,Edit,orCopyamegafunction.
3.InWhichdevicefamilywillyoubeusing?selectyourtargetdevicefamily.
OnlymegafunctionsavailableforthetargetdeviceareavailableinWhichmegafunctionwouldyouliketocustomize?Unsupportedmegafunctionsaregrayedout.
4.Specifythenameandfileformatoftheoutputfile.ClickNext
5.Parameterizethemegafunctionbyspecifyingoptionsinthewizard.ClickNext.6.IfthewizardincludesEDAandSummarytabs,followthesesteps:
Somethird-partysynthesistoolscanuseagreyboxnetlistthatcontainsthestructureofanIPcorewithoutdetailedlogictooptimizetimingandperformanceofthedesigncontainingit.Tousethisfeature,turnonGenerateNetlisttogenerateanetlistfileforareaandtimingestimationinsteadofawrapperfile.
OntheSummarytab,selectthefilesyouwanttogenerate.Agraycheckmarkindicatesafilethatisautomaticallygenerated.Allotherfilesareoptional.ThisstepinstantiatesthemegafunctionintoyourHDLcodeandcreatesawrapperfile.7.ClickFinish.Themegafunctionvariationisgeneratedalongwiththefilesyouspecify.
8.Toviewthemegafunctionschematic,openthegeneratedblocksymbolfile(.bsf)locatedinyourprojectdirectory.ThemegafunctionblocksymbolappearsintheSymbolwindow.
Youcaneditmegafunctionsatanytime.MegafunctionsdefinedinyourprojectappearintheProjectNavigator.Toeditamegafunction,double-clickthemegafunctionfileintheProjectNavigatororBlockEditortodisplaytheMegaWizardGUI.Figure1:ExampleParameterizedGlobalClockControl
Module
RelatedInformation
CreatingaSystemwithQsys
ConnectingMegafunctions
YoucaneasilyvisualizeandconnectmegafunctionstootherelementsofyourdesignwiththeQuartusIIBlockEditor.Youcanmakeconnectionsbydrawingnode(wire),bus,andconduitconnectionsbetweenblocksrepresentingmegafunctionsandprimitivesintheschematic.IftheI/Osignalnamesinoneblockmatchthoseinanotherconnectedblock,theQuartusIIsoftwareautomaticallyconnectscommonI/O's
IntroductiontoMegafunctionIPCores
AlteraCorporation
下一篇:什么是周长