blob: b938a6322a3bbfb8de235ecc8e3577d5b97295e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/sh
. ../../testenv.sh
analyze mcve.vhdl
elab mcve
if ghdl_has_feature mcve vcd; then
simulate mcve --vcd=mcve.vcd --stop-time=1us
if ! grep -q "stage_reg is not handled" mcve.vcd; then
echo "error: stage_reg is not dumpable"
exit 1;
fi
fi
clean
rm -f mcve.vcd
echo "Test successful"
|