blob: 31ada14d09ad0f62b129972d6b6971d9dca9c0aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /bin/sh
. ../../testenv.sh
$GHDL --vpi-compile -v gcc -c vpi2.c
$GHDL --vpi-link -v gcc -o vpi2.vpi vpi2.o
analyze disptree.vhdl
elab_simulate disptree --vpi=./vpi2.vpi | tee disptree.out
diff --strip-trailing-cr -q disptree.ref disptree.out
rm -f vpi2.o vpi2.vpi disptree.out
clean
echo "Test successful"
|