Notes for setting-up the Mentor Tools Out-of-the-box  

  

In your home directory make a directory called, for example, "Mentor_CMOSedu" using the
command "mkdir Mentor_CMOSedu" as seen below.
 
***Note that the names and paths are case sensitive!***
 
Start the Pyxis Project Manager using "dmgr_ic &" as seen below.
 
http://cmosedu.com/cmos1/mentor/mentor1.jpg
 
Use File -> New -> Technology Library... as seen below.
 
http://cmosedu.com/cmos1/mentor/mentor2.jpg
 
Enter the path seen below and then hit OK.
The technology library is named "CMOSedu_tech."
Note that 
$HOME is equivalent to your home directory.
For me $HOME is the same as the path /home/bakerj/ 
 
http://cmosedu.com/cmos1/mentor/mentor3.jpg
 
Next select File -> New -> Technology Configuration... as seen below.
 
http://cmosedu.com/cmos1/mentor/mentor4.jpg
 
Name the technology configuration "CMOSedu_config" and then hit OK.
 
 http://cmosedu.com/cmos1/mentor/mentor5.jpg
 
Next create a new project.
  
http://cmosedu.com/cmos1/mentor/mentor6.jpg
 
Call this project "CMOSedu_examples".
Set the Project path and name as seen below.
This project will contain each chapters' examples from the books.
Select the library technology using the open folder icon circled below.
 
http://cmosedu.com/cmos1/mentor/mentor7.jpg
 
A window will open. Click on OK.
 
http://cmosedu.com/cmos1/mentor/mentor8.jpg
 
Click OK again.
 
http://cmosedu.com/cmos1/mentor/mentor9.jpg
 
Next select the "Add Standard Libraries" and then OK.
If these libraries are not added at this point then basic components, like a resistor, won't be available when drafting a schematic.
  
http://cmosedu.com/cmos1/mentor/mentor10.jpg
 
Next creat a Library using File -> New -> Library as seen below.
 
http://cmosedu.com/cmos1/mentor/mentor11.jpg
 
Call this library, for example, Ch1_Mentor (Ch1 examples).
 
http://cmosedu.com/cmos1/mentor/mentor12.jpg
 
Right-click on the library and select Schematic... as seen below.
 
http://cmosedu.com/cmos1/mentor/mentor13.jpg
 
Call the schematic "Fig1_10" as seen below.
 
http://cmosedu.com/cmos1/mentor/mentor14.jpg
 
Let's pause and show the contents of the Project Navigator.
 
http://cmosedu.com/cmos1/mentor/mentor15.jpg
 
and the file browser to show the directory listing.
 
http://cmosedu.com/cmos1/mentor/mentor16.jpg
 
In order to provide the proper paths to the tools add
the following to your .bashrc file (assuming you are using the Bash Shell).
Note that the period at the beginning of the filename makes the file a "Hidden File" so ensure that you can view Hidden Files.

 
export MGC_HOME=/usr/mentor
export MGC_AMS_HOME=$MGC_HOME/ams
export CALIBRE_HOME=$MGC_HOME/calibre/ixl_cal_2012.3_31.26
export CMOSEDU_TECH=$HOME/Mentor_CMOSedu/CMOSedu_tech

 

When finished, in a terminal window in your home directory, type the command “. .bashrc” (period, space, period bashrc) to re-source the .bashrc file.  
 
If using the C Shell then change the above export to setenv and the = to a space and add the following to your .cshrc file.
 
setenv MGC_HOME /usr/mentor
setenv MGC_AMS_HOME $MGC_HOME/ams
setenv CALIBRE_HOME $MGC_HOME/calibre/ixl_cal_2012.3_31.26
setenv CMOSEDU_TECH $HOME/Mentor_CMOSedu/CMOSedu_tech
 

In the installation here the Mentor tools are installed in /usr/mentor/ (use the correct path above for your installation *important*).

 
Note that if you don't have the MGC_AMS_HOME
enviornment variable set then Eldo won't run (it won't be found when called by Pyxis).
 
Also, if you don't have the CMOSEDU_TECH enviornment variable set then you'll get an error in the Pyxis Project Manager, $CMOSEDU_TECH, if downloading and trying to use the books' examples in
Mentor_CMOSedu.zip.
 
Return to Mentor Graphics at CMOSedu.com