Answers Database


2.1i, 1.5, V1.4 COREGEN: How to permanently set the default output format for COREGen


Record #3883

Product Family: Software

Product Line: Coregen

Product Part: Coregen

Problem Title:

2.1i, 1.5, V1.4 COREGEN: How to permanently set the default output format for COREGen


Problem Description:
Urgency: Standard

How to permanently set the default output format for COREGen.


Solution 1:

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.



Solution 2:


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



Solution 3:

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.




End of Record #3883 - Last Modified: 09/07/99 09:28

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!