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
The member of EnumName is instantiated as EnumName_MemberName.
This may be ambiguous when there are var declarations with same name.
I don't know this is legal in SystemVerilog, but verilator, iverilog and GOWIN EDA don't support it. So I think prohibiting same name declaration as enum member or emitting another name is good.
The text was updated successfully, but these errors were encountered:
This Veryl code is translated into
The member of EnumName is instantiated as EnumName_MemberName.
This may be ambiguous when there are var declarations with same name.
I don't know this is legal in SystemVerilog, but verilator, iverilog and GOWIN EDA don't support it. So I think prohibiting same name declaration as enum member or emitting another name is good.
The text was updated successfully, but these errors were encountered: