欢迎来到天天文库
浏览记录
ID:8230303
大小:471.86 KB
页数:182页
时间:2018-03-11
《altium_sdk__-_technical_reference_-_fpga_api》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、TechnicalReference-FPGAAPIThisReferenceprovidesaconcisereferenceoftheFPGAAPIaspartoftheAltiumDesignerRunTimeLibrary.TheFPGAApplicationProgrammingInterfacereferencecoversinterfacesforFPGAobjectsintheFPGAObjectModelfortheAltiumDesignerapplication.TheFPGAinte
2、rfacesexistaslongthereareassociatedexistingobjectsinmemory,thuswhenwritingascriptorservercode,youhavetheresponsibilityofcheckingwhethertheinterfaceyouwishtoqueryexistsornotbeforeyouproceedtoinvoketheinterface'smethods.Toobtaintheinterfacewhichrepresentsthe
3、FPGAworkbenchobject,invoketheGetNexusWorkbenchfunctioninyourscriptwhichreturnsyoutheINexusWorkbenchinterface.WhichyoucanthenextractdatafromFPGAobjectsandinvokeFPGAobject'smethods.ExampleNexusWorkBench:=GetNexusWorkbench;IfNexusWorkBench.GetSoftDeviceCount>
4、0ThenSoftDeviceCount:=NexusWorkBench.GetSoftDeviceCountElseExit;FPGAAPIcomponentsTheFPGAAPIiscoveredinthreeseparatefiles;RT_FPGA,RT_NexusWorkspaceandRT_NexusDeviceunits.MainFPGAInterfacesTheINexusWorkbenchinterfaceisthemaininterfaceinFPGAAPI.TouseFPGAinter
5、faces,invoketheGetNexusWorkbenchfunctiontoretrievetheINexusWorkbenchinterface.ScriptExamplesThereareFPGAscriptexamplesintheExamplesScriptsDelphiScript**FPGAfolderwhichdemonstratetheuseofFPGAinterfaces.FPGAInterfacesOverviewWhenyouneedtodealwiththeobject
6、sassociatedwiththeNanoBoardandtheFPGAeditorsoftware,thestartingpointistoinvoketheGetNexusWorkbenchfunctionortheGetDeviceManagerfunctioninyourscript.ThisfunctionreturnsyoutheINexusWorkbenchobjectinterfaceortheIDeviceManagerobjectinterface.Maininterfacesfort
7、heNexusWorkBenchINexusWorkbenchIProjectLinkIPCBProjectLinkMaininterfacesfortheNexusDevicesINexusDeviceINexusBreakpointIMemorySpaceIProcessorRegisterIInstrumentViewIJTagChannelIBSDLObjectIBSDLEntityIScanPinIPinMappingIBoundaryCellIInstructionOpCodeIRegister
8、AssociationIDeviceInformationFPGAlowlevelroutinesConstantsTypesFunctionsClassesNexusWorkBenchInterfaces(RT_NexusWorkSpaceunit)NexusWorkBenchInterfacesINexusWorkBenchanditsinterfacesIDeviceLinkinterfaceINexusC
此文档下载收益归作者所有
点击更多查看相关文章~~