Does it absolutely require module references for that?
I do not know. You now have as much working experience as I do with Verilog-Perl
. It seems reasonable that Verilog::Netlist
would require you to provide the sub-module definitions (just as all simulators do). OTOH, I can understand why you might want them to be treated like black boxes.
All I can offer is this generic advice:
- Read (and re-read) the POD.
- Try experimenting with more methods and options.
- Start studying the Perl source code. Perhaps the functionality you desire is buried in there. If not, maybe it becomes obvious to you how to alter the source code to do what you want.
- Try browsing (or asking a question on) the CPAN Verilog Discussion forum:
- As a last resort, try contacting the author. There must be some reason CPAN authors provide an email address :)