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

. ../../testenv.sh

for t in case01 case02; 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"