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.
Proposed patch for devel
Proposed patch for v0.9
Regression test for test suite
I'm going to apply and push these shortly.
One note on the copyright statements. We have in the past just made these ranges instead of marking individual years for example 2006-2010,2012 would be 2006-2012.
These have been applied.