|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
各位大侠,新建立好的VCS仿真环境,用来入门学习UVM。想跑一下UVM自带的例子,确定好不好使,果不其然,出了问题,而且小弟搞不定(不要鄙视,我虚心求教,如果有愿意帮助的,还请说详细些),下面是LOG,UVM自带的hello_world的例子:
vcs -sverilog -timescale=1ns/1ns +acc +vpi +define+UVM_OBJECT_MUST_HAVE_CONSTRUCTOR +incdir+../../../src ../../../src/uvm.sv ../../../src/dpi/uvm_dpi.cc -CFLAGS -DVCS +incdir+. \
hello_world.sv
Chronologic VCS (TM)
Version J-2014.12-SP1 -- Mon Oct 19 08:48:55 2015
Copyright (c) 1991-2014 by Synopsys Inc.
ALL RIGHTS RESERVED
This program is proprietary and confidential information of Synopsys Inc.
and may be used and disclosed only as authorized in a license agreement
controlling such use and disclosure.
Parsing design file '../../../src/uvm.sv'
Parsing included file '../../../src/uvm_pkg.sv'.
////////中间都是类似上面的处理,没问题
Back to file 'hello_world.sv'.
Top Level Modules:
hello_world
TimeScale is 1 ns / 1 ns
Starting vcs inline pass...
4 modules and 0 UDP read.
However, due to incremental compilation, only 1 module needs to be compiled.
recompiling package vcs_paramclassrepository because:
This module or some inlined child module(s) has/have been modified.
make[1]: Entering directory `/home/shen/WORKSPACE/VCS/uvm-1.1d/examples/simple/hello_world/csrc'
rm -f _csrc*.so linux_scvhdl_*.so pre_vcsobj_*.so share_vcsobj_*.so
ld -m elf_i386 -shared -o .//../simv.daidir//_csrc0.so amcQwB.o
rm -f _csrc0.so
if [ -x ../simv ]; then chmod -x ../simv; fi
g++ -o ../simv -m32 -Wl,-rpath-link=./ -Wl,-rpath='$ORIGIN'/simv.daidir/ -Wl,-rpath='$ORIGIN'/simv.daidir//scsim.db.dir uvm_dpi.o _5158_archive_1.so _prev_archive_1.so _csrc0.so SIM_l.o _csrc0.so rmapats_mop.o rmapats.o rmar.o rmar_llvm_0_1.o rmar_llvm_0_0.o /home/shen/program/vcs/vcs/linux/lib/libzerosoft_rt_stubs.so /home/shen/program/vcs/vcs/linux/lib/libvirsim.so /home/shen/program/vcs/vcs/linux/lib/liberrorinf.so /home/shen/program/vcs/vcs/linux/lib/libsnpsmalloc.so /home/shen/program/vcs/vcs/linux/lib/libvcsnew.so /home/shen/program/vcs/vcs/linux/lib/libuclinative.so -Wl,-whole-archive /home/shen/program/vcs/vcs/linux/lib/libvcsucli.so -Wl,-no-whole-archive ./../simv.daidir/vc_hdrs.o /home/shen/program/vcs/vcs/linux/lib/vcs_save_restore_new.o /home/shen/program/vcs/vcs/linux/lib/ctype-stubs_32.a -ldl -lc -lm -lpthread -ldl
find: invalid predicate `-delete'
make[1]: [product_timestamp] Error 1 (ignored)
../simv up to date
make[1]: Leaving directory `/home/shen/WORKSPACE/VCS/uvm-1.1d/examples/simple/hello_world/csrc'
CPU time: 10.650 seconds to compile + .077 seconds to elab + .404 seconds to link
./simv +UVM_VERBOSITY=UVM_LOW -l vcs.log
Command line: ./simv +UVM_VERBOSITY=UVM_LOW -l vcs.log
*** glibc detected *** corrupted double-linked list: 0x09fd8bd0 ***
sh: line 1: 5288 Aborted /usr/bin/gdb -n --batch -x /tmp/.stack_annotator_gdb_cmd_file_vU2Zrw ./simv 5285 </dev/null >&/tmp/.stack_annotator_gdb_output_file_brdXhT
我开始以为是G++的问题,RHDL4系统自带的G++是3.4.3版本的,费了老大的劲儿,把GCC升级到4.4.5,还是报同样的问题,而且看错误提示,也没思路,只能求助了 |
|