Jump to content

hadjer

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. thank you very much for your answer but this error appeared to me in Sev example, even in the compilation of the model given in this link and also in the compilation of another example. PS: SystemC is installed correctly
  2. Bonjours, I am new to systemC and i have ubuntu 12.04 and systemc 2.3 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. test_shift.cpp:51:16: error: no matching function for call to `sc_start(int)' test_shift.cpp:51:16: note: candidates are: /usr/local/systemc/include/sysc/kernel/sc_simcontext.h:106:13: note: void sc_core::sc_start() /usr/local/systemc/include/sysc/kernel/sc_simcontext.h:106:13: note: candidate expects 0 arguments, 1 provided /usr/local/systemc/include/sysc/kernel/sc_simcontext.h:173:17: note: void sc_core::sc_start(const sc_core::sc_time&, sc_core::sc_starvation_policy) /usr/local/systemc/include/sysc/kernel/sc_simcontext.h:173:17: note: no known conversion for argument 1 from `int' to `const sc_core::sc_time&' /usr/local/systemc/include/sysc/kernel/sc_simcontext.h:109:13: note: void sc_core::sc_start(int, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc/include/sysc/kernel/sc_simcontext.h:109:13: note: candidate expects 3 arguments, 1 provided /usr/local/systemc/include/sysc/kernel/sc_simcontext.h:115:13: note: void sc_core::sc_start(double, sc_core::sc_time_unit, sc_core::sc_starvation_policy) /usr/local/systemc/include/sysc/kernel/sc_simcontext.h:115:13: note: candidate expects 3 arguments, 1 provided make: *** [test_shift.o] Error 1 Thanks.
×