aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/mem02/testsuite.sh
blob: fd8a749c3e4c93fa5ada4d1a5707cc7aef5af432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

. ../../testenv.sh

for t in dpram1 ram3 ram4 ram6; 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 --ieee-asserts=disable-at-0
    clean
done

synth ram8.vhdl -e > syn_ram8.vhdl
synth ram9.vhdl -e > syn_ram9.vhdl

echo "Test successful"