aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue2125
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-07-14 06:37:15 +0200
committerTristan Gingold <tgingold@free.fr>2022-07-14 06:37:15 +0200
commit1d0d2d3d4b8dca3f83b3c1c34e1841f2ca2afe18 (patch)
tree6cb4f7925241900c8a34ed538af63be0cc8fea33 /testsuite/synth/issue2125
parent73e50b2ce5db5a52bf16c2fd5fc754c054b76b48 (diff)
downloadghdl-1d0d2d3d4b8dca3f83b3c1c34e1841f2ca2afe18.tar.gz
ghdl-1d0d2d3d4b8dca3f83b3c1c34e1841f2ca2afe18.tar.bz2
ghdl-1d0d2d3d4b8dca3f83b3c1c34e1841f2ca2afe18.zip
testsuite/synth: use standard functions for issue2125
Diffstat (limited to 'testsuite/synth/issue2125')
-rwxr-xr-xtestsuite/synth/issue2125/testsuite.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/testsuite/synth/issue2125/testsuite.sh b/testsuite/synth/issue2125/testsuite.sh
index 27230d8ff..3818a80be 100755
--- a/testsuite/synth/issue2125/testsuite.sh
+++ b/testsuite/synth/issue2125/testsuite.sh
@@ -2,15 +2,9 @@
. ../../testenv.sh
-# TODO: reuse synth_tb, but we need to pass --latches
-analyze afed.vhdl tb_afed.vhdl
-elab_simulate tb_afed
-clean
+GHDL_SYNTH_FLAGS=--latches
-synth --latches afed.vhdl -e > syn_afed.vhdl
-analyze syn_afed.vhdl tb_afed.vhdl
-elab_simulate tb_afed --ieee-asserts=disable-at-0 --assert-level=error
-clean
+synth_tb afed
echo "Test successful"