Closed sgherbst closed 3 years ago
This issue still seems to be present with sv-parser 0.8.2. I filed an issue about it in that project (https://github.com/dalance/sv-parser/issues/20). For what it's worth, you can work around the issue for now by making the macro a function with a dummy argument, like this:
`define MOD_INST(x) u_mysubmod
module mymod;
mysubmod `MOD_INST(x) ();
endmodule
Example:
Output:
Expected: