diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-06-07 21:15:18 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-06-07 21:15:18 +0200 |
commit | f676c2d34ac46eff1633a6541724c552f0f9eac5 (patch) | |
tree | f208485acabc83697857a432a3046e32e28af09c /testsuite/gna/issue332/testsuite.sh | |
parent | 14b82144f46a8b33e7b38b105e64dee30d889cf2 (diff) | |
download | ghdl-f676c2d34ac46eff1633a6541724c552f0f9eac5.tar.gz ghdl-f676c2d34ac46eff1633a6541724c552f0f9eac5.tar.bz2 ghdl-f676c2d34ac46eff1633a6541724c552f0f9eac5.zip |
Add reproducer for #332
Diffstat (limited to 'testsuite/gna/issue332/testsuite.sh')
-rwxr-xr-x | testsuite/gna/issue332/testsuite.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testsuite/gna/issue332/testsuite.sh b/testsuite/gna/issue332/testsuite.sh new file mode 100755 index 000000000..1dfe7cd21 --- /dev/null +++ b/testsuite/gna/issue332/testsuite.sh @@ -0,0 +1,30 @@ +#! /bin/sh + +. ../../testenv.sh + +export GHDL_STD_FLAGS=" -fexplicit -frelaxed-rules --mb-comments --warn-binding --ieee=synopsys --no-vital-checks --std=08" + +analyze ilos_sim_pkg.vhd +analyze irqc_pif_pkg.vhd +analyze irqc_pif.vhd +analyze irqc_tb.vhd +elab tb_irqc + +if ghdl_has_feature tb_irqc ghw; then + simulate tb_irqc --wave=sim.ghw +fi + +analyze repro_rec.vhdl +elab repro_rec + +if ghdl_has_feature repro_rec ghw; then + simulate repro_rec --wave=rec.ghw +fi + +clean +if [ $# -eq 0 ]; then + rm -f rec.ghw sim.ghw +fi + + +echo "Test successful" |