aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/issue613/ent.vhdl2
-rwxr-xr-xtestsuite/gna/issue613/testsuite.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/gna/issue613/ent.vhdl b/testsuite/gna/issue613/ent.vhdl
index 202a2b9d0..c912189eb 100644
--- a/testsuite/gna/issue613/ent.vhdl
+++ b/testsuite/gna/issue613/ent.vhdl
@@ -2,7 +2,7 @@ entity ent is
end entity;
architecture a of ent is
- constant SimulationTime_c : time := 10000 sec;
+ constant SimulationTime_c : time := 10000 ms;
begin
process begin
report "Hello world" severity note;
diff --git a/testsuite/gna/issue613/testsuite.sh b/testsuite/gna/issue613/testsuite.sh
index ad890e137..029a98433 100755
--- a/testsuite/gna/issue613/testsuite.sh
+++ b/testsuite/gna/issue613/testsuite.sh
@@ -6,14 +6,14 @@ 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
+ analyze_failure --time-resolution=sec ent.vhdl
# Zero physical literals are always allowed.
- analyze --time-resolution=sec t1.vhdl
- analyze --time-resolution=sec t2.vhdl
+ analyze --time-resolution=ms t1.vhdl
+ analyze --time-resolution=ms t2.vhdl
analyze ent.vhdl
- elab_simulate --time-resolution=ms ent
+ elab_simulate --time-resolution=us ent
elab_simulate --time-resolution=auto ent
clean