Verilator generates multiple cpp files, if there are multiple modules in a Verilog file. At the moment only the main module is compiled and linked into the Rust binary. This PR adds support for detecting other modules and linking them.
I have verified that the example still works with this PR.
I just started using this library and noticed this issue; I was about to come and see about fixing it but it looks as though you have done the work for me. Thank you!
Verilator generates multiple cpp files, if there are multiple modules in a Verilog file. At the moment only the main module is compiled and linked into the Rust binary. This PR adds support for detecting other modules and linking them.
I have verified that the example still works with this PR.