blob: 2eb6c9d1c093b2c0ba43cb1e2f558b8d2f338522 (
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"
|