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

. ../../testenv.sh

for t in cnt01 cnt02 cnt04; 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"