Currently systemc-clang requires there to be a 'main()' as its starting point for finding module instances. It is often the case that the top-level module declaration is the only one required. There should be a way to specify this. Within this top-level module, there can be instantiations of other modules.
Commit 07ca17f2185b9a55d146bf804e8a09b69be8fdfd prepares the tool to receive the top-level module from the command line. This is pushed all the way through to the consumer. The option is --top-module.
Currently systemc-clang requires there to be a 'main()' as its starting point for finding module instances. It is often the case that the top-level module declaration is the only one required. There should be a way to specify this. Within this top-level module, there can be instantiations of other modules.