Installing 0-In in CentOS 5.3

本文详细介绍了在CentOS环境下安装并破解ModelSim的步骤,包括使用wine模拟环境、安装必要的软件包、设置环境变量、运行Makefile以启动GUI界面。同时,提供了遇到问题时的解决方案,如安装flex版本、配置Wine环境等。

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:

转载于:https://www.cnblogs.com/design-LOGIC/p/3642425.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值