diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-10-18 06:29:48 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-10-21 08:03:37 +0200 |
commit | f910e02797a83d0c5748768d20359a3d95569cc7 (patch) | |
tree | b979d295d880af3cf10f54e9fd2708e07d5e1ec6 /testsuite/gna/issue668/testsuite.sh | |
parent | ffa1a498dc22b7758d096cd91c61f0d356879e47 (diff) | |
download | ghdl-f910e02797a83d0c5748768d20359a3d95569cc7.tar.gz ghdl-f910e02797a83d0c5748768d20359a3d95569cc7.tar.bz2 ghdl-f910e02797a83d0c5748768d20359a3d95569cc7.zip |
Add testcase for #668
Diffstat (limited to 'testsuite/gna/issue668/testsuite.sh')
-rwxr-xr-x | testsuite/gna/issue668/testsuite.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/gna/issue668/testsuite.sh b/testsuite/gna/issue668/testsuite.sh new file mode 100755 index 000000000..19b6004b5 --- /dev/null +++ b/testsuite/gna/issue668/testsuite.sh @@ -0,0 +1,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" |