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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 1476|回复: 0

[求助] systemC could not run certain training material

[复制链接]
发表于 2018-1-13 11:47:25 | 显示全部楼层 |阅读模式

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

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

x
I tried to run all the systemC codes in
http://www.asic-world.com/systemc/tutorial.html
but when I got the codes under
Verification Using SystemC

I had a lot of problem:
g++ -I. -I/usr/local/scv-2.0.0/include -I/usr/local/systemc-2.3.1/include -L. -L/usr/local/systemc-2.3.1/lib-linux64 -Wl,-rpath=/usr/local/systemc-2.3.1/lib-linux64 -o scv_extensions scv_extensions.cpp -lsystemc -lm

/tmp/ccO3XuBg.o: In function `sc_main':
scv_extensions.cpp.text+0x47): undefined reference to `_scv_extension_type_int::get_bitwidth() const'
scv_extensions.cpp.text+0xb1): undefined reference to `_scv_out_p'
scv_extensions.cpp.text+0xc7): undefined reference to `_scv_extension_util::print(std:stream&, int, int) const'


while the last one sc_fifo.cpp
g++ -I. -I/usr/local/scv-2.0.0/include -I/usr/local/systemc-2.3.1/include -L. -L/usr/local/systemc-2.3.1/lib-linux64 -Wl,-rpath=/usr/local/systemc-2.3.1/lib-linux64 -o sc_fifo sc_fifo.cpp -lsystemc -lm
had no problem

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

本版积分规则

关闭

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

×

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

GMT+8, 2024-5-9 05:31 , Processed in 0.017739 second(s), 7 queries , Gzip On, Redis On.

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