Installing 0-In in CentOS 5.3
1. Install ./V3.0.Linux_mib.ixl, this step is similar to installation in Windows.
2. C$rack 0-In as the *.rar file indication, then cr#ack modelsim which is embedded in it.
3. set environment variable in .cshrc file, The .cshrc file is located in directory /home. use 'gedit .cshrc' command in Terminal.
copy the following lines in it:
setenv HOME_0IN install_directory/linux_x86_64 (64bit)
#setenv HOME_0IN install_directory/linux (32bit)
set path=($HOME_0IN/bin $path)
set path=($HOME_0IN/modeltech/linux_x86_64 $path) (64bit)
#set path=($HOME_0IN/modeltech/linux $path) (32bit)
Note: replace install_directory with your name of install directory.
4. find the example projects in installation directory, then run makefile script directly. Now you will see 0-In GUI. Enjoy your happy trip!
Now I will explain how to C&rack modelsim in CentOS.
If you can't run MentorKG.exe, then you need to install wine firstly. What is wine? Google it :)
a. run 'yum update' command in Terminal, then CentOS will download several needed files. Maybe about 300 files. The whole process will consume almost an hour.
b. when CentOS have downloaded all files and the Terminal returns to command line mode, run 'yum install wine'
c. If it shows can't find wine files, you will need to download a new version from http://www.winehq.org. Such as this one:
http://prdownloads.sourceforge.net/wine/wine-1.6.2.tar.bz2
d. Extract it in user directory.
e. Enter the extracted directory of Wine from terminal. Then run './configure' in terminal.
Maybe it will show you following information "configure: error: Your flex version is too old. Please install flex version 2.5.33 or newer."
f. If such information occurs, install a new version of flex.
1) check your own flex version: run ‘flex --version’
2) If it shows 'No Packages marked for Update', download a new version from such as ‘http://linux.softpedia.com/get/Programming/Interpreters/Flex-23296.shtml’. I downloaded 'flex-2.5.38.tar.bz2'
3) run 'tar jxvf flex-2.5.38.tar.bz2' to install it.
4) Enter directory 'flex-2.5.38'
5) run './configure'
6) After that, enter directory of wine, such as wine-1.6.2, then run './configure'
7) There maybe notes that you need X development files, install it with ' yum -y groupinstall "X Software Development" ' command, this will take about 20 minutes. Be patient.
8) run './configure' again.
9) run 'make'
10) run 'make install', this will take about an hour.
You can run 'wine --version' to check the version of Wine. My PC shows 'wine-1.6.2' after I input this command.
(Refer to link: http://opkeep.com/system/linux/centos-wine.html)
After above steps, check whether your Modelsim c$racked right or not.
Enter /0-in/linux/modeltech/bin/ directory with command 'CD'
run './vsim' command
If it shows the following information:
[root@localhost bin]# ./vsim
Unable to find the license file. It appears that your license file environment variable (e.g., LM_LICENSE_FILE) is not set correctly.
Unable to checkout a license. Vsim is closing.
** Fatal: Invalid license environment. Application closing.
It means your tool is not correctly cr$acked.
If your software has been successfully cr#a$cked, input './0in' in the bin directory of installation. Then the following picture will be shown:
If your simlation software has been successfully cr@#ac#ked, input 'vsim -version', you will see the following similar figure:
If it is not cracked successfully, when you run './vsim' in its /bin directory,you will see the following similar figure: