微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微电子和IC设计 > IC验证交流 > 有人在vcs2006下成功编译UVM库吗?

有人在vcs2006下成功编译UVM库吗?

时间:10-02 整理:3721RD 点击:
我的老报错啊。
红色部分不知为何是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

修改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

看不懂

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top