blob: 80e646d99ffbbebca0fe394228d47916691c9dbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/sh
. ../../testenv.sh
export GHDL_STD_FLAGS=--std=08
analyze tb.vhdl
elab wb_demux_tb
if ghdl_has_feature wb_demux_tb ghw; then
simulate wb_demux_tb --trace-signals |
grep wb_demux_tb | cut -d ' ' -f 1,3- > tb.out
diff --strip-trailing-cr tb.out tb.ref
fi
rm -f tb.out
clean
echo "Test successful"
|