blob: ec1f7092f5349416a15996babeb1dc31d5283eca (
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
29
30
31
32
33
34
35
36
37
38
39
40
|
#! /bin/sh
. ../../testenv.sh
units="
call1
call2
call3
call4
call5
call6
call7
call8
call9
for1
if1
if2
if3
if4
loop1
loop2
ret1
wait1
wait2
wait3
"
for f in $units; do
analyze ${f}.vhdl
elab_simulate $f --assert-level=error 2>&1 | tee res.out
if ! grep -q SUCCESS res.out; then
echo "Failure of $f"
exit 1
fi
done
rm -f res.out
clean
echo "Test successful"
|