aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-03 20:13:25 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-03 20:13:25 +0100
commit76955e2a3cc2c173d6db91e89afe6f476e8735be (patch)
tree64f4807fde61eabf10f52bc981818322e9fafd89 /doc
parent19f51ee0c895f2d779aa75cebcb7edc669e3e80c (diff)
downloadghdl-76955e2a3cc2c173d6db91e89afe6f476e8735be.tar.gz
ghdl-76955e2a3cc2c173d6db91e89afe6f476e8735be.tar.bz2
ghdl-76955e2a3cc2c173d6db91e89afe6f476e8735be.zip
Add an example for the -g option. Fix #1150
Diffstat (limited to 'doc')
-rw-r--r--doc/using/Simulation.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/using/Simulation.rst b/doc/using/Simulation.rst
index 40d48e8e7..74fd5c89d 100644
--- a/doc/using/Simulation.rst
+++ b/doc/using/Simulation.rst
@@ -29,6 +29,10 @@ Here is the list of the most useful options. For further info, see :ref:`DEV:Deb
Set value `VALUE` to generic with name `GENERIC`.
+ Example::
+
+ $ ghdl -r --std=08 my_unit -gDEPTH=12
+
.. WARNING::
This is currently a run option; but in the future it will be deprecated to
become an elaboration option only.