欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    EDA技术与应用讲义 第3章 原理图输入设计方法 QUARTUS II版本4195.pptx

    • 资源ID:91028722       资源大小:429.75KB        全文页数:58页
    • 资源格式: PPTX        下载积分:20金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要20金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    EDA技术与应用讲义 第3章 原理图输入设计方法 QUARTUS II版本4195.pptx

    第第3章章 原理图输入设计方法原理图输入设计方法Quartus II 版操作版操作 课程讲义课程讲义合肥工业大学 彭良清上一章下一章本章内容1.何时使用原理图设计输入2.常用文件介绍3.设计步骤4.元件库和Altera宏的使用5.如何将VHDL代码文件生成图形符号何时使用原理图设计输入?1.符合传统的电路设计习惯2.一般只是在“top-level”(顶层)文件中使用?Quartus II常用文件介绍文件扩展名称用途MAX+PLUSII中的名称.vhdVHDL代码源文件.vhd.bdf图形输入源文件.gdf.qsf器件引脚与编译配置指配文件.qsf.pofCPLD,EEPROM器件编程文件.pof.sofFPGA器件的SRAM文件配置.sof一般步骤1.电路的模块划分2.设计输入3.器件和引脚指配4.编译与排错5.功能仿真和时序仿真6.编程与配置,设计代码的芯片运行电路的模块划分v人工人工 根据电路功能进行模块划分模块划分v合理的模块划分关系到1.电路的性能2.实现的难易程度v根据模块划分和系统功能确定确定:PLD芯片型号芯片型号模块划分后,就可以进行模块划分后,就可以进行 具体设计具体设计 了了设计输入一般EDA软件允许3种设计输入:1.HDL语言2.电路图3.波形输入图形设计输入的过程+图形设计:图元图形设计:端口如何编写一个新的图形文件?vFILE-NEW出现以下对话窗,选择如下:如何调入元件?vEdit-InsertSymbol出现下面窗口将将自己编写的自己编写的符号调入符号调入从从标准库中标准库中调入调入将符号之间连线调入I/O端口元件符号2类标准库1.Megafunctions/LPM宏模块功能复杂、参数可设置的模块2.Primitives基本图元简单的、功能固定的逻辑元件,不可调整参数如何将VHDL设计编程Symbol1.VHDL文件编译后,自动生成同名的符号文件2.符号文件的扩展名称(*.bsf)3.调入过程如下:何为?器件和引脚指配v器件指配为设计输入选择合适的PLD器件型号v何谓引脚指配F将设计代码(图形)中的端口(端口(PORT)和PLD芯片的引脚芯片的引脚 (PIN)对应起来的.v指配文件MAX+PLUSII:“*.acf”QuartusII:“*.qsf”器件和引脚指配的方法方法有2种1.在软件的菜单界面中指配2.修改指配文件(是文本文件)菜单界面中指配修改指配文件vCHIPio_2d_lockvBEGINv|iVD:INPUT_PIN=7;v|iHD:INPUT_PIN=8;v|iDENA:INPUT_PIN=6;v|iCLK:INPUT_PIN=211;v|oCLK:OUTPUT_PIN=237;v|oVD:OUTPUT_PIN=234;v|oHD:OUTPUT_PIN=233;v|oDENA:OUTPUT_PIN=235;v.vDEVICE=EPF10K30AQC240-2;vEND;v.编译与排错编译过程有2种,作用分别为:1.语法编译:只是综合并输出网表F编译设计文件,综合产生门级代码F编译器只运行到综合这步就停止了F编译器只产生估算的延时数值2.完全的编译:包括编译,网表输出,综合,配置器件F编译器除了完成以上的步骤,还要将设计配置到ALTERA的器件中去F编译器根据器件特性产生真正的延时时间和给器件的配置文件功能仿真和时序仿真v仿真的概念:在设计代码下载到芯片前,在EDA软件中对设计的输出进行波形仿真。v常用的2种仿真模式1.功能仿真对设计的逻辑功能进行仿真2.时序仿真对设计的逻辑功能和信号的时间延时进行仿真。仿真前还要做的工作输入信号的建立Quartus II软件中软件中关于仿真的原文关于仿真的原文2种仿真文件1.矢量波形文件:vaVectorWaveformFile(.vwf)2.文本矢量文件vatext-basedVectorFile(.vec),编程与配置最后,最后,如果仿真如果仿真 也正确也正确 的话,的话,那我们就可以那我们就可以 将设计代码将设计代码 配置或者编程配置或者编程 到到 芯片芯片 中了中了v编程的文件类型对于CPLD或者EPC2,ECS1等配置芯片,编程文件扩展名为:“*.POF“v配置的文件类型对于FPGA芯片,配置文件扩展名为:“*.SOF“硬件设计和软件设计的时间协调1.软件模块划分,器件的初步信号确定(主要是根据需要的I/O引脚的数量)2.软件设计,硬件外围电路设计和器件选择3.软件仿真4.仿真完成后,器件信号的重新审核,进行硬件电路图设计5.综合调试6.完成设计的几个问题v如何组织多个设计文件的系统?,项目的概念。v时钟系统如何设计?v电路的设计功耗v高速信号的软件和硬件设计The end.以下内容以下内容为为正文的引用,正文的引用,可不阅读。可不阅读。常用EDA工具软件vEDA软件方面,大体可以分为两类:1.PLD器件厂商提供的EDA工具。较著名的如:I.Altera公司的Max+plusII和QuartusII、II.Xilinx公司的FoundationSeries、III.Latice-Vantis公司的ispEXERTSystem。2.第三方专业软件公司提供的EDA工具。常用的有:I.Synopsys公司的FPGACompilerII、II.ExemplarLogic公司的LeonardoSpectrum、III.Synplicity公司的Synplify。v第三方工具软件是对CPLD/FPGA生产厂家开发软件的补充和优化,如通常认为Max+plusII和QuartusII对VHDL/VerilogHDL逻辑综合能力不强,如果采用专用的HDL工具进行逻辑综合,会有效地提高综合质量。ALTERA 公司的公司的EDA合作伙伴合作伙伴硬件描述语言:起源v是电子电路的文本描述。v最早的发明者:美国国防部,美国国防部,VHDL,1983v大浪淘沙,为大者二:VHDL 和 Verilog HDLv其他的小兄弟:ABEL、AHDL、System Verilog、System C。一个D触发器的VHDL代码例子1.-VHDLcodeposition:p83_ex4_11_DFF12.-3.-LIBARYIEEE;4.-USEIEEE.STD_LOGIC_1164.ALL;5.ENTITYDFF1IS6.PORT(CLK:INBIT;7.D:INBIT;8.Q:OUTBIT9.);10.ENDENTITYDFF1;11.ARCHITECTUREbhvOFDFF1IS12.BEGIN13.PROCESS(CLK)14.BEGIN15.IFCLKEVENTAND(CLK=1)AND(CLKLAST_VALUE=0)THEN16.-严格的CLK信号上升沿定义17.QCompiler Netlist Extractor(编译器网表提取器)(编译器网表提取器)vTheCompilermodulethatconvertseachdesignfileinaproject(oreachcellofanEDIFInputFile)intoaseparatebinaryCNF.Thefilename(s)oftheCNF(s)arebasedontheprojectname.ExamplevTheCompilerNetlistExtractoralsocreatesasingleHIFthatdocumentsthehierarchicalconnectionsbetweendesignfiles.vThismodulecontainsabuilt-inEDIFNetlistReader,VerilogNetlistReader,VHDLNetlistReader,andconvertersthattranslateADFsandSMFsforusewithMAX+PLUSII.vDuringnetlistextraction,thismodulecheckseachdesignfileforproblemssuchasduplicatenodenames,missinginputsandoutputs,andoutputsthataretiedtogether.v返回DatabaseBuilder(数据库构建器):vThe Compiler module that builds a single,fully flattened project database that integrates all the design files in a project hierarchy.vThe Database Builder uses the HIF to link the CNFs that describe the project.Based on the HIF data,the Database Builder copies each CNF into the project database.Each CNF is inserted into the database as many times as it is used within the original hierarchical project.The database thus preserves the electrical connectivity of the project.vThe Compiler uses this database for the remainder of project processing.Each subsequent Compiler module updates the database until it contains the fully optimized project.In the beginning,the database contains only the original netlists;at the end,it contains a fully minimized,fitted project,which the Assembler uses to create one or more files for device programming.vAs it creates the database,the Database Builder examines the logical completeness and consistency of the project,and checks for boundary connectivity and syntactical errors(e.g.,a node without a source or destination).Most errors are detected and can be easily corrected at this stage of project processing.v返回LogicSynthesizervTheCompilermodulethatsynthesizesthelogicinaprojectsdesignfiles.vUsingthedatabasecreatedbytheDatabaseBuilder,theLogicSynthesizercalculatesBooleanequationsforeachinputtoaprimitiveandminimizesthelogicaccordingtoyourspecifications.vForprojectsthatuseJKorSRflipflops,theLogicSynthesizercheckseachcasetodeterminewhetheraDorTflipflopwillimplementtheprojectmoreefficiently.DorTflipflopsaresubstitutedwhereappropriate,andtheresultingequationsareminimizedaccordingly.vTheLogicSynthesizeralsosynthesizesequationsforflipflopstoimplementstateregistersofstatemachines.AnequationforeachstatebitisoptimallyimplementedwitheitheraDorTflipflop.Ifnostatebitassignmentshavebeenmade,orifanincompletesetofstatebitassignmentshasbeencreated,theLogicSynthesizerautomaticallycreatesasetofstatebitstoencodethestatemachine.Theseencodingsarechosentominimizetheresourcesused.v返回Fitter(适配器)vTheCompilermodulethatfitsthelogicofaprojectintooneormoredevices.vUsingthedatabaseupdatedbythePartitioner,theFittermatchesthelogicrequirementsoftheprojectwiththeavailableresourcesofoneormoredevices.Itassignseachlogicfunctiontothebestlogiccelllocationandselectsappropriateinterconnectionpathsandpinassignments.vTheFitterattemptstomatchanyresourceassignmentsmadefortheprojectwiththeresourcesonthedevice.Ifitcannotfindafit,theFitterallowsyoutooverridesomeorallofyourassignmentsorterminatecompilation.vTheFittermodulegeneratesaFitFilethatdocumentspin,buriedlogiccell,chip,clique,anddeviceassignmentsmadebytheFittermoduleinthelastsuccessfulcompilation.Eachtimetheprojectcompilessuccessfully,theFitFileisoverwritten.Youcanback-annotatetheassignmentsinthefiletopreservetheminfuturecompilations.v返回TimingSNFExtractor(时序SNF文件提取器)vTheCompilermodulethatcreatesatimingSNFcontainingthelogicandtiminginformationrequiredfortimingsimulation,delayprediction,andtiminganalysis.vTheTimingSNFExtractoristurnedonwiththeTimingSNFExtractorcommand(Processingmenu).ItisalsoturnedonautomaticallywhenyouturnontheEDIFNetlistWriter,VerilogNetlistWriter,orVHDLNetlistWritercommand(Interfacesmenu).TheTimingSNFExtractorcannotbeturnedonatthesametimeastheFunctionalSNFExtractorortheLinkedSNFExtractor.vAtimingSNFdescribesthefullyoptimizedcircuitafteralllogicsynthesisandfittinghavebeencompleted.Regardlessofwhetheraprojectispartitionedintomultipledevices,thetimingSNFdescribesaprojectasawhole.Therefore,timingsimulationandtiminganalysis(includingdelayprediction)areavailableonlyfortheprojectasawhole.Neithertimingsimulationnorfunctionaltestingisavailableforindividualdevicesinamulti-deviceproject.Functionaltestingisavailableonlyforasingle-deviceproject.v返回Assembler(汇编器)vTheCompilermodulethatcreatesoneormoreprogrammingfilesforprogrammingorconfiguringthedevice(s)foraproject.vTheAssemblermodulecompletesprojectprocessingbyconvertingtheFittersdevice,logiccell,andpinassignmentsintoaprogrammingimageforthedevice(s),intheformofoneormorePOFs,SOFs,HexFiles,TTFs,JamFiles,JBCFiles,and/orJEDECFiles.POFsandJEDECFilesarealwaysgenerated;SOFs,HexFiles,andTTFsarealwaysgeneratediftheprojectusesACEX1K,FLEX6000,FLEX8000orFLEX10Kdevices;andJamFilesandJBCFilesarealwaysgeneratedforMAX9000,MAX7000B,MAX7000AEorMAX3000Aprojects.IfyouturnontheEnableJTAGSupportoptionintheClassic&MAXGlobalProjectDeviceOptionsdialogbox(Assignmenu)ortheClassic&MAXIndividualDeviceOptionsdialogbox,theAssemblerwillalsogenerateJamFilesandJBCFilesforMAX7000AorMAX7000Sprojects.Aftercompilation,youcanalsouseSOFstocreatedifferenttypesoffilesforconfiguringFLEX6000,FLEX8000andFLEX10KdeviceswithConvertSRAMObjectFiles(Filemenu).vTheprogrammingfilescanthenbeprocessedbytheMAX+PLUSIIProgrammerandtheMPUorAPUhardwaretoproduceworkingdevices.SeveralotherprogramminghardwaremanufacturersalsoprovideprogrammingsupportforAlteradevices.v返回SimulationModevFunctionalSimulatesthebehaviorofflattenednetlistsextractedfromthedesignfiles.YoucanuseTclcommandsandscriptstocontrolsimulationandtoprovidevectorstimuli.YoucanalsoprovidevectorstimuliinaVectorWaveformFile(.vwf)oratext-basedVectorFile(.vec),althoughtheSimulatorusesonlythesequenceoflogiclevelchanges,andnottheirtiming,fromthevectorstimuli.Thistypeofsimulationalsoallowsyoutochecksimulationcoverage(theratioofoutputportsactuallytogglingbetween1and0duringsimulation,comparedtothetotalnumberofoutputportspresentinthenetlist).vTimingUsesafullycompilednetlistthatincludesestimatedoractualtiminginformation.YoucanuseTclcommandsandscriptstocontrolsimulationandtoprovidevectorstimuli.YoucanalsoprovidevectorstimuliinaVectorWaveformFile(.vwf)oratext-basedVectorFile(.vec).Thistypeofsimulationalsoallowsyoutochecksetupandholdtimes,detectglitches,andchecksimulationcoverage(theratioofoutputportsactuallytogglingbetween1and0duringsimulation,comparedtothetotalnumberofoutputportspresentinthenetlist).vTiming using Fast Timing ModelPerformsatimingsimulationusingtheFastTimingModeltosimulatefastestpossibletimingconditionswiththefastestdevicespeedgradeMegafunctions/LPM1.ArithmeticComponents2.Gates3.I/OComponents4.MemoryCompiler5.ParallelFlashLoaderMegafunction6.SignalTapIILogicAnalyzerMegafunction7.StorageComponentsArithmeticComponents1.altaccumulate divide*2.altfp_add_sub lpm_abs3.altfp_multlpm_add_sub4.altmemmultlpm_compare5.altmult_accumlpm_counter6.altmult_addlpm_divide7.altsqrtlpm_mult8.altsquareparallel_addGates1.busmuxlpm_inv2.lpm_andlpm_mux3.lpm_bustrilpm_or4.lpm_clshiftlpm_xor5.lpm_constantmux6.lpm_decodeI/OComponents1.altcdr_rxaltdqs2.altcdr_txaltgxb3.altclkctrlaltlvds_rx4.altclklockaltlvds_tx5.altddio_bidir altpll6.altddio_inaltpll_reconfig7.altddio_outaltremote_update8.altdqaltufm_oscvMemoryCompiler1.altcsmem(FIFOpartitioner)ParallelFlashLoaderMegafunction1.parallel_flash_loaderSignalTapIILogicAnalyzerMegafunction1.sld_signaltapStorageComponents1.alt3pramscfifo2.altcamlpm_ff3.altdpram*lpm_fifo*4.altqpramlpm_fifo_dc*5.altshift_tapslpm_latch6.altsyncramlpm_ram_dp7.altufm_i2clpm_ram_dq8.altufm_nonelpm_ram_io9.altufm_parallellpm_rom10.altufm_spilpm_shiftreg11.csdpram*lpm_dff*12.csfifo*lpm_tff*13.dcfifoPrimitives1.BufferPrimitives2.Flipflop&LatchPrimitives3.Input&OutputPrimitives/Ports4.LogicPrimitives5.OtherPrimitives(BlockDesignFilesonly)BufferPrimitives1.CARRYLUT_INPUT2.CARRY_SUMLUT_OUTPUT3.CASCADEOPNDRN4.CLKLOCKSOFT5.EXPTRI6.GLOBALWIRE7.(BlockDesignFilesonly)7.LCELLROW_GLOBALFlipflop&LatchPrimitives1.DFF2.LATCH3.DFFE4.SRFF5.DFFEA6.SRFFE7.DFFEAS8.TFF9.JKFF10.TFFE11.JKFFEInput&OutputPrimitives/Ports1.BIDIRorINOUT2.INPUTorIN3.OUTPUTorOUTLogicPrimitives1.AND2.NOR3.BAND(BlockDesignFilesonly)4.NOT5.BNAND(BlockDesignFilesonly)6.OR7.BNOR(BlockDesignFilesonly)8.VCC(BlockDesignFilesonly)9.BOR(BlockDesignFilesonly)10.XNOR11.GND(BlockDesignFilesonly)12.XOR13.NANDOtherPrimitives(BlockDesignFilesonly)1.CONSTANTPARAM

    注意事项

    本文(EDA技术与应用讲义 第3章 原理图输入设计方法 QUARTUS II版本4195.pptx)为本站会员(jix****n11)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开