hspice for linux 安装求助

hspice for linux 安装求助,第1张

How to install Hspice on Linux:

1 download installation files

2 you will get the tar files:

3 First, install the installer. Un-compress the tar files by command: “tar –xvf installer_v2.8.tar.Z”. then you will get a folder “install_bin” and file “install.now” “setup.sh”.

4 change to “root” and create folder for where you want to install it. Example: create folder “tools” under “/” path.

5 go to the path “~/linux_installer” and run “setup.sh” with “root”

6 during installing, specify the source path for SCL.

7 After install, you will get a folder like “11.4(basic on your scl version)” under you installed path.

8 go to the path “~/linux_installer” and run “setup.sh” with “root” again. And specify the path “linux_version” to install Hspice

9 remember to modify the installed path again.

10 wait to install… after install, you will see below message:

11 set floating license variable “SNPSLMD_LICENSE_FILE”.

解决方案是

1. 用which查找hspice调用的文件,应该在hspice安装路径下的bin里的“hspice”,比如“hspice_vE-2010.12-SP2/hspice/bin/hspice",这是一个csh脚本

2. 用vim打开这个csh脚本,找到以下几行把它们注释掉即可,大约在202行

if (("$sse" == "") || ($status != 0)) then

echo "Error: SSE2 instruction is not supported on this machine."

echo "HSPICE has adopted SSE2 instruction since 2006.09 version."

echo "Please review the release note for more detailed information."

exit 1

endif

原因可能是sse这个变量太长了。

另一个方法是

如果你是32位linux,那么可以直接调用hspice的可执行文件来仿真,而不要用它默认的bin下hspice csh脚本,比如在.cshrc中加上一个alias语句

alias hspice $hspice_install_dir/hspice/linux/hspice

但这样做有个缺点是仿真时不能调用veriloga。


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/7405395.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-05
下一篇2023-04-05

发表评论

登录后才能评论

评论列表(0条)

    保存