blob: dd41bbcec5f47e7249232c5022b3d6d38fd8baa9 (
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
|
#!/bin/sh
. ../../testenv.sh
# Skip the test if ../../../doc is not available.
if [ ! -d ../../../doc ]; then
echo "test skipped, '../../../doc' not found"
exit 0
fi
for d in ../../../doc/examples/quick_start/*/; do
cp "$d"*.vhdl ./
done
analyze hello.vhdl
elab_simulate hello_world
analyze heartbeat.vhdl
elab_simulate heartbeat --stop-time=100ns
analyze adder.vhdl
analyze adder_tb.vhdl
elab_simulate adder_tb
clean
echo "test successful"
|