blob: ad890e13747a900bfa316751f6648c7f0f74b6b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#! /bin/sh
. ../../testenv.sh
if ! $GHDL --help -a | grep -q time-resolution; then
echo "option --time-resolution not available"
else
# Below the resolution
analyze_failure --time-resolution=min ent.vhdl
# Zero physical literals are always allowed.
analyze --time-resolution=sec t1.vhdl
analyze --time-resolution=sec t2.vhdl
analyze ent.vhdl
elab_simulate --time-resolution=ms ent
elab_simulate --time-resolution=auto ent
clean
fi
echo "Test successful"
|