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

. ../../testenv.sh

analyze demo.vhd
analyze tb_demo.vhd
if ghdl_is_interpretation; then
  elab_simulate tb_demo --stop-time=1sec
else
  # elab_simulate tb_demo --stop-time=300sec --wave=tb_demo.ghw
  elab_simulate tb_demo
fi

clean

echo "Test successful"