Altera Home Page
文档资料 许可
在线购买 下载

  主页   |   产品   |   支持   |   最终市场   |   技术中心   |   教育与活动   |   公司介绍   |   在线购买  
  mySupport   |   器件   |   软件   |   IP   |   设计范例   |   参考设计  

 产品
   Quartus II
      SOPC Builder
      MAX+PLUS II
      ModelSim-Altera
  
 资源中心
      简介
      安装&许可
      脚本
       电路板设计& I/O
      网表阅读器 & 综合
      编译增强特性
      优化
      功耗管理
   TimeQuest时序分析器
      标准时序分析器
      仿真 & 确认
      片内调试
      HardCopy设计
  
 软件资源
      操作系统支持
      驱动安装
  
 下载与许可
      下载
   许可
  
 Quartus II EDA 支持
      Quartus II 接口
   综合工具
          Design Compiler
          DC FPGA
          FPGA Compiler II
          LeonardoSpectrum
          Precision RTL Synthesis
          Synplify
   仿真工具
   验证工具
   时序分析工具
   再综合工具
   电路板级工具
  
 老版软件EDA支持
      供应商类
      工具类
      功能类
  

Creating a Design for Use with the Synplify Software

You can create Verilog HDL design files with the Quartus II Text Editor or another standard text editor for use with the Synplicity Synplify software.

To create a Verilog or VHDL design for use with the Synplify software:

  1. If you have not already done so, perform Setting Up the Synplify Working Environment

  2. Enter a VHDL or Verilog HDL design in the Quartus II Text Editor or another standard text editor and save it in your working directory. Only describe the design with Verilog or VHDL; the Synplify software cannot synthesize Block Design Files (.bdf) or other proprietary Altera formats.

Note: When connecting ports in the Verilog Design File (.v), make sure you connect ports by name instead of by order. When generating Verilog Output Files (.vo) from imported VQM Files for simulation in other EDA simulation tools, the Quartus II software does not retain the order of ports.

  1. To use megafunctions in the design, use the MegaWizard Plug-In Manager to generate and instantiate a megafunction variation. You can use the MegaWizard Plug-In Manager to create content-addressable memory (CAM), ClockLock PLL, LVDS, or RAM functions. The following topics show how to create and instantiate some of these functions:

  1. If you want to use the lpm_mult, lpm_ram_dp, lpm_ram_dq, lpm_rom, lpm_latch, or lpm_ff library of parameterized modules (LPM) functions you can use the MegaWizard Plug-In Manager to create the LPM functions and then instantiate them in your design. The Synplify software (version 7.0 and later) includes timing models for critical path timing estimates,

  2. To create and instantiate an LPM function in your design:

    1. Open the MegaWizard Plug-In Manager and specify the appropriate options for the LPM function you want to create. The MegaWizard Plug-In Manager creates a Verilog Design File or a VHDL Design File (.vhd) for the function.

    2. Instantiate the function in your design, including the parameters and omitting the syn_black_box directive in the module or entity for that function. You must then add the Verilog Design File or VHDL Design File to your project in the Synplify software, so the Synplify software synthesizes it and includes it in the VQM File for the project.

    3. When creating the project in the Synplify software, for Verilog HDL designs, you must also add the altera_lpm.v file, which is located in the <Synplify system directory>\lib\altera directory. For VHDL designs, add the following statement to the design file:

    4. library lpm;
      use lpm.lpm_components.all;

  1. Instantiate any Quartus II–supported logic functions in the Verilog HDL design. You can enter the following functions:
    • Parameterized and non-parameterized megafunctions. The Quartus II software also supports all functions in the library of parameterized modules (LPM) 2.1.0, except the truth table, finite state machine, and pad functions.
    • Buffer primitives, including lcell, soft, global, carry, and cascade. The Synplicity altera.v and altera.vhd libraries provide synthesis support for these functions.
    • MegaCore functions offered by Altera or by members of the Altera Megafunction Partners Program (AMPP). The OpenCore feature in the Quartus II software allows you to instantiate, compile, and simulate MegaCore functions before deciding whether to purchase a license for full device programming and post-compilation simulation support.
  2. If your VHDL design uses functions from the altera.vhd library, add the following Library and Use clauses to the top of a file that instantiates the macrofunction(s):

    library altera;
    use altera.maxplus2.all;

  3. For each Quartus II–supported logic function, include a syn_black_box synthesis directive. You can omit this step for functions from the altera.v and altera.vhd libraries.

  4. For any parameterized function, declare all parameters used in the function, their types, and their values. The following examples show a Verilog HDL and VHDL file that instantiates the lpm_ram_dq function.

  1. To continue with the Synplify design flow, set up a project with the Synplify software.

 

 

  请填写反馈意见
  注册索取最新邮件通知