diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-11-13 22:18:39 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-11-13 22:19:57 +0100 |
commit | f9e8c83cb65b9eb88e9c172dcae2b4d91534f227 (patch) | |
tree | 29c6cdc3d022cda6936aed81bd3d09853c21aeab /testsuite/synth/blackbox01/testsuite.sh | |
parent | 10edddd477cf9d766180228f7ee507976b50c05d (diff) | |
download | ghdl-f9e8c83cb65b9eb88e9c172dcae2b4d91534f227.tar.gz ghdl-f9e8c83cb65b9eb88e9c172dcae2b4d91534f227.tar.bz2 ghdl-f9e8c83cb65b9eb88e9c172dcae2b4d91534f227.zip |
testsuite/synth: add a test for syn_black_box
Diffstat (limited to 'testsuite/synth/blackbox01/testsuite.sh')
-rwxr-xr-x | testsuite/synth/blackbox01/testsuite.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/synth/blackbox01/testsuite.sh b/testsuite/synth/blackbox01/testsuite.sh index 9e5802045..63c1e6210 100755 --- a/testsuite/synth/blackbox01/testsuite.sh +++ b/testsuite/synth/blackbox01/testsuite.sh @@ -2,13 +2,22 @@ . ../../testenv.sh +# The testbench analyze blackbox1_adder.vhdl blackbox1.vhdl tb_blackbox1.vhdl elab_simulate tb_blackbox1 clean +# Synthesize using a not bounded component synth blackbox1.vhdl -e > syn_blackbox1.vhdl analyze blackbox1_adder.vhdl syn_blackbox1.vhdl tb_blackbox1.vhdl elab_simulate tb_blackbox1 clean +# Synthesize using entity + syn_black_box attribute +synth blackbox1_adder_bb.vhdl blackbox1.vhdl -e > syn_blackbox1.vhdl +analyze blackbox1_adder.vhdl syn_blackbox1.vhdl tb_blackbox1.vhdl +elab_simulate tb_blackbox1 +clean + + echo "Test successful" |