Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#920 integer function setting localparam fails

devel
closed-fixed
nobody
None
5
2013-02-04
2013-02-02
Keith Vertrees
No

commit bcc7973792e1a9088106b9e59b6f7995b2455bc5

iverilog fails to compile a module that uses an integer function to set the values of localparams.

1 Attachments

Discussion

  • I have confirmed that this fails in devel. A "sorry" message is generated, indicating missing functionality. I will take a look at adding the necessary functionality.

    V0.9 does not support constant user functions, and correctly generates a "sorry" message indicating this.

     
  • I have submitted a patch on the patch tracker that adds the necessary functionality for this test case. Note that support for constant user functions is not yet complete - I will work on filling in the gaps.

     
  • Cary R.
    Cary R.
    2013-02-04

    • status: open --> closed-fixed
     
  • Cary R.
    Cary R.
    2013-02-04

    I have applied the patches Martin submitted and this should be fixed in the latest development from git.