Jump to content

foobar42

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. foobar42

    Using a module inside another SC_MODULE

    Hi Philipp, that did the trick for me. Thank you!
  2. Hi, I'm new to SystemC and fail to use a SC_MODULE in another SC_MODULE. My code looks somewhat like this: SC_MODULE(module0) { ... }; SC_MODULE(module1) { module0 mod0("mod0"); ... }; When I want g++ to compile this, it bails out with the following error message: sd_adder.h:19: error: expected identifier before string constant sd_adder.h:19: error: expected ‘,’ or ‘...’ before string constant Is it somehow possible to use modules in other modules?
×