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

Synthesizing and Optimizing a Design with the Design Compiler Software

btnshowall.gif

The Quartus II software can process a VHDL or Verilog HDL file that the Synopsys Design Compiler software synthesized, saved as an EDIF 2 0 0 netlist file, and imported into the Quartus II software.

To synthesize and optimize a VHDL or Verilog HDL design with the Design Compiler software for use with the Quartus II software:

  1. If you have not already done so, create a design for use with the Design Compiler software.

  2. To start the Design Compiler software in the graphical user interface, type the following commands at the command prompt:

  3. dc_shell Enter
    design_analyzer
     Enter

  1. Analyze and then compile the design with the Design Compiler or Design Analyzer software. The VHDL Compiler or HDL Compiler for Verilog software automatically translates the design into Synopsys database (.db) format. For some types of projects, you must follow these steps before you process the design:

    1. If you are compiling an ACEX 1K, APEX 20K, APEX 20KC, APEX 20KE, APEX II, Cyclone, Cyclone II, Cyclone III, FLEX 10K, MAX II, Mercury, Stratix, Stratix II, Stratix II GX, Stratix III, or Stratix GX design, that includes RAM or ROM functions:

      1. (VHDL designs only) Because the VHDL Compiler software does not support the data type string for the Generic Clause, enter the following command at the dc_shell prompt before you read the design:

hdlin_translate_off_skip_text=true Enter

      1. The timing model (.lib) generated by the genmem utility contains pin-to-pin delay information the Design Compiler software can use. Add this timing model to the existing library so that the compiler can access the timing information. Refer to the following table and at the dc_shell prompt, type one of the commands :

click to expandCommands for Adding Timing Models to the Existing Libraries:

      1. Device Family

        Commands for Adding Timing Models to the Existing Libraries

        ACEX 1K

        read -f db acex1k.dbEnter
        update_lib acex1k
        <RAM/ROM function name>.libEnter

        APEX 20K

        read -f db apex20k-3.dbEnter
        update_lib apex20k-3
        <RAM/ROM function name>.libEnter

        APEX 20KC

        read -f db apex20kc-3.dbEnter
        update_lib apex20kc-3
        <RAM/ROM function name>.libEnter

        APEX 20KE

        read -f db apex20ke-3.dbEnter
        update_lib apex20ke-3
        <RAM/ROM function name>.libEnter

        APEX II

        read -f db apexii-3.dbEnter
        update_lib apexii-3
        <RAM/ROM function name>.libEnter

        Cyclone

        read -f dbcyclone.dbEnter
        update_lib cyclone
        <RAM/ROM function name>.libEnter

        Cyclone II

        read -f dbcyclone.dbEnter
        update_lib cyclone
        <RAM/ROM function name>.libEnter

        Cyclone III

        read -f dbcyclone.dbEnter
        update_lib cyclone
        <RAM/ROM function name>.libEnter

        FLEX 10K and ACEX 1K

        read -f db flex10ke-3.dbEnter
        update_lib flex10ke-3
        <RAM/ROM function name>.libEnter

        MAX II

        read -f db maxii-3.dbEnter
        update_lib maxii-3
        <RAM/ROM function name>.libEnter

        Mercury

        read -f db mercury-3.dbEnter
        update_lib mercury-3
        <RAM/ROM function name>.libEnter

        Stratix

        read -f db stratix-3.dbEnter
        update_lib stratix-3
        <RAM/ROM function name>.libEnter

        Stratix GX

        read -f dbstratixgx.dbEnter
        update_libstratixgx
        <RAM/ROM function name>.libEnter

        Stratix II

        read -f dbstratixii.dbEnter
        update_libstratixii
        <RAM/ROM function name>.libEnter

        Stratix II GX

        read -f db stratixiigx.dbEnter
        update_lib stratixiigx
        <RAM/ROM function name>.libEnter

        Stratix III

        read -f db stratixiii.dbEnter
        update_lib
        stratixiii <RAM/ROM function name>.libEnter

      1. (Optional) To update the flex10k[<speed grade>].db file with the RAM/ROM timing information, refer to the following table and type one of the commands at the dc_shell prompt:

click to expandCommands for Updating the flex10k[<speed grade>].db file with the RAM/ROM Timing Information:

Device Family

Commands for Updating the flex10k[<speed grade>].db file with the RAM/ROM Timing Information

ACEX 1K

write_lib acex1k -o acex1k.dbEnter

APEX 20K

write_lib apex20k-3 -o apex20k-3.dbEnter

APEX 20KC

write_lib apex20kc-3 -o apex20kc-3.dbEnter

APEX 20KE

write_lib apex20ke-3 -o apex20ke-3.dbEnter

APEX II

write_lib apexii-3 -o apexii-3.dbEnter

Cyclone

write_lib cyclone -o cyclone.dbEnter

Cyclone II

write_lib cycloneii -o cycloneii.dbEnter

Cyclone III

write_lib cycloneiii -o cycloneiii.dbEnter

FLEX 10K and ACEX 1K

write_lib flex10ke-3 -o flex10ke-3.dbEnter

MAX II

write_lib maxii-3 -o maxii-3.dbEnter

Mercury

write_lib mercury-3 -o mercury-3.dbEnter

Stratix

write_lib stratix-3 -o stratix-3.dbEnter

Stratix GX

write_lib stratixgx -o stratixgx.dbEnter

Stratix II

write_lib stratixii -o stratixii.dbEnter

Stratix II GX

write_lib stratixiigx -o stratixiigx.dbEnter

Stratix III

write_lib stratixiii -o stratixiii.dbEnter

 

    1. (Optional) Enter resource assignments. The Quartus II software allows you to make a variety of resource and device assignments for projects. Resource assignments are used to assign logic functions to a particular pin, logic cell, I/O cell, embedded cell, row, column, Logic Array Block (LAB), Embedded System Block (ESB), Embedded Array Block (EAB), MegaLAB structure, row, column, fast region, custom region, section, chip, clique, local routing, logic option, or timing assignments or requirements. In the Quartus II software, you can enter all types of resource and device assignments with the Assignment Editor. You can also enter assignments in the Quartus II Timing Closure Floorplan.

  1. For additional information on how the Design Compiler synthesizes and optimizes a design, refer to the Synopsys Design Compiler Reference Manual or Design Analyzer Reference Manual.

  1. (Optional) View the optimized design with the Design Analyzer. The Design Analyzer uses the altera.sdb library to display optimized designs generated by the Design Compiler.

  2. (Optional) To view Synopsys-generated timing information and generate a file detailing primitive usage, type the following commands at the dc_shell prompt:

  3. report_timing Enter
    report_reference >
    <file name> Enter

  1. Specify EDA tool settings and compile the design in the Quartus II software.

 

 

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