Jump to content

shanh

Members
  • Content count

    4
  • Joined

  • Last visited

  1. SystemC 2.3.2 Public Review Now Open

    Hi, I am using the flag g++ -std=c++11 but still the same issue
  2. SystemC 2.3.2 Public Review Now Open

    Hi, While running a custom library under SystemC 2.3.2, I am getting the following error. In function `__static_initialization_and_destruction_0': /sc_ver.h:179: undefined reference to `sc_core::sc_api_version_2_3_2_cxx201103L<&sc_core::SC_DISABLE_VIRTUAL_BIND_UNDEFINED_>::sc_api_version_2_3_2_cxx201103L(sc_core::sc_writer_policy)ยด I looked into this problem and it seems like it is related to the C++ standard. before build SystemC 2.3.2 I configured it: ../configure --prefix=/users/systemc-2.3.2 In make file I am using CXXFLAGS="-DSC_CPLUSPLUS=201103L" for c++11 standard but the error is still the same.
  3. sc_thread vs pthread

    Thanks for you detailed explanation.
  4. sc_thread vs pthread

    Hi, I am new to SystemC. I have two questions. 1) Do sc_thread generates separate Linux thread for each call and what is the difference between the POSIX thread and sc_thread? 2) Why systemC has no parallelization scheme? The SystemC scheduler uses cooperative multitasking and cannot exploit fully the potential of SMP workstation.
×