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
This example is clearly an invalid VCD file, but I discovered this when I worked on 1 bit vectors, where VCD writers might inconsistently either use scalar or vector value changes:
$var wire 1 a var[0:0] $end
$enddefinitions $end
#0
0a
$comment or: $end
b0 a
GTKWave LTS should be fine in this case, because it treats the variable as a scalar and not a vector and both types of value change statement seem to work. For GTKWave 4 I'm planning to ignore scalar value changes for any variable that isn't a scalar or a 1 bit wide vector and print a warning.
The text was updated successfully, but these errors were encountered:
Trying to use a scalar vector change in a VCD file to update the value of a vector var causes a segfault in GTKWave LTS, when the trace is added:
This example is clearly an invalid VCD file, but I discovered this when I worked on 1 bit vectors, where VCD writers might inconsistently either use scalar or vector value changes:
GTKWave LTS should be fine in this case, because it treats the variable as a scalar and not a vector and both types of value change statement seem to work. For GTKWave 4 I'm planning to ignore scalar value changes for any variable that isn't a scalar or a 1 bit wide vector and print a warning.
The text was updated successfully, but these errors were encountered: