Modelsim SE-64 10.4和LP Wizard 10.5共存

本文原地址 https://www.cnblogs.com/jacob1934/p/10574077.html

【先来个免责声明,我是个人用,依照我国法律,可以不缴纳授权费】

这两个产品都是MENTOR公司的产品,破解都需要设置MGLS_LICENSE_FILE环境变量,两个软件的授权文件都是纯文本文件,而且格式一样,只要

  【【将两个软件的授权文件合并】】

就可以共存了。

####################################

这两个软件的授权保护机制都依赖于网卡ID和硬盘ID,所以,最好在安装前拔掉USB网卡、禁用wifi,而且在以后不能禁用有线网卡。当然出了问题,重新安装和破解就是了。

#####################################

这两个软件的安装目录都不能有空格或者英文以外的字符。

【1】安装LP Wizard 10.5后,将MentorKG.exe(版本11.4.1.0,大小1397KB)放到安装目录下,比如c:\MentorGraphics\10.5LPW\,然后在当前目录打开cmd,执行

.\MentorKG.exe -o .\LICENSE.txt -patch .

【2】安装Modelsim SE-64 10.4后,将MentorKG.exe(版本号11.4.0.0,大小1398KB)放到安装目录下的win64中,比如c:\MentorGraphics\modeltech64_10.4\win64,然后在该目录中打开cmd执行

@echo off
attrib -r mgls.dll
attrib -r mgls64.dll
.\MentorKG.exe -patch . -o ..\LICENSE.txt
attrib +r mgls.dll
attrib +r mgls64.dll

【3】合并两个license.txt。

这两个文件的格式是一样的,开头是#server和#vendor,然后是版权声明、格式变更,然后是

# --------------------------------------------------------------------
#
#                      IMPORTANT NOTICE TO YOU!!
#
# This  license is  MEANT SOLELY  to allow  YOU to  use these costly EDA
# tools for YOUR PERSONAL LEARNING AND SKILL IMPROVEMENT.
#
# Any commercial or professional use is unfair to everybody,  resulting
# only in tighter security and  NO real gain in software  productivity,
# as we have seen it happen, over and over, all these past years...
#
# If you need this  tool for your daily  work, consider buying it.  You
# must earn money from YOUR WORK! Use your talents...
#
# --------------------------------------------------------------------
#
# -------------------------------------------------------------------- # Station Features # --------------------------------------------------------------------
INCREMENT ....
INCREMENT ....

只要把 INCREMENT 部分从一个文件复制粘贴到另一个文件的尾部,直接保存或另存就行。

【4】设置环境变量 MGLS_LICENSE_FILE

比如我这里是 c:\MentorGraphics\LICENSE.txt

猜你喜欢

转载自www.cnblogs.com/jacob1934/p/10574077.html