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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 1486|回复: 8

[求助] i2c vip编译问题

[复制链接]
发表于 2023-1-4 14:35:37 | 显示全部楼层 |阅读模式
100资产
请问本人刚接触i2c vip在指定好编译路径include之后,然后加了下面4个编译选项,结果编译的时候还是出现问题,是编译选项的问题吗?class svt_i2c_system_env extends svt_env;                                      |
xmvlog: *E,SVNOTY (../src/sverilog/vcs/svt_i2c_system_env.sv,19|39): Syntactically this identifier appears to begin a datatype but it does not refer to a visible datatype in the current scope.
  svt_i2c_vif vif;           |
xmvlog: *E,NOIPRT (../src/sverilog/vcs/svt_i2c_system_env.sv,25|12): Unrecognized declaration 'svt_i2c_vif' could be an unsupported keyword, a spelling mistake or missing instance port list '()' [SystemVerilog].
  svt_i2c_master_agent master[$];                    |
xmvlog: *E,SVNOTY (../src/sverilog/vcs/svt_i2c_system_env.sv,28|21): Syntactically this identifier appears to begin a datatype but it does not refer to a visible datatype in the current scope.
  svt_i2c_master_agent master[$];                              |
xmvlog: *E,SVPKSN (../src/sverilog/vcs/svt_i2c_system_env.sv,28|31): The single-bound form of a range is only allowed for array (i.e., unpacked) dimensions.
  svt_i2c_master_agent master[$];                            |
xmvlog: *E,EXPIDN (../src/sverilog/vcs/svt_i2c_system_env.sv,28|32): expecting an identifier [3.2][3.8][3.9(IEEE)].
  svt_i2c_slave_agent slave[$];



                               
登录/注册后可看大图

                               
登录/注册后可看大图


 楼主| 发表于 2023-1-4 14:38:18 | 显示全部楼层
之前公司没用过,现在想用,项目比较急如果有人愿意指导如何集成到环境中的话,可以有偿
发表于 2023-1-4 17:29:40 | 显示全部楼层
先跑通VIP自带的example,然后再基于example的命令行做移植
 楼主| 发表于 2023-1-4 18:43:48 | 显示全部楼层


gushenglin 发表于 2023-1-4 17:29
先跑通VIP自带的example,然后再基于example的命令行做移植


谢谢您的指导,麻烦请教一下,我这边example好像有点问题[SCL] Error:  One possible reason for this error is that FLEXlm version of the application is higher than the license daemon version. If this is the case, please upgrade the license daemon to latest version (SCL-602)Fatal License Error.
Internal FLEXlm Error.
license daemon version需要更新,这个不是很懂,您说的基于命令行移植意思是根据编译的内容选择option是吗?

发表于 2023-1-5 16:18:30 | 显示全部楼层
起lic的lmgrd需要用新版的
发表于 2023-1-5 17:29:45 | 显示全部楼层
单纯就图片错误而言,个人感觉是缺少了一些incdir搜索路径(你说已经加了include了?那要具体看看了)
周末可以提供简单支持,交个朋友
发表于 2023-1-6 09:11:38 | 显示全部楼层
有文件少包含了,比如:svt_i2c_vif。
发表于 2023-1-10 17:23:11 | 显示全部楼层


xuxuxu666 发表于 2023-1-4 18:43
谢谢您的指导,麻烦请教一下,我这边example好像有点问题[SCL] Error:  One possible reason for this er ...


你这个vip的example报错,指的是FLEXlm版本比licese daemon版本高;
前者的FLEXlm版本是你的VIP或仿真器的license文件对应feature的版本,就是你的VIP版本/仿真器版本;后者的licese daemon是你的 license加载和管理工具的版本;
简单来说,你的i2c的VIP或者仿真器(大概率是VIP)的license比你的license管理工具还要高(太新了不认识),所以license加载不成功,你得更新一下后者的版本,使得license能成功被认出来;


发表于 2023-1-10 17:27:08 | 显示全部楼层
本帖最后由 qsh123_123 于 2023-1-10 17:28 编辑

另外,原主题帖的这里面的报错,是你的i2c的vip的一大堆源代码库都还没被编译进去,就被提前调用了导致的出错;楼上几个答主回答的可能性都有,有可能是编译的时候没有·include,也有可能是filelist编译的+inc的搜索目录写错,都有可能导致VIP的源代码库没被编译进去;也有可能是filelist里面的编译顺序的问题,你得见VIP的源代码库放在前面,实例化和调用过程的环境代码放在VIP库后面。。。。
当然,根据你后面贴出来的VIP自带的example也报错(license版本不一致),这两个问题是独立的,都要解决才能集成VIP环境。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-5-11 19:55 , Processed in 0.039961 second(s), 6 queries , Gzip On, Redis On.

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