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支持
      供应商类
      工具类
      功能类
  

Assigning Design Constraints with the Synplify Software

Assigning design constraints in the Synplicity Synplify software includes specifying pin assignments, timing constraints, and other resource assignments. When you use the Synplify software, you can assign a limited subset of Quartus II resource assignments by specifying attributes in the Synplify Design Constraints File (.sdc) or in the Verilog Design File (.v) or VHDL Design File (.vhd). The Synplify software automatically incorporates these attributes into a <design>.tcl file targeted to any Altera device supported by the Quartus II software. If you add timing constraints or resource assignments in a separate Synplify Design Constraints File, you must add the Synplify Design Constraints File to the project by adding it to the Source Files list in the Synplify window.

To specify design constraints in the Synplify software:

  1. If you have not already done so, perform Setting Up a Project in the Synplify Software.

  2. You can assign a single port to a specific pin to ensure that the signal is always associated with that pin, regardless of future changes to a project. You can specify pins in VHDL or Verilog HDL designs, or in a Synplify Design Constraints File. To make pin assignments using the Synplify software:

    1. Open the SCOPE file.

    2. Click the Attributes tab.

    3. Select the pin for which you wish to make the assignment in the Object column.

    4. Select altera_chip_pin_lc in the Attribute column.

    5. Enter a pin name in the Value column.

    Refer to the following table for the correct syntax on making pin assignments in Verilog and VHDL design files and Synplify Design Constraints Files:

     

    File Type

    Syntax

    VHDL

    attribute altera_chip_pin_lc : string;
    attribute altera_chip_pin_lc of
    <port name> : signal is "@<pin number(s)>";

     

    Example:

     

    attribute altera_chip_pin_lc : string;
    attribute altera_chip_pin_lc of result : signal is
    "@17, @166, @191, @152, @15, @148, @147, @149";

    Verilog HDL

    <port name> /* synthesis altera_chip_pin_lc="@<pin number(s)>" */;

     

    Example:

     

    output [7:0] sum /* synthesis altera_chip_pin_lc="@17, @166, @191, @152, \
    @15, @148, @147, @149" */;

     

    Synplify Design Constraints File

    define_attribute <port name> altera_chip_pin_lc "@<pin number>"

     

    Example:

     

    define_attribute {DATA0[7:0]} altera_chip_pin_lc "@115,@116,@117,
    @118,@119,@120,@121,@122"

     

     

  3. Add appropriate timing constraints in a separate Synplify Design Constraints File or in the VHDL or Verilog HDL source file. If you add timing constraints or resource assignments in a separate SDC file, you must add the Synplify Design Constraints File to the Source Files list in the Synplify window by using the Scope option. Synplify incorporates attributes that are applicable to the Quartus II software into a <design name>.tcl file.

    You can specify the fMAX timing requirement in the Synplify software and add the DEFINE_INPUT_DELAY and DEFINE_OUTPUT_DELAY variables in the Synplify Design Constraints File. The Synplify software then uses the values in the SDC File when it creates the <design name>.tcl file.

  4. To continue with the Synplify design flow,generate Verilog Quartus Mapping Files with the Synplify software.

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