您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 电子设计/PCB > FPGA-and-ISE14.7基础教程
基于ISE14.7的FPGA基础教程BVTZeroLiuCONTENTWhatistheFPGAFPGAdesignflowProjectenvironment:ISE14.7VerilogexamplesFunctionalsimulationProgramanddebugWHATISTHEFPGAPartoftheGraphitecircuitWhatcanFPGAdo?FPGA:FieldProgrammableGatearrayPLD:ProgrammableLogicDeviceCPLD:ComplexProgrammableLogicDeviceWHATISTHEFPGAI/O:pinsconnectedtoperipheralcircuitPLL:frequencymultiplication,frequencydemultiplicationandphaseshiftMUTIPLIERM4KBLOCK:Memoryblock,forRAMROMandFIFOdesignLOGICARRAYForcombinatorylogicandtriggerdesignProgramanddebugblock:StructureofFPGAWHATISTHEFPGASummaryofspartan-3AFPGAattributesNOTECLB:configurablelogicblockDCM:digitalclockmanagerDeviceutilizationofGraphiteFPGA(XC3S400A)FPGADESIGNFLOW——IMPLEMENTATIONFunctionaldescriptionReferencetohwspec.&FPGAspec.DesigninputSchematicorHDL(RTL)PinassignmentPlannerorTCLscriptSynthesisOutputgate-levelnetlistbasedonsomekindofFPGALogicaldescriptiontospecificdevicesPlace&routeDownloadandverifyFPGADESIGNFLOW——VERIFICATIONThreekeyverificationpointsforFPGAimplementationBehavioralsimulationPost-place&routestatictiminganalysisDownloadandverifyincircuitPost-synthesisgate-levelsimulationandpost-place&routetimingsimulationscanbedoneforproductionsignoffPost-place&routetimingsimulationsarealsooftendonetoverifyboard-andsystem-leveltiming7IDE(INTEGRATEDDEVELOPMENTENVIRONMENT)THEMAININTERFACEOFISE14.7DESIGNSPEC.ANDPROCESSBVTFPGAdesignprocessReferenceDocuments:HWspec.SchematicFPGAspec.FPGAdesignprocessGraphitedocuments1,Createanewproject2,Projectname,locationandsourcetype3,ChosedeviceandtoolsIDE:CREATEANEWPROJECT4,FinishIDEANEWPROJECT工程名器件名字生成了空的工程框架IDECREATE/ADDNEWSOURCEIDEACOMPLETEDPROJECTPROJECTFILES——(*.V)模块开始和结束(figure1)变量声明(figure2)数据流语句低层模块实例(figure3)行为描述块任务和函数Figure1Figure3Figure2VERILOGSTANDARD——PURPOSEPurpose:LessspaceHighersanitaryEasytoanalyzeanddebugEasytoreadandunderstandPortabilityVERILOGSTANDARD——STANDARDIZEDDESIGN结构层次化命名规范化常量参数化其他Clock:避免混合时钟,避免门控时钟,单模块单时钟Reset:避免模块内部产生Always:敏感变量完备化……PROJECTFILES——(*.UCF)SCHEMATICVIEWStep1:viewschematicStep2:choosestartupSCHEMATICVIEWChooseelementstocreateschematicSCHEMATICVIEWGraphitesignal:NOR_FLASH_RESET_LFUNCTIONALSIMULATIONFUNCTIONALSIMULATIONFUNCTIONALSIMULATIONSIMULATIONTOOL:ISIMGraphite:PID_LED_CONTROLsimulationREFERENCEDOCUMENTSFigure:LEDcontrol,fromGraphiteschematicFigure:ledbehaviordescription,fromGraphiteFPGAspec.SIMULATIONTOOL:ISIMGraphite:resettimingsimulationPROGRAMANDDEBUG——COMPILEFailedsuccessfulPROGRAMANDDEGUB——STARTIMPACTIMPACT——SELECT/ADDSTORAGEDEVICEIMPACT——GENERATINGPROMFILE*.mcsfile*.xsvffileDOWNLOADANDPROGRAMJTAGchainscanningDOWNLOADANDPROGRAMChoosetheprogrammableimageDOWNLOADANDPROGRAMProgram
本文标题:FPGA-and-ISE14.7基础教程
链接地址:https://www.777doc.com/doc-6708206 .html