Closed sjalloq closed 4 years ago
Sorry, but link_read_nonfatal is the only way to do this at present. Since Verilog-Perl does not do elaboration, it can't know what modules are used or not used based on parameters.
Perhaps if your design uses mostly synthesis constructs you can use Verilator --xml output instead (see it's examples directory).
Closing as answered, feel free to ask additional questions if needed.
Hi,
I'm trying to use vhier to build an XML tree of a design but I'm seeing errors for missing modules that are actually parameterised out. You have the link_read_nonfatal option but I don't want to use this. I want errors for missing modules that are used in the design. What's the flow for using vhier when a module, mod_b, isn't in the tree?