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 think there might be a bug in the SV generation. Below is an example from RISC-V.
I see generated code like the module below, where there is a few instances of the same problem.
For example: zz495_2 has type sail_unit, but then it is assigned the value {SAIL_UNIT, s_0}, which has the type {sail_unit, sail_unit}, which fails to type check.
on closer inspection, it does make sense.
since these are all unit types, essentially zero width bit vectors, this is syntactically valid and technically type correct. It's just Jasper that doesn't like it.
Because sail_unit is an enum type, so it will only let me assign "SAIL_UNIT" to it
I think there might be a bug in the SV generation. Below is an example from RISC-V.
I see generated code like the module below, where there is a few instances of the same problem.
For example:
zz495_2
has typesail_unit
, but then it is assigned the value{SAIL_UNIT, s_0}
, which has the type{sail_unit, sail_unit}
, which fails to type check.Is this expected? It happens in lots of places in the code.
The text was updated successfully, but these errors were encountered: