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

. ../../testenv.sh

for t in record_test rec2; 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"