Closed jrudess closed 2 weeks ago
The warnings are on the post-expansion type. Since the lhs is 32 bits wide, the rhs implicitly converts to a 32 bit size along with the sign conversion. I suppose you could make the argument that either way is more understandable, depending on how you think about how conversions work, but the current situation is not obviously wrong to me.
That makes sense, thanks!
In the following example, the warnings are reporting a type as being bit[31:0], but the variable is bit[10:0].