You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For- and if-equations if the equations within the for- and if-equations satisfy these requirements.
The different branches of when/elsewhen must have the same set of component references on the left-hand side.
The branches of an if-then-else clause inside when-equations must have the same set of component references on the left-hand side, unless the if-then-else have exclusively parameter expressions as switching conditions.
Any left hand side reference, (v, out1, …), in a when-clause must be a component reference, and any indices must be parameter expressions.
I suspect that the last two bullet points should not be items of the list, but should be following the list, so form additional requirements on top of the respective chosen bullet item.
According to the current form quoted above, and taking note of the bolded part, the following example would be legal:
equationwhen x >2then
y =5; // compliant with bullet 1elsewhen x >3then
z =5; // compliant with bullet 1end when;
The text was updated successfully, but these errors were encountered:
In the current master spec, we have (bold emphasis mine)
I suspect that the last two bullet points should not be items of the list, but should be following the list, so form additional requirements on top of the respective chosen bullet item.
According to the current form quoted above, and taking note of the bolded part, the following example would be legal:
The text was updated successfully, but these errors were encountered: