#1241 Fix elaboration order in generate blocks

v0.9-branch
closed-accepted
nobody
5
2012-07-01
2012-06-11
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

  • Martin Whitaker

    Martin Whitaker - 2012-06-11

    Regression test for test suite

     
    Attachments
  • Stephen Williams

    Applied to git master.

     
  • Stephen Williams

    Also added tests to the regression test suite.

     
  • Stephen Williams

    • milestone: 530241 --> v0.9-branch
    • status: open --> open-accepted
     
  • Stephen Williams

    • status: open-accepted --> closed-accepted
     
  • Stephen Williams

    Applied to git v0_9-branch.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks