blob: 34792601306c74198c0e825311fa4c911648a9c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#! /bin/sh
. ../../testenv.sh
export GHDL_STD_FLAGS=--std=08
# Analyze and check hide warning number.
analyze -Whide repro_warn1.vhdl 2>&1 | grep -c warning > warning.cnt
if [ $(cat warning.cnt) -ne 1 ]; then
echo "incorrect warning number"
exit 1
fi
rm warning.cnt
analyze frequency.vhdl
analyze tb_freq.vhdl
elab_simulate tb_freq --stop-time=1us
clean
echo "Test successful"
|