[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: Icarus: about vvm



Hi,
I want to use the vvm of Icarus, although it is not supported in Icarus
v0.8.
I try to build a verilog file to an executable file. Yes, I can get a C++
files correctly at the first step.
But there are so many errors when it translate C++ file to *.exe file. All
of these errors are about function undeclared.
I use the Icarus v0.5 and Linux gcc. The following information is error
report when I build the files.
Do I lost some files? I search in the install folder, these functions just
be called, but not be defined. How could I do? Thanks a lot!

Best wishes,
Chen
===================================================================
"a.out.exe.cc" [dos] 98L, 3461C written

[xkun@localhost chen]$ g++ -o program.o a.out.exe.cc 
/tmp/ccAwdAKV.o: In function `thread1_t_step_0_(vvm_thread *)':
/tmp/ccAwdAKV.o(.text+0x1c): undefined reference to
`vvm_sync::wait(vvm_thread *)'
/tmp/ccAwdAKV.o: In function `thread1_t_step_1_(vvm_thread *)':
/tmp/ccAwdAKV.o(.text+0x42): undefined reference to
`vvm_bitset_t::vvm_bitset_t(unsigned char *, unsigned int)'
/tmp/ccAwdAKV.o(.text+0x59): undefined reference to
vvm_bitset_t::vvm_bitset_t(unsigned char *, unsigned int)'
/tmp/ccAwdAKV.o(.text+0x6e): undefined reference to
`vvm_bitset_t::vvm_bitset_t(unsigned char *, unsigned int)'
/tmp/ccAwdAKV.o(.text+0x85): undefined reference to
`vvm_binop_and(vvm_bitset_t &, vvm_bitset_t const &, vvm_bitset_t const &)'
/tmp/ccAwdAKV.o(.text+0x99): undefined reference to
`vvm_bitset_t:perator[](unsigned int)'
/tmp/ccAwdAKV.o(.text+0xac): undefined reference to
`vvm_nexus::reg_assign(unsigned char)'
/tmp/ccAwdAKV.o(.text+0xc6): undefined reference to
`vvm_bitset_t::~vvm_bitset_t(void)'
/tmp/ccAwdAKV.o(.text+0xd7): undefined reference to
`vvm_bitset_t::~vvm_bitset_t(void)'
/tmp/ccAwdAKV.o(.text+0xe8): undefined reference to
`vvm_bitset_t::~vvm_bitset_t(void)'
/tmp/ccAwdAKV.o(.text+0x121): undefined reference to
`vvm_bitset_t::~vvm_bitset_t(void)'
/tmp/ccAwdAKV.o(.text+0x13a): undefined reference to
`vvm_bitset_t::~vvm_bitset_t(void)'
/tmp/ccAwdAKV.o(.text+0x14d): more undefined references to
`vvm_bitset_t::~vvm_bitset_t(void)' follow
/tmp/ccAwdAKV.o: In function `design_init(void)':
/tmp/ccAwdAKV.o(.text+0x188): undefined reference to `vpip_time_scale'
/tmp/ccAwdAKV.o(.text+0x19f): undefined reference to `vpip_make_scope'
/tmp/ccAwdAKV.o(.text+0x1e1): undefined reference to
`vvm_nexus::connect(vvm_nexus::recvr_t *, unsigned int)'
/tmp/ccAwdAKV.o(.text+0x207): undefined reference to `vpip_make_reg'
/tmp/ccAwdAKV.o(.text+0x21c): undefined reference to `vpip_attach_to_scope'
/tmp/ccAwdAKV.o(.text+0x230): undefined reference to
`vvm_signal_t::init_P(unsigned int, unsigned char)'