|
|
|
Variables for CAE Tools and Libraries
This section details how to set up the environment variables for various CAE interface components and libraries.
Model Technology Interface
To invoke ModelSim simulator software, you must set a variable to point to the location of the Model Tech software on your system or network as follows:
setenv MODEL_TECH modeltech_dir_path
For example, setenv MODEL_TECH /products/modeltech.ver5_6b.
Innoveda Interface
Update your .cshrc or .login files by modifying the WDIR environment variable. You should already have a WDIR environment variable defined for the Powerview software. You only need to add a path to that variable. Set up your XILINX environment variable and path as described previously in this chapter.
To find out how to set up your project libraries, refer to the Viewlogic Interface Guide.
Mentor Graphics Interface
Configure your .cshrc or .login files by updating them with the XILINX, LCA, and other environment variables specific to Mentor Graphics. Add the following line to set the LCA environment variable, where $XILINX points to xilinx_dir_path:
setenv LCA $XILINX/mentor/date
- Set up the SIMPRIMS variable to
setenv SIMPRIMS $LCA/simprims
- Set up the MGLS_LICENSE_FILE environment variable to point to the directory where your license is located. For example,
setenv MGLS_LICENSE_FILE /mentor_license_path/mentor_license_file
- Set up your Mentor Graphics variables.
- The optional MGC_GENLIB variable that points to the Mentor generic library.
- The MGC_HOME environment variable that points to where you installed the Mentor Graphics software.
- The MGC_LOCATION_MAP environment variable that points to the location of your mgc_location_map file.
Note The MGC_WD environment variables are ignored. Reset this variable every time you change design directories.
- Set your LD_LIBRARY_PATH to
setenv LD_LIBRARY_PATH mentor_path/lib:mentor_path/shared/lib:openwin_pathlib:$(LD_LIBRARY_PATH
The mentor_path is $MGC_HOME and openwin_path is the location of Openwin.
- Add $XILINX/mentor/bin/platform to your path definition. For example,
set path = ($XILINX/bin/platform $XILINX/mentor/bin/platform $path)
The following example illustrates how to configure your .login or .cshrc file for use with the Mentor Graphics interface. This example assumes you installed the design implementation tools software in the /xilinx directory and the Mentor Graphics interface software under $XILINX/mentor/data and $XILINX/mentor/bin/sol:
setenv XILINX /xilinx
setenv LCA $XILINX/mentor/data
setenv SIMPRIMS $LCA/simprims
setenv MGC_GENLIB mentor_path/gen_lib
setenv MGC_HOME /tools/mentor/idea8.4
setenv LD_LIBRARY_PATH $(MGC_HOME) /lib:$(MGC_HOME)/shared/lib: openwin_path lib:$XILINX/bin/sol:$(LD_LIBRARY_PATH)
setenv MGLS_LICENSE_FILE mentor_license_path/mentor_license_file
setenv MGC_LOCATION_MAP /xilinx/project/mgc_location_map
set path = ($XILINX/mentor/bin/cpu_type ${MGC_HOME}/bin/xilinx/bin/sol $path)
Synopsys Interface Setup
The directory for all Xilinx software is $XILINX. The directory for the Synopsys software is $SYNOPSYS. Verify that your .cshrc or setup file contains the following:
setenv XILINX location_of_Xilinx_software
setenv SYNOPSYS location_of_Synopsys_software
setenv SYNOPSYS_KEY_FILE location_of_Synopsys_license_file
set path=($SYNOPSYS/syn_platform/syn/bin/$SYNOPSYS/syn_platform/sim/bin/$XILINX/bin/xil_platform $path)
Cadence Interface Setup
For details about setting up your Cadence environment, refer to the “Getting Started” chapter in the Xilinx/ Concept-HDL Interface Guide.
|
|
|