AR# 3883: 2.1i, 1.5, V1.4 COREGEN: How to permanently set the default output format for COREGen
AR# 3883
|
2.1i, 1.5, V1.4 COREGEN: How to permanently set the default output format for COREGen
Description
Keywords: DSP, COREGEN, Core Generator, output format, option coregen.ini
Urgency: Standard
How to permanently set the default output format for COREGen.
Solution
1
In the 1.4 version of the Xilinx CORE Generator, the output formats by default are set to "XNF Implementation Netlist" and "VHDL Instantiation Template"; however, it is possible to change the default by declaring an additional variable in the coregen.ini file.
Set the environment variable, "SelectedProducts" in the coregen.ini file for your project directory as follows:
SET SelectedProducts = <list_of_selected_outputs>
The possible options for <list_of_selected_outputs> are:
XNF: XNF Implementation Netlist ViewSym: Viewlogic Schematic Symbol FoundationSym: Foundation Schematic Symbol VHDLSym: VHDL Instantiation Template VHDLSim: VHDL Behavioral Simulation Model VerilogSym: Verilog Instantiation Template
Multiple output formats can be specified on the same line, separated by a blank space.
Windows 95/NT example: ----------------------- To set the default output format to XNF and Foundation Symbol, set the SelectedProducts variable as follows:
SET SelectedProducts = XNF FoundationSym
Your full COREGEN.INI file should look similar to the following:
SET FoundationPath = c:\active (point to Foundation root dir directory) SET ProjectPath = c:\dsp (set to your project path) SET TargetSymbolLibrary = primary (Viewlogic library alias) SET XilinxFamily = XC4000E
SET AcrobatPath = c:\acroread SET AcrobatName = Acroread.exe
SET SelectedProducts = XNF FoundationSym
######################################################################## # DO NOT EDIT BELOW THIS LINE - DO NOT EDIT BELOW THIS LINE # While the value of the SET options XACTPath, ProSeriesPath, # and ViewlogicPath below are not used in version 1.4.x of the CORE # Generator, they must be present in this file and should not be removed ########################################################################
SET XACTPath = /xact SET ProSeriesPath = /wvoffice SET ViewlogicPath = /wvoffice
UNIX Workstation example: ------------------------- o set the default output format to XNF, VHDL Instantiation Template, and VHDL Behavioral Simulation Model, set the SelectedProducts variable as follows:
SET SelectedProducts = XNF FoundationSym
Your full COREGEN.INI file should look similar to the following:
SET FoundationPath = SET ProjectPath = . SET TargetSymbolLibrary = primary SET XilinxFamily = XC4000E
SET AcrobatPath = /usr/local/bin/ SET AcrobatName = acroread
SET SelectedProducts = XNF VHDLSym VHDLSim
############################################################################### # DO NOT EDIT BELOW THIS LINE - DO NOT EDIT BELOW THIS LINE # While the value of the SET options XACTPath, ProSeriesPath, # and ViewlogicPath below are not used in version 1.4.x of the CORE # Generator, they must be present in this file and should not be removed ###############################################################################
SET XACTPath = /xact SET ProSeriesPath = /wvoffice SET ViewlogicPath = /wvoffice
2
In V1.5 of the CORE Generator, the desired output products can be set via the "Output Format" dialog box under the "Options" menu and saved permanently simply by clicking on the the "Save Settings on OK" checkbox.
3
In V2.1i of the CORE Generator, the desired output products can be set via the "Project Options" menu and are automatically and immediately saved on a project-specific basis.