aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue98/testsuite.sh
blob: 23746d6300de4546d0b6d64116ec115ad6d1e55e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

. ../../testenv.sh

analyze test_load.vhdl
$GHDL --vpi-compile -v gcc -c vpi1.c
$GHDL --vpi-link -v gcc -o vpi1.vpi vpi1.o

elab_simulate test_load --vpi=./vpi1.vpi

rm -f vpi1.vpi vpi1.o
clean

echo "Test successful"