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

. ../../testenv.sh

analyze pkg.vhdl
analyze types_pkg.vhdl
analyze tb.vhdl
elab design_tb

if ghdl_has_feature design_tb ghw; then
  simulate design_tb --wave=tb.ghw
  ghw_diff tb
  rm -f tb.txt tb.ghw
fi

clean

echo "Test successful"