diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-11-12 18:52:18 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-11-12 18:52:58 +0100 |
commit | 56735b0d1e92b4246ef53442236e89afe07aacdc (patch) | |
tree | 7b0c825edbc6021b269e89d187bc06fb93e997ad /testsuite/synth/blackbox01/testsuite.sh | |
parent | c2b6b4fe03c879753c76f5bee9f0ffe3b0e73f52 (diff) | |
download | ghdl-56735b0d1e92b4246ef53442236e89afe07aacdc.tar.gz ghdl-56735b0d1e92b4246ef53442236e89afe07aacdc.tar.bz2 ghdl-56735b0d1e92b4246ef53442236e89afe07aacdc.zip |
testsuite/synth: add a test for black boxes
Diffstat (limited to 'testsuite/synth/blackbox01/testsuite.sh')
-rwxr-xr-x | testsuite/synth/blackbox01/testsuite.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/synth/blackbox01/testsuite.sh b/testsuite/synth/blackbox01/testsuite.sh new file mode 100755 index 000000000..9e5802045 --- /dev/null +++ b/testsuite/synth/blackbox01/testsuite.sh @@ -0,0 +1,14 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze blackbox1_adder.vhdl blackbox1.vhdl tb_blackbox1.vhdl +elab_simulate tb_blackbox1 +clean + +synth blackbox1.vhdl -e > syn_blackbox1.vhdl +analyze blackbox1_adder.vhdl syn_blackbox1.vhdl tb_blackbox1.vhdl +elab_simulate tb_blackbox1 +clean + +echo "Test successful" |