aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/synth109
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-06-21 07:43:55 +0200
committerTristan Gingold <tgingold@free.fr>2021-06-21 08:07:13 +0200
commit09e1764ea6dcf08aa77f8b6f5115caca9de44057 (patch)
treec66014ebe875cad6ed20c6b7de326dab30b16286 /testsuite/synth/synth109
parent6aaabbfc1716fffd7b7185d53e791e77400950d2 (diff)
downloadghdl-09e1764ea6dcf08aa77f8b6f5115caca9de44057.tar.gz
ghdl-09e1764ea6dcf08aa77f8b6f5115caca9de44057.tar.bz2
ghdl-09e1764ea6dcf08aa77f8b6f5115caca9de44057.zip
testsuite/synth: check ram in mem01 and mem02
Diffstat (limited to 'testsuite/synth/synth109')
-rwxr-xr-xtestsuite/synth/synth109/testsuite.sh15
1 files changed, 10 insertions, 5 deletions
diff --git a/testsuite/synth/synth109/testsuite.sh b/testsuite/synth/synth109/testsuite.sh
index 11cb2e052..cc1803015 100755
--- a/testsuite/synth/synth109/testsuite.sh
+++ b/testsuite/synth/synth109/testsuite.sh
@@ -3,11 +3,16 @@
. ../../testenv.sh
GHDL_STD_FLAGS="-fsynopsys"
-synth_tb ram1
-synth_tb ram2
-synth_tb ram4
-synth_analyze ram9
-synth asymmetric_ram_2a.vhd -e > syn_asymmetric_ram_2a.vhdl
+for t in ram1 ram2 ram4; do
+ synth_tb $t 2> $t.log
+ grep "found R" $t.log
+done
+
+synth_analyze ram9 2> ram9.log
+grep "found RAM" ram9.log
+
+synth asymmetric_ram_2a.vhd -e > syn_asymmetric_ram_2a.vhdl 2> ram_2a.log
+grep "found RAM" ram_2a.log
echo "Test successful"