Installing Synopsys Libraries


UNIX

Log in to fozzie as root
Mount the cd, command is: /usr/sbin/mount /dev/dsk/c1t2d0 /cdrom
Run the installation command: /cdrom/sl_admin.csh
It takes about a minute for the window to appear. Ignore any messages about "Cannot convert string..."

In the "Install From..." window, enter /cdrom and click Open
In the "Select Models to Install for SmartModel Library", highlight the model you want to install and click on the Add>> button. After you have selected all the models you want to install, click on the Continue button.

In the "Select Platforms for SmartModel Library Installation" window, you shouldn't have to change anything, as our settings are the default. But, just in case something goes wrong:
Make sure the Platforms HP9000/700 (HP-UX 10.20 and 11.00) box is red and the EDAV Packages boxes for Cadence Design Systems and Mentor Graphics QuickSim Simulator are also red. The location of the configuration file is: /net/libs/libraries/lmc/data/hp700.lmc

To perform the installation, click "Install".

Depending on how many models are installed, the process can take from twenty minutes to five hours. Also, if you cover the sl_admin window with another window and then uncover it, it takes a few minutes for the sl_admin window to refresh. Even though it looks it, the command isn't hung. Various messages will appear in the window, and since it won't do anything for long periods of time, you may think the process is finished. The final command, during which it regenerates the Mentor Graphics menus, takes quite a long time itself (around twenty mintues or so). This is the command that is running, when the log shows:

Executing: /net/libs/libraries/lmc/lib/hp700.lib/mgc_menu01015 -f
mgc_menu: SmartModel Note

Be patient during this time. The command is finished when the last message in the log window is "Install complete".

Now close the window with File-Exit.

Finally, unmount the cd and eject it. To unmount it, enter /usr/sbin/umount /cdrom and then eject it. If for some reason, you get a device busy error or the cd won't come out, it may mean that in some window your current directory is /cdrom. Make sure you are not in /cdrom or any subdirectory of /cdrom or the umount command won't work. If you still cannot get the cd out, just leave it in there. We don't use the cds on the unix machines that often, so it's no big deal. Also note that the cd on fozzie, sometimes gets stuck, so you may have to use a paperclip to force it to open. So again, feel free to leave it in there.


Various Problems Encountered
Got a message about error running mgc_menu, at end of installation. After contacting Synopsys, the fix was to comment out the drac_ts model in $LMC_HOME/data/hp700.lmc and rerun $LMC_HOME/bin/mgc_menu -f.
This command will take about 20 minutes to complete, during which time it shows no activity. The top command will even show it as sleeping part of the time. To see what it is doing, before issuing the command set LMC_COMMAND="trace on". This will make a file called lmc_trace.out in whatever directory you issue the command above. If you then use tail -f lmc_trace.out, you can see the command in action. Be warned though, at the start of the command, it doesn't appear to be doing anything. Be patient.
Windows 2000

Download the files sl_unzip.exe and smartmodel_pcnt.zip from ftp.synopsys.com (login as anonymous). The files were in /pub/SML_pcnt. The zip file is pretty big, ~350 MB, so it will take a while to get. Once you have these files, open a dos prompt and run sl_unzip smartmodel_pcnt.zip. This will create a directory called cdrom, inside of which will be all the files needed for installation.

Now you need to decide where to install the libraries. Quartus set up the environment variable LMC_HOME to point to %QUARTUS_ROOTDIR%\eda\sim_lib\excalibur\swift. The installation program is going to install the libraries in $LMC_HOME. Since we want all machines to be able to access these libraries, they should be installed on one of the network drives. Plus, only the network drives have enough space to hold all the libraries, which are going to total around 1GB. So change LMC_HOME to s:\Smartmodels (create this directory first). Next, change to the cdrom/pcnt directory and double-click on sl_admin.exe. This will start the installation program.

Click on the "Install" button on the left side of the window. Give the location of the cdrom directory, in our case U:\users\maryh\synopsys\cdrom. Click on the "Add All" button in the window and then OK to start the installation. As with the unix version, this takes quite a bit of time to complete. When finished, save the transcript of the session (though it's not absolutely necessary) and quit the program.

Finally, to get everything working properly, the following environment variables should be set for all users.

LMC_HOME=s:\smartmodels
LM_LICENSE_FILE add 27000@impulse
PATH add %LMC_HOME%\bin

Finally, Quartus requires one change (though probably more will be forthcoming) to use the smartmodels. Edit the file c:\WINNT\quartus.ini and add the following line:

write_smartmodels_vho=ON