aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authoreine <eine@users.noreply.github.com>2020-10-08 08:08:16 +0200
committereine <eine@users.noreply.github.com>2020-10-08 08:08:16 +0200
commit13f28101738e6cf0cc9f6f0f273b1499faf73021 (patch)
tree19c0376d386096eab05788f1829d79e55f559031 /doc
parent1b23af06d9806867887aebad36b71c26e10584c1 (diff)
downloadghdl-13f28101738e6cf0cc9f6f0f273b1499faf73021.tar.gz
ghdl-13f28101738e6cf0cc9f6f0f273b1499faf73021.tar.bz2
ghdl-13f28101738e6cf0cc9f6f0f273b1499faf73021.zip
doc: reword '--time-resolution'
Diffstat (limited to 'doc')
-rw-r--r--doc/using/InvokingGHDL.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/using/InvokingGHDL.rst b/doc/using/InvokingGHDL.rst
index 22061445e..4940637f5 100644
--- a/doc/using/InvokingGHDL.rst
+++ b/doc/using/InvokingGHDL.rst
@@ -414,16 +414,18 @@ Options
.. option:: --time-resolution=<UNIT>
+ .. ATTENTION::
+ This feature is supported with *mcode* backend only. It is not possible to support it with either LLVM or GCC backends,
+ because it needs to apply globally.
+
Set the base time resolution of the simulation. This option is supported in commands :option:`-a` and :option:`-r` only.
- Allowed values are ``auto`` (default with *mcode*), ``fs`` (default with LLVM/GCC), ``ps``, ``ns``, ``us``, ``ms`` or ``sec``.
+ Allowed values are ``auto`` (default), ``fs``, ``ps``, ``ns``, ``us``, ``ms`` or ``sec``. With LLVM/GCC, the value is fixed
+ to ``fs``.
.. HINT::
When overriding the time resolution, all the time units that are used in the design must be larger. Using units below
the resolution will produce a failure.
- .. ATTENTION::
- This feature is supported with *mcode* backend only. It is not possible to support it with either LLVM or GCC backends,
- because it needs to apply globally.
Warnings
========