aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/mem01/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/mem01/testsuite.sh')
-rwxr-xr-xtestsuite/synth/mem01/testsuite.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/testsuite/synth/mem01/testsuite.sh b/testsuite/synth/mem01/testsuite.sh
index 186456831..00e9022a9 100755
--- a/testsuite/synth/mem01/testsuite.sh
+++ b/testsuite/synth/mem01/testsuite.sh
@@ -3,14 +3,10 @@
. ../../testenv.sh
for t in rom1 srom01 sram01 sram02 sram03 sram05 dpram1 dpram2 dpram3; do
- analyze $t.vhdl tb_$t.vhdl
- elab_simulate tb_$t
- clean
+ synth_tb $t 2> $t.log
- 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
+ # Each design has either a RAM or a ROM
+ grep 'found R' $t.log
done
echo "Test successful"