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

. ../../testenv.sh

for t in rec01; do
    analyze pkg_$t.vhdl $t.vhdl tb_$t.vhdl
    elab_simulate tb_$t
    clean

    synth pkg_$t.vhdl $t.vhdl -e $t > syn_$t.vhdl
    analyze pkg_$t.vhdl syn_$t.vhdl tb_$t.vhdl
    elab_simulate tb_$t --ieee-asserts=disable-at-0
    clean
done

echo "Test successful"