defparam assignments found inside a generate block were being stored in the enclosing module scope. They should be stored in the generate block scope.
In passing, I've also removed the genvar list from the PGenerate class, as this is now declared in the base LexicalScope class.
Patches for both devel and v0.9 attached, along with a regression test to add to the test suite. The test doesn't need any special compiler flags or a gold file.
Log in to post a comment.