From 76955e2a3cc2c173d6db91e89afe6f476e8735be Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 3 Mar 2020 20:13:25 +0100 Subject: Add an example for the -g option. Fix #1150 --- doc/using/Simulation.rst | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3