#948 user-func call may return incorrect value in a CA context

v0.9
open
nobody
None
6
2014-03-02
2014-03-01
Cary R.
No

When a user function is called in a continuous assignment and the user function has a named block an incorrect (the previous) value is returned. See the attached code for more specific details regarding the failure. This is causing one of the vlog95 tests to fail.

I am marking this high priority since it is returning an incorrect value and cannot be worked around.

Both development and V0.9 this failure.

1 Attachments

Discussion

  • I've taken a look at this and think I can see how to fix it. If you haven't already started work on it yourself, you can assign it to me.

     
  • Cary R.
    Cary R.
    2014-03-01

    Go for it. I am completely consumed with other things at the moment. I just debugged the problem and didn't see a simple fix so posted the example hoping someone else would have time to look at it. I have assigned this to you.

     
  • Cary R.
    Cary R.
    2014-03-01

    • assigned_to: Martin Whitaker
     
  • I've pushed a fix for this to the git master branch. I'm not back-porting anything to v0.9 at the moment, as I'm only just keeping up with the bugs in devel.

     
    • assigned_to: Martin Whitaker --> nobody
    • Group: devel --> v0.9
    • Priority: 7 --> 6