Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1241 Fix elaboration order in generate blocks

v0.9-branch
closed-accepted
nobody
5
2012-07-01
2012-06-11
Martin Whitaker
No

Currently, localparam declarations inside generate blocks are elaborated after any nested generate constructs are elaborated. This prevents the localparams being used by the nested constructs. Reversing the elaboration order fixes this bug.

Attached are patches for devel and for v0.9, and a regression test for the test suite. The regression test doesn't need any special flags or a gold file.

Discussion

  • Regression test for test suite

     
    Attachments
  • Applied to git master.

     
  • Also added tests to the regression test suite.

     
    • milestone: 530241 --> v0.9-branch
    • status: open --> open-accepted
     
    • status: open-accepted --> closed-accepted
     
  • Applied to git v0_9-branch.