blob: 86c3758202c44856d396feb58a12231cf7543204 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#! /bin/sh
. ../../testenv.sh
export GHDL_STD_FLAGS=--std=08
analyze repro.vhdl
elab repro
if ghdl_has_feature repro ghw; then
simulate repro --wave=repro.ghw
# How to test the ghw ? Use ghwdump ?
fi
analyze repro2.vhdl
elab repro2
if ghdl_has_feature repro2 ghw; then
simulate repro2 --wave=repro2.ghw
# How to test the ghw ? Use ghwdump ?
fi
clean
rm -f repro.ghw repro2.ghw
echo "Test successful"
|