diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-07-11 07:34:14 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-07-11 07:34:14 +0200 |
commit | 02588566f171f87109d026f8fbbc39796eada17c (patch) | |
tree | daed7f0c6ebcceb12becb24e1d9cd75d153a9213 /testsuite/synth/issue2125/testsuite.sh | |
parent | 328aa863c6258c89e74ad04895dfc0484fe859e0 (diff) | |
download | ghdl-02588566f171f87109d026f8fbbc39796eada17c.tar.gz ghdl-02588566f171f87109d026f8fbbc39796eada17c.tar.bz2 ghdl-02588566f171f87109d026f8fbbc39796eada17c.zip |
testsuite/synth: add a test for #2125
Diffstat (limited to 'testsuite/synth/issue2125/testsuite.sh')
-rwxr-xr-x | testsuite/synth/issue2125/testsuite.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/issue2125/testsuite.sh b/testsuite/synth/issue2125/testsuite.sh new file mode 100755 index 000000000..27230d8ff --- /dev/null +++ b/testsuite/synth/issue2125/testsuite.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +. ../../testenv.sh + +# TODO: reuse synth_tb, but we need to pass --latches + +analyze afed.vhdl tb_afed.vhdl +elab_simulate tb_afed +clean + +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 + +echo "Test successful" |