![]() |
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|
![]() |
![]() |
2.1i SetupSchematic DesignIn this example, The Xilinx 2.1i Core Tools have been installed for Solaris 2.6 in /tools/xilinx_21i. The Mentor Graphics Interface is part of the Xilinx 2.1i tree under $XILINX/mentor. The Mentor Graphics vendor software (where Design Manager and Design Architect are located) has been installed in /tools/mentor_C2. Please substitute the appropriate directory paths that apply to your own system. Also, if you are running the tools under HP-UX, please substitute hp or sun for sol where appropriate.To run Xilinx 2.1i 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_21i 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_C2 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 scripts2.1i includes the following scripts that automatically compile the Verilog and VHDL simulation models for your particular version of ModelSim or 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_modelsim.sh $XILINX/mentor/data/vhdl/compile_vhdl_libs_modelsim.sh and $XILINX/mentor/data/verilog/compile_verilog_libs_quickhdl.sh $XILINX/mentor/data/vhdl/compile_vhdl_libs_quickhdl.sh To compile the Unisim manually or to compile libraries for other device families, see the next section. Compiling the HDL libraries manuallyModelSimQuickHDL
|