aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue668/testsuite.sh
blob: 19b6004b5c21267daeea55ab345f9e2f0aecda77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh

. ../../testenv.sh

export GHDL_STD_FLAGS=--std=08
analyze tb.vhdl
elab wb_demux_tb

if ghdl_has_feature wb_demux_tb ghw; then
  simulate wb_demux_tb --dump-rti
  simulate wb_demux_tb --wave=w.ghw
fi

analyze repro2.vhdl
elab repro2
if ghdl_has_feature repro2 ghw; then
  simulate repro2 --dump-rti
  simulate repro2 --wave=w.ghw
fi

clean

rm -f w.ghw

echo "Test successful"