blob: ae261dcc300dc60f37d0094d04f6bec2b36e3de6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /bin/sh
. ../../testenv.sh
analyze ent.vhdl
elab_simulate ent
if $GHDL -v | grep -q mcode; then
echo "-o not supported by mcode"
else
$GHDL --elab-run -o ent1 ent
$GHDL --elab-run -o $PWD/ent2 ent
fi
rm -f ent1 ent2
clean
echo "Test successful"
|