aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2/testsuite.sh
blob: ffa23903fb9cdb603b71f68db2859613279f69f7 (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
GHDL_FLAGS=--work=test

analyze sortnet_OddEvenSort.vhdl
analyze sortnet_OddEvenSort_tb.vhdl
elab_simulate --syn-binding sortnet_OddEvenSort_tb

if false; then
 # Direct instantiation, not yet supported.
 analyze sortnet_BitonicSort.vhdl
 analyze sortnet_BitonicSort_tb.vhdl
 elab_simulate sortnet_BitonicSort_tb
fi

clean test

echo "Test successful"