Hi All,
In my environment I have both Verilog and systemC. I am initiating Verilog in systemC module, mean systemC is base. As I need to compile both Verilog and systemC I am using vcs to compile and run the whole environment.
I used vlogan to create systemC wrapper of Verilog module and then I am using syscsim to compile the whole environment .
I am getting error while I am running the executable.
--- Stack trace follows:
Using host libthread_db library "/lib64/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 182992713664 (LWP 29265)]
0x0000003f30f8f5e4 in waitpid () from /lib64/tls/libc.so.6
#0 0x0000002a96e973d7 in SigHandler () from /dvtools/synopsys/vcs-mx_vE-2011.03_64bit/amd64/lib/libvcsfnew.so
#1 <signal handler called>
#2 0x000000000053dead in <module name>::f_wrData () at /fs/src/interfaces/vg_gnu_package/2011.03__created_July_13_2010/linux/gcc-3.4.6_64-static/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.tcc:2443
#3 0x000000000054235e in boost::_mfi::mf0<void, <module name>>::operator() () at /fs/src/interfaces/vg_gnu_package/2011.03__created_July_13_2010/linux/gcc-3.4.6_64-static/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.tcc:2443
#4 0x00000000005422f7 in boost::_bi::list1<boost::_bi::value<<module name>*> >::operator()<boost::_mfi::mf0<void, <module name>>, boost::_bi::list0> () at /fs/src/interfaces/vg_gnu_package/2011.03__created_July_13_2010/linux/gcc-3.4.6_64-static/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.tcc:2443
#5 0x00000000005422b3 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, <module name>>, boost::_bi::list1<boost::_bi::value<<module name>*> > >::operator() () at /fs/src/interfaces/vg_gnu_package/2011.03__created_July_13_2010/linux/gcc-3.4.6_64-static/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.tcc:2443
#6 0x000000000054227d in sc_core::sc_spawn_object<boost::_bi::bind_t<void, boost::_mfi::mf0<void, <module name>>, boost::_bi::list1<boost::_bi::value<<module name>*> > > >::semantics () at /fs/src/interfaces/vg_gnu_package/2011.03__created_July_13_2010/linux/gcc-3.4.6_64-static/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.tcc:2443
#7 0x000000000065db11 in sc_core::sc_process_b::semantics (this=0x1642f00) at vcs_cbug_step_into.cpp:54
#8 0x000000000062907b in sc_core::sc_thread_cor_fn () at /fs/src/interfaces/vg_gnu_package/2011.03__created_July_13_2010/linux/gcc-3.4.6_64-static/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.tcc:2443
#9 0x0000000000000000 in ?? ()
I am using sc_spawn( sc_bind(&<module name> :: <function name>, this) ) in systemC module.
It seems to be some problem with dynamic thread creation.
Can anyone please let me know why I am getting this error and what is the solution.
Regards,
Anuj Kumar
(Software Engineer)
HCL Technologies Ltd.
A-5, Sect.24, Noida
Mob: +91-9891 56 4762
www.hcltech.com
www.hcl.com

