Altera Home Page
Literature Licensing
Buy On-Line Download

  Home   |   Products   |   Support   |   End Markets   |   Technology Center   |   Education & Events   |   Corporate   |   Buy On-Line  
  Knowledge Database   |   Devices   |   Design Software   |   Intellectual Property   |   Reference Designs   |   Design Examples   |   mySupport  

 Products
   Quartus II
      SOPC Builder
      MAX+PLUS II
      ModelSim-Altera
  
 Resource Centers
      Overview
      Installation & Licensing
      Scripting
      Board Design & I/O
      Synthesis & Netlist Viewers
      Incremental Compilation
      Optimization
      Power Management
   TimeQuest Timing Analyzer
      Classic Timing Analyzer
      Simulation & Verification
      On-Chip Debugging
      HardCopy Design
  
 Software Resources
      OS Support
      Driver Installation
  
 Download & Licensing
      Download
   Licensing
  
 Quartus II EDA Support
      Quartus II Interface
   Synthesis Tools
          DK Design Suite
          Design Compiler
          LeonardoSpectrum
          Precision RTL Synthesis
          Synplify
   Simulation Tools
   Formal Verification Tools
   Timing Analysis Tools
   Physical Synthesis Tools
   Board Level Tools
  
 Legacy Sw. EDA Support
      View by Vendor
      View by Tool
      View by Function
  

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 Tcl Script File (.tcl) called <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. Synplify incorporates attributes that are applicable to the Quartus II software into a <design name>.tcl file. If you use the TimeQuest Timing Analyzer, Synplify can write and annotate timing constraints in the Synopsys Constraints Format File (.scf).

    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.

Important: Constraint modifications should be made with the SCOPE constraint editor rather than editing the Synplify Design Constraints File, Synopsys Constraints Format File, or Tcl Script File. 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 Source Files list in the Synplify window by using the SCOPE constraint editor.

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

  Please Give Us Feedback