Error: cannot find /home/modelsim/modeltech/bin/../linux rh60/vsim的解决办法
这中错误主要出现在Linux kernel 3.0以上的linux系统中,比如我自己用的是xubuntu12.04,解决的办法很简单:
把modeltech目录下的vco文件的198行开始的部分做如下修改:
else
case $utype in
2.4.[7-9]*) vco="linux" ;;
2.4.[1-9][0-9]*) vco="linux" ;;
2.[5-9]*) vco="linux" ;;
2.[1-9][0-9]*) vco="linux" ;;
*) vco="linux_rh60" ;;
esac
修改为:
else
case $utype in
2.4.[7-9]*) vco="linux" ;;
2.4.[1-9][0-9]*) vco="linux" ;;
2.[5-9]*) vco="linux" ;;
2.[1-9][0-9]*) vco="linux" ;;
3.[0-9]*) vco="linux" ;;
*) vco="linux_rh60" ;;
esac
就可以了。(注意加粗的那行)