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

#1234 Allow specparam declarations outside specify blocks

closed-accepted
nobody
5
2012-05-17
2012-05-06
Martin Whitaker
No

This patch extends the compiler to support all specparam declarations allowed by the 1364-2005 standard. For compatibility with other simulators, it allows specparam values to be used in any constant expression, but outputs a warning message and disables run-time annotation of a specparam if it is used in an expression that must be evaluated at compile time.

Annotation of specparam values is not yet supported.

Also attached are a couple of new regression tests for the test suite. These need no special compiler flags or gold files.

Discussion

  • Regression tests

     
    Attachments
    • status: open --> closed-accepted
     
  • Applied to git master.