You can use Cadence Synergy software to synthesize and optimize your VHDL files and convert them to EDIF input files that can be processed by the
To process a VHDL file with Synergy software for use with MAX+PLUS II software, go through the following steps:
- Be sure to set up your working environment correctly, as described in Setting Up the MAX+PLUS II/Cadence Working Environment.
- Create a VHDL file <design name>.vhd using the MAX+PLUS II Text Editor or another standard text editor and save it in a working directory. Go to Creating VHDL Designs for Use with MAX+PLUS II Software for more information on VHDL design entry.
- Start Synergy by typing
synergy -lang vhdl
at a UNIX prompt from the working directory.
- Analyze your source file <design name>.vhd:
- Choose Analyze Files (File menu) to open the Select Design dialog box.
- Click on the Analyze Files tab.
- Select the design name from the Files list.
- Choose Analyze to analyze the source file(s).
- Choose the Select Design tab from the Select Design dialog box and specify the following options:
- Select the design architecture from the hierarchical list. The design architecture should appear in the Design box.
- Specify <design name>.run1 as the Run Directory.
- Type
alt_synas the Target Library name. - (Optional) If you want to use the Synergy library of parameterized modules (LPM) synthesis capability, choose the Macro Libraries ellipse button and select lpm_syn in the Select From box.
- (Optional) If you want to view a synthesized schematic in Concept or Composer, go through the following steps:
- Choose Schematic Generation (Utilities menu).
- Select either Concept or Composer in the Generate From box.
- Type
alt_max2in the Symbol Libraries box. - Choose Apply, then Close.
- Choose the Select Design button from the Select Design window.
- Indicate to the Synergy software that any
clklockmegafunction or any macrofunction instantiated in your VHDL design is a "black box" that must pass untouched through the EDIF netlist file:- Choose Synthesis (Constraints menu), then choose Hierarchy Control.
- Select the module or instance name from the hierarchical View list for Module/Instance.
- Turn on Maintain Option in the Synthesis Constraints box.
- Select Module/Instance and Tree Below in the Apply To box.
- Choose Apply.
- Repeat steps a through e for each instance of the function.
- Choose Synthesize (Synthesis menu) from the Synergy window and specify the following options:
- Click on the Synthesize tab.
- Turn on the Generate Schematic option.
- Select either Composer or Concept from the Type list box.
- Choose Synthesize to start synthesizing your design.
- Generate an EDIF netlist file that can be compiled with MAX+PLUS II software, as described in Converting VHDL Designs into MAX+PLUS II-Compatible EDIF Netlist Files with the vlog2alt or altout Utility.
- Process the <design name>.edf file with the MAX+PLUS II Compiler, as described in Compiling Projects with MAX+PLUS II Software.
Installing the Altera-provided MAX+PLUS II/Cadence interface on your computer automatically creates the following sample VHDL files:
- /usr/maxplus2/examples/cadence/example9/count4.vhd
- /usr/maxplus2/examples/cadence/example10/adder16.vhd
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.
