diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-11-12 20:27:22 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-11-12 20:36:04 +0100 |
commit | 3aed7e6e47610750f50cce9bdc547f975e01e656 (patch) | |
tree | dd73f646b6e2bbff0289740eab5aaca37dcba8e7 /testsuite/synth/const01/testsuite.sh | |
parent | 72d9a475e19ab200b87975750dced5ab47994aac (diff) | |
download | ghdl-3aed7e6e47610750f50cce9bdc547f975e01e656.tar.gz ghdl-3aed7e6e47610750f50cce9bdc547f975e01e656.tar.bz2 ghdl-3aed7e6e47610750f50cce9bdc547f975e01e656.zip |
testsuite/synth: add a test for static values.
Diffstat (limited to 'testsuite/synth/const01/testsuite.sh')
-rwxr-xr-x | testsuite/synth/const01/testsuite.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/const01/testsuite.sh b/testsuite/synth/const01/testsuite.sh new file mode 100755 index 000000000..1a49d8a5d --- /dev/null +++ b/testsuite/synth/const01/testsuite.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +. ../../testenv.sh + +for t in const01; do + analyze $t.vhdl tb_$t.vhdl + elab_simulate tb_$t + clean + + synth $t.vhdl -e $t > syn_$t.vhdl + analyze syn_$t.vhdl tb_$t.vhdl + elab_simulate tb_$t --ieee-asserts=disable-at-0 + clean +done + +echo "Test successful" |