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

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

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

Synthesizing & Optimizing VHDL & Verilog HDL Projects with Leonardo Software

After you have created a VHDL or Verilog HDL design, you can use Exemplar Logic's Leonardo software to synthesize and optimize your VHDL Design File (.vhd) or Verilog Design File (.v) and prepare it for compilation with the MAX+PLUS® II Compiler.

To synthesize and optimize your project and generate an EDIF netlist file with Leonardo software, go through the following steps:

  1. Be sure to set up the working environment correctly, as described in Setting Up the MAX+PLUS II/Mentor Graphics/Exemplar Logic Working Environment.
  2. Create a VHDL or Verilog HDL design that follows the guidelines described in Creating VHDL & Verilog HDL Designs for Use with MAX+PLUS II Software.
  3. (Optional) Use the QuickHDL software to functionally simulate the design file, as described in Performing a Functional Simulation with QuickHDL Software.
  4. Select the icon for your project's design file from the Navigator window, press Button 3, and choose max2_leonardo to start the Leonardo software and open the Exemplar Logic Leonardo window. You can also start Leonardo by typing max2_leonardo Enter at the UNIX prompt.
  5. Click Button 1 on the Flow Guide toolbar button to open the Customize Flow Guide dialog box.
  6. Turn on the Altera EDIF Output File checkbox under Output Flow.
  7. Choose Run Flow Guide to open the Flow Guide window and specify the appropriate options in the following modules to synthesize your project:
    1. Choose Load Library to open the Load Library dialog box. If necessary, select FPGA Enhanced from the Tech Type drop-down list box. Select the target Altera® device family from the list of supported device families and choose Load to close the dialog box.
    2. Choose Read to open the Read dialog box. Turn on VHDL or Verilog HDL under Format, ensure that the appropriate library name appears under Work Library, and type the name of your design file in the Filename box or select it from the Select a File dialog box. Choose Read to close the dialog box.
    3. Choose Pre-Optimize to open the Pre-Optimize dialog box. Choose Pre-Optimize to accept the default pre-optimization settings and close the dialog box.
    4. Choose Optimize to open the Optimize dialog box. Choose Optimize to accept the default optimization settings and close the dialog box.
    5. Choose Write Altera to open the Convenience Procedures dialog box. Type write_altera in the Procedure box or select write_altera from the list box and choose Run to automatically generate <design name>.edf.

  8. Choose Exit Flow Guide to return to the Leonardo window.
  9. Process your design with the MAX+PLUS II Compiler, as described in Compiling Projects with MAX+PLUS II Software.

Installing the Altera­provided MAX+PLUS II/Mentor Graphics/Exemplar Logic interface on your computer automatically creates the following sample VHDL Design Files:

  • /usr/maxplus2/examples/mentor/example5/count4.vhd
  • /usr/maxplus2/examples/mentor/example6/count8.vhd
  • /usr/maxplus2/examples/mentor/example8/adder16.vhd

Related Links:


Feedback

Did this information help you?

If no, please log onto mySupport to file a technical request or enhancement.


Altera does not warrant that this solution will work for the customer's intended purpose and disclaims all liability for use of or reliance on the solution.

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