anikau31 / systemc-clang

This is a Clang tool that parses SystemC models, and synthesizes Verilog from it.
Other
74 stars 19 forks source link

CommonOptionsParser should allow specifying top-level module. #11

Closed rseac closed 4 years ago

rseac commented 4 years ago

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.

rseac commented 4 years ago

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.