diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-08 18:44:34 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-08 18:44:34 +0200 |
commit | 7119ed0eee11707dcfc6ab023fdf1f72783b35bd (patch) | |
tree | cdf72b5d0538f186d391e6cdd852c4f2d0859b9e /testsuite/synth/dispvhdl01/testsuite.sh | |
parent | 0a3ca95575c7c5d3c153ec2de271613c228124a8 (diff) | |
download | ghdl-7119ed0eee11707dcfc6ab023fdf1f72783b35bd.tar.gz ghdl-7119ed0eee11707dcfc6ab023fdf1f72783b35bd.tar.bz2 ghdl-7119ed0eee11707dcfc6ab023fdf1f72783b35bd.zip |
testsuite/synth: add a test.
Diffstat (limited to 'testsuite/synth/dispvhdl01/testsuite.sh')
-rwxr-xr-x | testsuite/synth/dispvhdl01/testsuite.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/dispvhdl01/testsuite.sh b/testsuite/synth/dispvhdl01/testsuite.sh new file mode 100755 index 000000000..4c93e7067 --- /dev/null +++ b/testsuite/synth/dispvhdl01/testsuite.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +. ../../testenv.sh + +for t in vhd01; do + analyze pkg.vhdl $t.vhdl tb_$t.vhdl + elab_simulate tb_$t + clean + + synth pkg.vhdl $t.vhdl -e $t > syn_$t.vhdl + analyze pkg.vhdl syn_$t.vhdl tb_$t.vhdl + elab_simulate tb_$t --ieee-asserts=disable-at-0 + clean +done + +echo "Test successful" |