blob: a8c89444f140e0ceb3dae97856a2f0f9a174cb41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /bin/sh
. ../../testenv.sh
if ! "$GHDL" --dir ieee | grep -q vital; then
echo "No vital libraries, skipping"
exit 0
fi
"$GHDL" -i lib_numeric_tb.vhd
"$GHDL" -m numeric_tb
simulate numeric_tb --stop-time=10ns --wave=numeric_tb.ghw \
--sdf=typ==lib_numeric_tb.sdf
clean
rm numeric_tb.ghw
echo "Test successful"
|