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

. ../../testenv.sh

for t in pragma01; do
    analyze $t.vhdl tb_${t}_sim.vhdl
    elab_simulate tb_${t}_sim
    clean

    synth $t.vhdl -e $t > syn_$t.vhdl
    analyze syn_$t.vhdl tb_${t}_syn.vhdl
    elab_simulate tb_${t}_syn
    clean
done

echo "Test successful"