在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
楼主: dogor1

[原创] Xcelium/Jaspergold License

[复制链接]
发表于 2020-4-16 22:12:15 | 显示全部楼层
thanks for sharing
发表于 2020-5-5 13:28:50 | 显示全部楼层
看看
发表于 2020-5-6 20:37:35 | 显示全部楼层
thanks for sharing

发表于 2020-6-21 00:22:10 | 显示全部楼层
thanks for sharing
发表于 2020-6-21 00:37:40 | 显示全部楼层
너무 감사합니다.
发表于 2020-7-17 13:37:25 | 显示全部楼层
谢谢楼主   
发表于 2020-7-18 18:00:58 | 显示全部楼层
本帖最后由 yeeeeman 于 2020-7-19 14:55 编辑

Can anyone explain start to finish what it needs to be done?What I have done:
1. downloaded and installed XCELIUM 1903 base using Iscape.
2. patched installation using patcher (./cadence.sh <path_to_xcelium.../XCELIUM1903>
3. generated license file using the generator in this topic in windows and then copied license.dat in a linux location and pointed env variable LM_LICENSE_FILE to the path <><path_to_license.../license.dat>

When  run a simulation using xrun I get the following:
Trying to check out license...        Xcelium_Limited_Single_Core 19.00-Failed        Xcelium_Single_Core 19.00-Failed        Xcelium_Safety 19.00-Failed        Xcelium_Multi_Core 19.00-Failed        Xcelium_For_Partners 19.00-Failedxmsim: *F,NOLICN: Unable to checkout license for the simulation.'lic_error -96'
发表于 2020-8-17 18:17:17 | 显示全部楼层
有patch吗?
发表于 2020-8-21 01:51:42 | 显示全部楼层
谢谢分享 谢谢分享 谢谢分享
 楼主| 发表于 2020-8-21 11:45:26 | 显示全部楼层
Since I can't edit my onw post (how I could do that?), I'll explain the process in a new reply.
  • Install Exceliumor Jaspergold using Install Iscape. Remember the directory that you selected during the installation.
  • Dowunload the archive attached on this post. Extract it.

To patch the software:
  • Inside the extracted directory, execute the command ./sfk rep -bylist cadence.pat -nowarn -yes -dir <THE_DIRECTORY_OF_EXCELIUM_OR_JASPERGOLD>. For example, if my installation dir was ~/EDA/SIM/xcellium19/XCELIUM1909, the command will be: ./sfk rep -bylist cadence.pat -nowarn -yes -dir  ~/EDA/SIM/xcellium19/XCELIUM1909
  • There is an script called cadence_patch.sh that does exactly the same, and the only argument that the script expects is the path of the installation directory. Therefore it can be used as follows: ./cadence_patch.sh ~/EDA/SIM/xcellium19/XCELIUM1909. Use one method or another, bot 2 and 3 does exactly the same.
  • Please make sure that the file cadence.pat contains the following strings as is, do not change or edit something if you don't want to screw it up. Do this before running the command in pint 2 or 3.
:binary
/5589E557565381ECD00000008B5508/31C0C357565381ECD00000008B5508/
:binary
/5589E557565381ECD8000000E8000000005B81C3/33C0C357565381ECD8000000E8000000005B81C3/
:binary
/41574989FF415641554154554889CD534489C3/33C0C389FF415641554154554889CD534489C3/



Ignore writting permission errors, there are files that cannot be patched but that doesn't matter. When this is done, continue with the license generation.


License generation:
  • You will need Wine with support of 64 bits executables. If you, like myself, are using RHEL7/8 you will need to compile it, because the wine in the yum repos doesn't work for some reason. I'm using wine 5.0 compiled from sources.
  • After nstalling wine, just run the following command: wine lmcrypt_cdslmd.exe -i all.dat -o license.dat -verfmt 6 -r
  • The file license.dat" is created. Open it, and check that you have the following data in teh first 3 lines of the file:
  • The SERVER string followed by your hostname, your host mac and TCP port. If my hostname is "potato" and my mac is 12:34:56:78:91:11, then the first line will looks as follows (the number in red is the port, do not change it): SERVER potato 123456789111 5280
  • Second line is the daemon, and should looks as follows (please make sure that you are pointing to the correct  cdslmd binary, this is needed for the license server): DAEMON cdslmd $EXCELIUM_INSTALLATION/Linux64/bin/cdslmd
  • Finally, the string USE_SERVER, and that's it, the license is just fine:


As an example, see the first 9 lines of my license,dat file, below:
SERVER potato 123456789111 5280
DAEMON cdslmd /home/Titan/Cadence/Formal/Jaspergold/jasper_2017.12p002/Linux64/bin/cdslmd
USE_SERVER
FEATURE 100 cdslmd 1000.000 permanent uncounted 6DC40D3C5C0033286C4A \
        VENDOR_STRING=Team_EFA_2006 HOSTID=ANY ck=5 SIGN2="0365 881D \
        3CB3 F622 A534 8ACB 6B6B 079F 7151 5CD7 6A46 741D 8966 EFB2 \
        45A4 1967 8D58 E093 B0D8 DF3C D7D7 C1ED B438 D158 63F8 5862 \
        1F1C 2A74 760B B813"



Finalising:
Finally, add the variable CDS_LIC_FILE to your bashrc (and others that are usefull as well), pointing to the license.dat file:
cat ~/.bashrc:
export CDS_LIC_FILE="/home/Titan/license.dat"
export CDS_AUTO_64BIT=ALL
export CDS_AUTO_32BIT=NONE
export LANG=C
If you are not using bash, but another interpreter such as csh, zsh, etc, just put the same variables in the corresponding file. For example, in zsh is ~/.zshrc


Test it:
Use any test, like this one:
module top;
        initial $display("Hello world");
endmodule


Compile and run it:
xmverilog top.sv


See the result:
xmverilog(64): 19.09-s001: (c) Copyright 1995-2019 Cadence Design Systems, Inc.
file: top.sv
        module worklib.top:sv
                errors: 0, warnings: 0
                Caching library'worklib' ....... Done
        Elaborating the design hierarchy:
xmelab: *W,DSEMEL: This SystemVerilog design will be simulated as per IEEE 1800-2009 SystemVerilog simulation semantics. Use -disable_sem2009 option for turning off SV 2009 simulation semantics.
        Building instance overlay tables: .................... Done
        Generating native compiled code:
                worklib.top:sv <0x702583a8>
                        streams: 1, words: 661
        Building instance specific data structures.
        Loading native compiled code: .................... Done
        Design hierarchy summary:
                         Instances Unique
                Modules: 1 1
                Initial blocks: 1 1
        Writing initial simulation snapshot: worklib.top:sv
Loading snapshot worklib.top:sv .................... Done
xmsim: *W,DSEM2009: This SystemVerilog design is simulated as per IEEE 1800-2009 SystemVerilog simulation semantics. Use -disable_sem2009 option for turning off SV 2009 simulation semantics.
xcelium> source ../EDA/SIM/xcellium19/XCELIUM1909/tools/xcelium/files/xmsimrc
xcelium> run
Hello world
xmsim: *W,RNQUIE: Simulation is complete.
xcelium> exit
TOOL:         xmverilog       



您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条


小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-12-29 03:17 , Processed in 0.036752 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表