aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/sanity/005examples/testsuite.sh
blob: 2cf61446f7469a29cb9830bd496d7c69b88a6ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

. ../../testenv.sh

# Extract examples
python extract_vhdl.py hello.vhdl heartbeat.vhdl adder.vhdl adder_tb.vhdl < ../../../doc/using/QuickStartGuide.rst

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"