Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - running systemc with VCS Message Thread: Previous | Next
  • To: "systemc-forum@xxxxxxxxxxxxxxxxx" <systemc-forum@xxxxxxxxxxxxxxxxx>
  • From: Anuj Kumar <Anuj-Kumar@xxxxxxx>
  • Date: Sat, 25 Feb 2012 13:43:36 +0530
Send Email to
Send new message
Reply to this message

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.


Error is



--- Stack trace follows:

Using host libthread_db library "/lib64/tls/".

[Thread debugging using libthread_db enabled]

[New Thread 182992713664 (LWP 29265)]

0x0000003f30f8f5e4 in waitpid () from /lib64/tls/

#0  0x0000002a96e973d7 in SigHandler () from /dvtools/synopsys/vcs-mx_vE-2011.03_64bit/amd64/lib/

#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.




Anuj Kumar

(Software Engineer)

HCL Technologies Ltd.

A-5, Sect.24, Noida

Mob: +91-9891 56 4762





The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.


By Date: Previous | Next Current Thread By Thread: Previous | Next
  • running systemc with VCS, Anuj Kumar  (you are here)