From 5c72f37c3eaf69d59f0f9a22473d68ce70858450 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 5 Oct 2019 08:05:26 +0200 Subject: testsuite/synth: add a test for block declarations. --- testsuite/synth/block01/testsuite.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 testsuite/synth/block01/testsuite.sh (limited to 'testsuite/synth/block01/testsuite.sh') diff --git a/testsuite/synth/block01/testsuite.sh b/testsuite/synth/block01/testsuite.sh new file mode 100755 index 000000000..8729220fc --- /dev/null +++ b/testsuite/synth/block01/testsuite.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +. ../../testenv.sh + +for t in block01 block02; 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 + clean +done + +echo "Test successful" -- cgit v1.2.3