altera常用扩展名介绍(自创)
- 格式:doc
- 大小:1.19 MB
- 文档页数:35
Quartus®II简介®Altera Corporation101 Innovation DriveSan Jose, CA 95134 USA(408) 544-7000Quartus II 简介3.0 版第 1 次修订2003 年 6 月P25-09235-00Altera、Altera 徽标、FastTrack、MAX、MAX+PLUS、MAX+PLUS II、MegaCore、MegaWizard、NativeLink、Nios、OpenCore、Quartus、Quartus II、Quartus II 徽标和 SignalTap 是 Altera Corporation 在美国和其它国家(或地区)的注册商标。
ByteBlaster、ByteBlasterMV、Excalibur、HardCopy、IP MegaStore、Jam、LogicLock、MasterBlaster、MegaLAB、PowerFit 和 SignalProbe 是 Altera Corporation 在美国和其它国家(或地区)的商标和/或服务标志。
Altera Corporation 使用的产品设计元素和助记键受版权法和/或商标法的保护。
Altera Corporation 承认本文档提及的其它组织的产品或服务商标和/或服务标志,特别是:Mentor Graphics 和 ModelSim 是 Mentor Graphics Corporation 的注册商标,ModelTechnology 是 Mentor Graphics Corporation 的商标。
Altera 保留更改本文档中所述设备或设备规范的权利,恕不另行通知。
Altera 建议客户在下订单之前要取得设备规范的最新版本,以确认客户所依赖的信息是最新的。
Altera 保证自己的半导体产品的性能与 Altera 的标准担保一致,符合当前规范。
Altera(现在是英特尔(Intel)的 Quartus Prime)工程文件通常包括多个文件,如
项目文件(.qpf)、映射文件(.qsf)、原理图文件、VHDL/Verilog 文件等。
这些
文件之间的相对路径通常是相对于项目文件所在的目录而言的。
以下是一些常见的 Altera 文件及其相对路径的例子:
1.项目文件(.qpf):
▪位于项目根目录下,通常包括工程的设置信息,例如项目名称、文件列表等。
▪相对路径:./project.qpf
2.映射文件(.qsf):
▪位于项目根目录下,包含了关于逻辑映射的详细信息。
▪相对路径:./project.qsf
3.VHDL/Verilog 文件:
▪位于项目文件夹的子目录中,例如src或hdl。
▪相对路径:./src/my_module.vhd或./hdl/my_module.v
4.约束文件(.sdc):
▪通常位于项目文件夹的子目录,例如constraints。
▪相对路径:./constraints/my_constraints.sdc
在使用相对路径时,确保路径是相对于项目文件(.qpf 文件)所在的目录的。
这有
助于确保项目文件能够正确引用其他文件,避免路径错误导致文件无法找到的问题。
注意:如果使用相对路径,要确保在文件的相对路径中不使用不同平台上的目录分隔符。
在大多数系统中,使用斜杠/作为目录分隔符是通用的做法。
author: liu xiao ping date: 2007.01.8各扩展名的顺序没安排好,以后有时间再改正欢迎补充与改正,可联系qq:53579621参考quartus helpQuartus II是一款功能强大的EDA软件。
在这个集成开发环境中,PLD使用者可以完成编辑、编译、仿真、综合、布局布线、时序分析、生成编程文件、编程等全套PLD开发流程。
Quartus II以工程(Project)为单位管理文件。
保证了设计文件的独立性和完整性。
由于Quartus II功能众多,每一项功能都对应一个甚至多个文件类型。
在使用中,如果需要转移或备份某一工程对应的文件,对众多文件的取舍成了一个令人头痛的问题。
类似问题,在使用Maxplus II的过程中也很常见。
使用Quartus II自带的工程文件压缩功能可以省去取舍文件的麻烦。
但是.qar文件把众多文件压缩成一个文件,只有解压缩才能获取具体文件的信息。
如果使用版本控制工具(如CVS)的话,对.qar 文件无法进行版本比较。
甚至当.qar文件受损时,部分甚至全部文件都无法恢复了。
而且,缺省配置的.qar文件也包含了一些非关键文件,存在一定的冗余。
解决这一问题的关键在于弄清文件扩展名的意义,明明白白地控制文件的取舍。
The following file types are available for use in the Quartus II software:上面这些文件可以分为五类:1. 编译必需的文件:设计文件(.gdf、.bdf、EDIF输入文件、.tdf、verilog设计文件、.vqm、.vt、VHDL设计文件、.vht)、存储器初始化文件(.mif、.rif、.hex)、配置文件(.qsf、.tcl)、工程文件(.qpf)。
2. 编译过程中生成的中间文件(.eqn文件和db目录下的所有文件)3. 编译结束后生成的报告文件(.rpt、.qsmg等)4. 根据个人使用习惯生成的界面配置文件(.qws等)5. 编程文件(.sof、.pof、.ttf等)1).vqm V erilog Quartus Mapping FileSynplicity Synplify 软件或Quartus II 软件生成的Verilog HDL 格式网表文件。
*.vqm 主要应该是用来做布局布线用A VQM File is an atom-based V erilog HDL netlist file that defines all logic for a Synplify design or for a particular top-level design entity when used as a part of an incremental compilation, using a subset of V erilog HDL constructs在quartus中产生 vqm file有三种方法the VQM File is placed in the <project directory>\atom_netlists\ directory∙Turn on Save a node-level netlist in the Compilation Process S ettings page in the S ettings dialog box, and then compile the design.∙Turn on Save a node-level netlist in the Back-Annotate Assignments dialog box and back-annotate a design.∙Click Start VQM W riter.联系与区别.vhm 和 .vm 分别为 VHDL 和verilog 源码被synplify综合后为了做综合后仿真所生成的文件;vqm是synplify等软件为quartus 所生成的网表文件,synplify会根据不同的器件生成不同后缀的网表文件的,举例:对于apex生成.vqm文件,对于vertex会生成.edf网表vqm(synplify输出)和vo(Quartus II输出)都是Verilog的网表,两者内容比较相似,*.vo比*.vqm 更具体一点。
但是区别比较大。
vqm只能由于在Quartus II中Fit,不能用于仿真。
vo是Quaruts II在synthesis或者fit以后产生的门级仿真模型,可以用于ModelSim仿真。
vo可以和sdo(延时文件)一起做时序仿真2).vo verilog output files由Quartus II Compiler 产生,主要用于专业仿真工具如modelsim等进行综合后仿真的网表文件。
不能被quartus II compiler 编译The V erilog Output File contains properties of all entities within the top-level project.类似有.vho文件vhdl output filesA Very High Speed Integrated Circuit (VHSIC) Hardware Description Language (VHDL) standard netlist file (with the extension .vho) that is generated by the Quartus II Compiler.The VHDL Output File is a VHDL version 1987 standard netlist file that can be imported into an industry-standard VHDL simulation or timing analysis tool. A VHDL Output File cannot be compiled with the Quartus II Compiler3).edif EDIF Input File 用于布局布线An EDIF version 2 0 0 netlist file (with the extension (.edf), generated by any standard EDIF netlist writer. The Quartus II software also supports EDIF Input files with the extensions (.edif) or (.edn).When you compile an EDIF Input File, the Compiler uses one or more Library Mapping Files (.lmf) to map cells in an EDIF Input File to corresponding Quartus II logic functions, including Library of Parameterized Modules (LPM) functions, as well as to user-defined functions.4).inc AHDL Include FileAhdl语言的头文件An ASCII text file (with the extension .inc) that can be imported into a Text Design File (.tdf) by an AHDL Include Statement. The AHDL Include File replaces the Include Statement that calls it. INC Files can contain Function Prototype, Define, Parameters, or Constant Statements.一般咱们接触到的地方就是在用MegaWizard Plug-In Manager时宏功能模块封装文件中模块的AHDL Include 文件5).sdo Standard Delay Format Output File主要用于modelsim仿真,sdo可以和 vo一起做时序仿真SDF Output Files are automatically generated when you compile a design.Y ou can also generate an SDF Output File by using the Start > Start EDA Netlist Writer command (Processing menu). SDF Output Files contain timing delay information that allow you to perform back-annotation for simulation with VHDL simulators that use simulation libraries that are compliant with VITAL version 2.2b and version 3.0 (VITAL 95); back-annotation for simulation in V erilog HDL simulators; and timing analysis and physical synthesis with EDIF simulation and synthesis tools.6).tcl Tcl Script File可以采用多种方法在Quartus II 软件中使用Tcl 脚本。
可以使用针对Tcl 的 Quartus II API 命令建立Tcl 脚本。
应将Tcl 脚本另存为Tcl Script File(.tcl)。
A Tcl Script File contains a single Tcl script, which is composed of Tcl commands and Quartus II Application Programming Interface (API) functions used as commands. Y ou can use the Quartus II Text Editor to create and edit Tcl Script Files.如:7).bsf Block Symbol FileBlock Editor 中使用的宏功能模块符号A symbol file (with the extension .bsf) created with the Quartus II Symbol Editor. Y ou can read and edit a symbol, which represents a macrofunction, primitive, megafunction, or design file, in a BSF, and add the symbol to a Block Design File (.bdf) with the Symbol Editor8).bdf Block Design File使用Quartus II Block Editor 建立的原理图设计文件A schematic design file (with the extension .bdf) created with the Quartus II Block Editor. BDFs may contain block diagrams, symbols, and schematics that represent logic in a design. Y ou can read and edit BDFs in the Block Editor.9).qpf Quartus II Project File指定用来建立工程和与工程相关修订的Quartus II 软件版本。