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

. ../../testenv.sh

GHDL_STD_FLAGS=--std=08

# Need to disable asserts at 0.
#synth_tb checker

t=checker

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 --asserts=disable-at-0 --assert-level=error
clean

echo "Test successful"