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

. ../../testenv.sh

for t in dff01 dff02 dff03 dff04 dff05 dff06 dff07 dff08 dff09 \
         dff10 dff11 dff12 dff13; 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"