gtkwave / gtkwave

GTKWave is a fully featured GTK+ based wave viewer for Unix and Win32 which reads LXT, LXT2, VZT, FST, and GHW files as well as standard Verilog VCD/EVCD files and allows their viewing.
https://gtkwave.github.io/gtkwave/
GNU General Public License v2.0
627 stars 116 forks source link

Variables in the root scope can't be accessed using SST #208

Open rfuest opened 1 year ago

rfuest commented 1 year ago

If a dump file contains variables in the root scope it is not possible to access them using the SST after another scope has been selected.

Example VCD file:

$var wire 1 a root_var $end
$scope module mod $end
$var wire 1 a other_var $end
$upscope $end
$enddefinitions $en

#0
a0

After GTKWave is started the variables in the root scope are displayed: grafik

But as soon as another scope is selected it is no longer possible to access the variables in the root scope via the SST. They can only be added using other methods, like the Signal Search Hierarchy. grafik

The only solution to this issue I could come up with is to add a root scope node to the SST, similar to the top node which is added for GHW files.

There are two remaining questions if we decide to add a root node to the SST:

gtkwave commented 1 year ago

Shift-click the root scope to deselect it and your toplevel signals should come back. -Tony

On Thursday, June 15, 2023 at 01:19:46 PM EDT, Ralf Fuest ***@***.***> wrote:  

If a dump file contains variables in the root scope it is not possible to access them using the SST after another scope has been selected.

Example VCD file: $var wire 1 a root_var $end $scope module mod $end $var wire 1 a other_var $end $upscope $end $enddefinitions $en

0

a0

After GTKWave is started the variables in the root scope are displayed:

But as soon as another scope is selected it is no longer possible to access the variables in the root scope via the SST. They can only be added using other methods, like the Signal Search Hierarchy.

The only solution to this issue I could come up with is to add a root scope node to the SST, similar to the top node which is added for GHW files.

There are two remaining questions if we decide to add a root node to the SST:

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

rfuest commented 1 year ago

OK, CTRL-click to deselect does work. But this is hard to discover for users and I think we should make it easier to access these signals.