jrudess
jrudess
I missed that -Wwidth-expand wasn't included in -Wextra. Ran a few repos with it enabled, and probably wouldn't want it in -Wextra. It might be useful if -Wwidth-expand could be...
Agreed -- even if a separated width-expand warning is enabled just for ports, it still might not make it obvious that there is a typo in the port-connection name, so...
Should also mention, that the reason I commented p1 out was because it was being flagged as an unused parameter even though it it is referenced in the p2 default.
Was running with VCS 2022.06-SP2. It definitely could be a newer change or related to compile options (e.g. when using partitioned compile I've run into very large differences in reported...
I'm assuming that a full struct initialization would count as all members having a driver (s = '0). Most code is written this way, it's just the occasional one-off module...
Take a look at -Wextra, -Wwidth-trunc, -Wwidth-expand, -Wport-width-expand, -Wport-width-trunc ``` slangtest161.sv:11:15: warning: implicit conversion truncates from 128 to 32 bits [-Wwidth-trunc] c[pipe] = a[pipe] + b; ^ ~~~~~~~~~~~ ```