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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4635|回复: 4

[求助] 【UVM】【VCS】 有人在vcs2006下成功编译UVM库吗?

[复制链接]
发表于 2011-5-6 12:14:39 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
我的老报错啊。
红色部分不知为何是IUS的。 很奇怪。

make TOOL=vcs
gcc -shared -fPIC -DVCS -I /cadtools/synopsys/vcs/Y-2006.06-SP2/include -m32 -o /project/R1.0/UVM/uvm-1.0p1/lib/Linux_x86_64/libuvm_ius.so ./src/dpi/uvm_hdl.c
./src/dpi/uvm_hdl.c:29: error: syntax error before string constant
./src/dpi/uvm_hdl.c:52: warning: initialization makes integer from pointer without a cast
./src/dpi/uvm_hdl.c:52: error: initializer element is not constant
./src/dpi/uvm_hdl.c:52: warning: data definition has no type or storage class
./src/dpi/uvm_hdl.c:53: error: syntax error before "if"
./src/dpi/uvm_hdl.c:56: error: syntax error before '&' token
./src/dpi/uvm_hdl.c:56: error: conflicting types for 'vpi_get_value'
/cadtools/synopsys/vcs/Y-2006.06-SP2/include/vpi_user.h:768: error: previous declaration of 'vpi_get_value' was here
./src/dpi/uvm_hdl.c:56: error: conflicting types for 'vpi_get_value'
/cadtools/synopsys/vcs/Y-2006.06-SP2/include/vpi_user.h:768: error: previous declaration of 'vpi_get_value' was here
./src/dpi/uvm_hdl.c:56: warning: data definition has no type or storage class
./src/dpi/uvm_hdl.c:395: error: syntax error before '}' token
 楼主| 发表于 2011-5-6 12:23:18 | 显示全部楼层
回复 1# yzt000000

修改bin下uvm_dpi_name文件后仍然报错

    gcc -shared -fPIC -DVCS -I /cadtools/synopsys/vcs/Y-2006.06-SP2/include -m32 -o /home/uvm-1.0p1/lib/Linux_x86_64/libuvm_vcs.so ./src/dpi/uvm_hdl.c
./src/dpi/uvm_hdl.c:29: error: syntax error before string constant
./src/dpi/uvm_hdl.c:52: warning: initialization makes integer from pointer without a cast
./src/dpi/uvm_hdl.c:52: error: initializer element is not constant
./src/dpi/uvm_hdl.c:52: warning: data definition has no type or storage class
./src/dpi/uvm_hdl.c:53: error: syntax error before "if"
./src/dpi/uvm_hdl.c:56: error: syntax error before '&' token
./src/dpi/uvm_hdl.c:56: error: conflicting types for 'vpi_get_value'
/cadtools/synopsys/vcs/Y-2006.06-SP2/include/vpi_user.h:768: error: previous declaration of 'vpi_get_value' was here
./src/dpi/uvm_hdl.c:56: error: conflicting types for 'vpi_get_value'
/cadtools/synopsys/vcs/Y-2006.06-SP2/include/vpi_user.h:768: error: previous declaration of 'vpi_get_value' was here
./src/dpi/uvm_hdl.c:56: warning: data definition has no type or storage class
./src/dpi/uvm_hdl.c:395: error: syntax error before '}' token
发表于 2011-11-29 14:52:54 | 显示全部楼层
看不懂
发表于 2018-3-5 23:57:19 | 显示全部楼层
也遇到了问题
发表于 2018-3-5 23:59:16 | 显示全部楼层
还没解决呢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-12-22 23:50 , Processed in 0.024067 second(s), 8 queries , Gzip On, Redis On.

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