aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug011/testsuite.sh
blob: b0fa087be0d3ba3390ac56d4d758fc66b5b22de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

. ../../testenv.sh

analyze phonybench.vhdl
elab phonybench
if ghdl_has_feature phonybench fst; then
  elab_simulate phonybench --stop-time=1sec --fst=pb.fst
fi
if ghdl_has_feature phonybench vcd; then
  elab_simulate phonybench --stop-time=1sec --vcd=pb.vcd
fi

rm -f pb.fst pb.vcd

clean

echo "Test successful"