From: Clifford Wolf Date: Tue, 13 Jan 2015 11:59:29 +0000 (+0100) Subject: Tiny fix in vcdcd.pl X-Git-Tag: yosys-0.5~111 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dfa42e272cd13a08314299817423052488eb58ab;p=yosys.git Tiny fix in vcdcd.pl --- diff --git a/tests/tools/vcdcd.pl b/tests/tools/vcdcd.pl index 2abfb7a21..6f497e99c 100755 --- a/tests/tools/vcdcd.pl +++ b/tests/tools/vcdcd.pl @@ -80,8 +80,8 @@ for my $net (sort keys %gold_signals_hash) { for my $fullname (keys $gate_signals_hash{$net}) { $orig_net_names{$fullname} = 1; } - for my $_ (sort keys %orig_net_names) { - push @signals, $_; + for my $net (sort keys %orig_net_names) { + push @signals, $net; print " $1" if /(\[([0-9]+|[0-9]+:[0-9]+)\])$/; } print "\n";