Mentor Graphics
What Release Of Mentor Graphics Is Installed?
The following Mentor Graphics design tools are installed:
- Design Tools EN2004
- ICFlow ICFlow 2004.1
- ModelSim 5.8c
- ADK 2.0
On What Systems Will Mentor Graphics Design Tools Run?
The tools are loaded for SPARC/Solaris 8 (and later releases) as well as for Intel/Linux (RedHat 9 and later releases).
How Do I Set Up My Account For Working With Mentor Design Tools?
Your instructor may have additional setup instructions to use Mentor design tools for the class you are enrolled in. These instructions are offered as a bare minimum to make the tools usable on department workstations.
Environment settings
Make the following environment settings (translate to other shells' syntax as appropriate):
tcsh/csh:
setenv MGC_HOME /s/mentor/MGC_HOME-2004
setenv MGLS_LICENSE_FILE /s/mentor/etc/cust/mgls/mgc.licenses
setenv SDD_ROOT /s/mentor
setenv SDD_HOME /s/mentor/2004
setenv ADK /s/mentor/adk
bash/ksh:
export MGC_HOME=/s/mentor/MGC_HOME-2004
export MGLS_LICENSE_FILE=/s/mentor/etc/cust/mgls/mgc.licenses
export SDD_ROOT=/s/mentor
export SDD_HOME=/s/mentor/2004
export ADK=/s/mentor/adk
If you care to set up a separate Mentor working directory
~/mgc, create the directory
~/mgc and add the following to your environment settings:
tcsh/csh:
setenv MGC_WD $HOME/mgc
bash/ksh:
export MGC_WD=$HOME/mgc
To set a custom AMPLE path or use a a customized MGC_LOCATION_MAP, set the corresponding environment settings:
tcsh/csh:
setenv AMPLE_PATH paths_separated_by_colons
setenv MGC_LOCATION_MAP your_location_map_pathname
bash/ksh:
export AMPLE_PATH=paths_separated_by_colons
export MGC_LOCATION_MAP=your_location_map_pathname
Your instructor will provide you with contents for your AMPLE_PATH or MGC_LOCATION_MAP if you need to make such customizations.
Search Path
Finally, you should modify your search path to easily execute the Mentor programs:
set path = ( /s/acroread-5.10/bin $path /s/mentor/bin /s/mentor/MGC_HOME-2004/bin /s/mentor/adk/bin ) (csh/tcsh)
export PATH=/s/acroread-5.10/bin:$PATH:/s/mentor/bin:/s/mentor/MGC_HOME-2004/bin:/s/mentor/adk/bin (bash/ksh)

Note: We recommend you add these settings to your .cshrc.local file; this will keep your local customizations separate from all the CSL-provided code used when logging in.
How Do I Print Documents From Mentor Graphics?
Most applications will allow you to print using
File ⇒ Print. However, you must use the right printer queue, as shown in the table below.
How Do I Access My Partner's Mentor Designs?

Note: BOTH partners will have to run these commands to share design files.
- You will need to add write access for your partner(s) to the directory containing the Mentor designs:
cd ~/mentor
afs_rseta . <partner> write
This adds write access to <partner> to write to the mentor directory and its subdirectories.
- Add your partner's Mentor design directory to your Mentor location map.
Add the following to your ~/mentor/.location file:
$<partner>
<full path to partner's mentor design directory>
Note:to get the full path, cd to the directory and run pwd; the output is the full path to the directory.
- If you have not already added an
MGC_LOCATION_MAP definition to your ~/.cshrc.local file, do so now by adding the following to your ~/.cshrc.local file: setenv MGC_LOCATION_MAP ~/.location (tcsh)
export MGC_LOCATION_MAP=~/.location (bash/ksh)
Note:you will need to start a new xterm window for this change to take effect.
- If you have existing designs in your Mentor project directory, you will need to chmod them to allow world write access (or the files will remain read-only):
cd ~/mentor chmod -R o+rw .
Note: This adds world-read/write access to these files, although actual file accesses are enforced via AFS ACLs. Be sure you maintain your AFS ACLs appropriately to prevent unauthorized access to your design files.
- Start the Mentor design tools; you can now access your partner's designs easily within designs:
- When opening a design component, select the
- Navigator button.
- Select the
- enter path button (button with 4 arrows on it) when the file selection window pops up.
- Enter the variable $<partner>
- The file selection window should now switch to your partner's Mentor design directory; you can select designs there as needed.

Warning: You may create a symbolic link in your directory pointing to your partner's Mentor design directory. DO NOT use this link when opening designs within the Mentor tools; Mentor will not allow you to open designs this way. Use such links only when looking at generated design files on the unix command line.
Can I Use Mentor Design Tools From A Remote Computer?
You can use Mentor design tools on remote computers. You will need the following:
- an X-server to display X11 programs
- all fonts required by Mentor Graphics tools
The necessary fonts are provided on supported unix-based computers in the Computer Sciences Dept.
The CSL does NOT provide Mentor fonts for remote installations; you are on your own to obtain those fonts and install them on your local X-server. You may be able to use the Mentor fonts provided by
StarNet Communications with XWin32 X-servers, and possibly other X-servers. Other users have reported an XUtil program (which comes with XWin32) is useful for converting fonts for use with XWin32.
How Do I Clear a Mentor Graphics Edit Lock?
Mentor Graphics will create a lock file for each design as it is being edited within Design Architect or other applicable editors part of the Mentor Graphics design software. Occasionally these locks do not get removed due to an application crash or other problems.
Such locks can be removed using the
rm command. Make sure you do
NOT have the design open in any Mentor editors, then remove the file. If you have a $MGC_WD directory, design files and corresponding lock files should be located in $MGC_WD. To find such lock files within $MGC_WD, run the following:
find $MGC_WD -name \*.lck
then remove any stale lock files as appropriate.
How Do I Get More Help On Mentor Graphics Programs?
Once you have set up your account to run Mentor programs, help is available from
mgcdocs. From
mgcdocs, you can browse or search the "bookshelves" of documentation available from Mentor Graphics.
Previous releases used
mgc_acro or
bold_browser. These help mechanisms have been deprecated.
Documentation on other components can be found in the following locations:

Note: If you still can't find the answer you're looking for, contact your instructor; he/she can contact the CSL to resolve the problem.