Quantcast
Channel: SystemC Language Forum RSS Feed
Viewing all articles
Browse latest Browse all 595

Error (E529) at sc_start()

$
0
0

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


Viewing all articles
Browse latest Browse all 595

Trending Articles