aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tools')
-rwxr-xr-xtests/tools/autotest.sh2
-rw-r--r--tests/tools/cmp_tbdata.c2
-rwxr-xr-xtests/tools/vcdcd.pl4
3 files changed, 5 insertions, 3 deletions
diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh
index 50f5cb580..6fdc27928 100755
--- a/tests/tools/autotest.sh
+++ b/tests/tools/autotest.sh
@@ -145,7 +145,7 @@ do
elif [ "$frontend" = "verific_gates" ]; then
test_passes -p "verific -vlog2k $fn; verific -import -gates -all; opt; memory;;"
else
- test_passes -f "$frontend" -p "hierarchy; proc; opt; memory; opt; fsm; opt -fine" $fn
+ test_passes -f "$frontend" -p "hierarchy; proc; opt; memory; opt; fsm; opt -full -fine" $fn
test_passes -f "$frontend" -p "hierarchy; synth -run coarse; techmap; opt; abc -dff" $fn
fi
touch ../${bn}.log
diff --git a/tests/tools/cmp_tbdata.c b/tests/tools/cmp_tbdata.c
index 86485efd0..b81ae1cab 100644
--- a/tests/tools/cmp_tbdata.c
+++ b/tests/tools/cmp_tbdata.c
@@ -53,6 +53,8 @@ int main(int argc, char **argv)
// here means we don't care about the result.
if (buffer1[i] == 'z' || buffer1[i] == 'x')
continue;
+ if (buffer1[i] == 'Z' || buffer1[i] == 'X')
+ continue;
check(buffer1[i] == buffer2[i]);
}
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";