SourceForge has been redesigned. Learn more.
Close

#920 integer function setting localparam fails

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

commit bcc7973792e1a9088106b9e59b6f7995b2455bc5

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

1 Attachments

Discussion

  • Martin Whitaker

    Martin Whitaker - 2013-02-02

    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.

     
  • Martin Whitaker

    Martin Whitaker - 2013-02-03

    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.

     

Log in to post a comment.