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
I would suggest the error would be slightly better if it said something like; nmigen.hdl.dsl.SyntaxError: If() is not permitted directly under an FSM.
It would also be nice if you mentioned what was permitted directly under an FSM -- maybe something like; nmigen.hdl.dsl.SyntaxError: If() is not permitted directly under an FSM. Only State() is permitted.
The text was updated successfully, but these errors were encountered:
If you do the following;
You get the following error;
nmigen.hdl.dsl.SyntaxError: If is not permitted inside of FSM
I feel like this is slightly misleading because an
If
is permitted inside an FSM - --just not directly. The following is perfectly valid;I would suggest the error would be slightly better if it said something like;
nmigen.hdl.dsl.SyntaxError: If() is not permitted directly under an FSM.
It would also be nice if you mentioned what was permitted directly under an FSM -- maybe something like;
nmigen.hdl.dsl.SyntaxError: If() is not permitted directly under an FSM. Only State() is permitted.
The text was updated successfully, but these errors were encountered: