Jump to content

rkrara

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Hi, Thanks for your reply. Could you please re write me the second example (counter) on the same link above. Actually the hello world program worked as it is from that link.
  2. Hi, I am new to systemC. I was trying to run this example code from this link but there is an error I cant resolve. Can you please help. This is the errors I get. first_counter_tb.cpp: In function ‘int sc_main(int, char**)’: first_counter_tb.cpp:17: error: no matching function for call to ‘sc_start(int)’ /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:106: note: candidates are: void sc_core::sc_start() /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:173: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:109: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:115: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) first_counter_tb.cpp:32: error: no matching function for call to ‘sc_start(int)’ /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:106: note: candidates are: void sc_core::sc_start() /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:173: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:109: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:115: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) first_counter_tb.cpp:34: error: no matching function for call to ‘sc_start(int)’ /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:106: note: candidates are: void sc_core::sc_start() /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:173: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:109: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:115: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) first_counter_tb.cpp:40: error: no matching function for call to ‘sc_start(int)’ /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:106: note: candidates are: void sc_core::sc_start() /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:173: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:109: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:115: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) first_counter_tb.cpp:42: error: no matching function for call to ‘sc_start(int)’ /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:106: note: candidates are: void sc_core::sc_start() /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:173: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:109: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:115: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) first_counter_tb.cpp:48: error: no matching function for call to ‘sc_start(int)’ /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:106: note: candidates are: void sc_core::sc_start() /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:173: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:109: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:115: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) first_counter_tb.cpp:50: error: no matching function for call to ‘sc_start(int)’ /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:106: note: candidates are: void sc_core::sc_start() /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:173: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:109: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:115: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) first_counter_tb.cpp:56: error: no matching function for call to ‘sc_start(int)’ /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:106: note: candidates are: void sc_core::sc_start() /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:173: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:109: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:115: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) first_counter_tb.cpp:58: error: no matching function for call to ‘sc_start(int)’ /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:106: note: candidates are: void sc_core::sc_start() /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:173: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:109: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc-2.3.0/include/sysc/kernel/sc_simcontext.h:115: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) I have ubuntu 10.10 system with SystemC 2.3.0 Thanks.
×
×
  • Create New...