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

. ../../testenv.sh

GHDL_STD_FLAGS=--std=08

for t in var01c var01b var01a var01 var02 var03 var04 var05 var06; 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

echo "Test successful"