remyzorg/pendulum

Improper use of local signal expression value during initialization

remyzorg opened this issue · 0 comments

Problem : If there is any side effect in local signal definition expression, it will be executed when the synchronous program is instantiated, which is incorrect.

Solution : use Obj.magic 0 as value for local signals initialization instead of their actual expression.