blob: 3a37babae7091d79a88eb2ca96e2eb3363d9effe (
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
26
27
28
|
#! /bin/sh
. ../../testenv.sh
cp pkga_v1.vhdl pkga.vhdl
analyze pkga.vhdl
analyze enta.vhdl
analyze topa.vhdl
elab_simulate topa
cp pkga_v2.vhdl pkga.vhdl
analyze_failure topa.vhdl
clean
rm -f pkga.vhdl
export GHDL_STD_FLAGS="--std=08 -frelaxed-rules"
analyze pkgb.vhdl
analyze entb.vhdl
analyze topb.vhdl
elab_simulate topb
export GHDL_STD_FLAGS="--std=08"
analyze_failure topb.vhdl
clean
echo "Test successful"
|