Hi,
I'm trying to integrate SystemC into a software project in order to periodically simulate hardware parts. At the entry point of the simulation, I tried a minimalistic example:
SC_MODULE(test){ SC_CTOR(test){}; }; test testObj("test"); sc_start(1, SC_US); // this is where the error occurs
Ther error message is Error (E529) insert module failed runninIn file ../../src/sysc/kernel/sc_module_registry.cpp:47" thrown in the test body.
I tried utilizing sc_main and played around with sc_elab_and_sim() a bit, but it doesn't seem to make a difference.
Thanks in advance,
Markus