![]() | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
XACT 5.x SetupIn this example, the XACT 5.x Core Tools (DS502) have been installed for SunOS 4.1.x in /tools/xact_521/ds502. The Mentor Graphics Interface (DS344) has been installed in /tools/xact_521/ds344. The Mentor Graphics vendor software (where Design Manager and Design Architect are located) has been installed in /tools/mentor_A4. Please substitute the appropriate directory paths that apply to your own system. Also, if you are running the tools on HP-UX 9.x or 10.x, please substitute hppa for sparc where appropriate.To run XACT 5.x software with the Mentor Graphics Interface, the following environment variables must be set:
In addition, the following variables must be set for the Mentor Graphics third-party software. Consult the appropriate Mentor Graphics documentation for more information.setenv LCA /tools/xact_521/ds344 setenv XACT ${LCA}:/tools/xact_521/ds502 set path = ( $path \ $LCA/com/sparc $LCA/bin/sparc \ /tools/xact_521/ds502/com/sparc )
In addition, the LCA and MGC_GENLIB environment variables must be added to the file referenced by $MGC_LOCATION_MAP so that the Mentor Graphics Software can recognize them. A location-map file may look like:setenv MGC_HOME /tools/mentor_A4 setenv MGC_GENLIB $MGC_HOME/gen_lib setenv MGC_LOCATION_MAP /usr/local/data/mentor/mgc_location_map setenv MGLS_LICENSE_FILE /usr/local/data/license/mentor_license.dat setenv LD_LIBRARY_PATH $MGC_HOME/shared/lib:$MGC_HOME/lib:/usr/openwin/lib set path = ( $path $MGC_HOME/bin ) # MGC_LOCATION_MAP: Substitute path to MGC location map. # MGLS_LICENSE_FILE: Substitute path to FlexLM-format license file. # LD_LIBRARY_PATH: Remove /usr/openwin/lib for HP-UX. # For HP-UX 10.x, use SHLIB_PATH variable instead. Consult the Mentor Graphics documentation for more information on location maps.MGC_LOCATION_MAP_1 $LCA $MGC_GENLIB
To run Xilinx M1 software with the Mentor Graphics Interface, the following environment variables must be set:
In addition, the following variables must be set for the Mentor Graphics third-party software. Consult the appropriate Mentor Graphics documentation for more information.setenv XILINX /tools/xilinx_M1 setenv LCA $XILINX/mentor/data setenv SIMPRIMS $LCA/simprims set path = ( $path $XILINX/mentor/bin/sol $XILINX/bin/sol )
The LCA, SIMPRIMS, and MGC_GENLIB environment variables must also be added to the file referenced by $MGC_LOCATION_MAP so that the Mentor Graphics Software can recognize them. A location-map file may look like:setenv MGC_HOME /tools/mentor_B1 setenv MGC_GENLIB $MGC_HOME/gen_lib setenv MGC_LOCATION_MAP /usr/local/data/mentor/mgc_location_map setenv MGLS_LICENSE_FILE /usr/local/data/license/mentor_license.dat setenv LD_LIBRARY_PATH $MGC_HOME/shared/lib:$MGC_HOME/lib:/usr/openwin/lib set path = ( $path $MGC_HOME/bin ) # MGC_LOCATION_MAP: Substitute path to MGC location map. # MGLS_LICENSE_FILE: Substitute path to FlexLM-format license file. # LD_LIBRARY_PATH: Remove /usr/openwin/lib for HP-UX. # For HP-UX 10.x, use SHLIB_PATH variable instead. Consult the Mentor Graphics documentation for more information on location maps.MGC_LOCATION_MAP_1 $LCA $SIMPRIMS $MGC_GENLIB
Using the automatic compile scriptsM1 includes the following scripts that automatically compile the Verilog and VHDL simulation models for your particular version of QuickHDL:For more information on using these scripts, see the accompanying README files. These scripts should be run by your system administrator.$XILINX/mentor/data/verilog/compile_verilog_libs.sh $XILINX/mentor/data/vhdl/compile_vhdl_libs.sh Note: The Verilog compile script will only compile XC3000, XC4000X (not XC4000E), and XC5200 Unisim models (M1.4 and later only). To compile the Unisim libraries for other device families, see the next section. Compiling the HDL libraries manuallyThe information below is intended mainly for reference. Since compile scripts for QuickHDL are already included with the Mentor Graphics interface, you should not need the following instructions unless you need to compile Unisim libraries for families not listed in the Verilog compile script (e.g., XC4000E or XC9500), have problems with the compile scripts or need to perform a partial library compilation.M1 contains three types of HDL simulation libraries:
If QUICKHDL is not set when qhmap is run, the logical library mapping is done locally, and therefore all qhmap commands would have to be run for each new HDL design.setenv QUICKHDL $MGC_HOME/lib/quickhdl.ini For Verilog users, the compilation commands that need to be executed are:
|