diff options
author | eine <eine@users.noreply.github.com> | 2020-07-13 17:55:47 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2020-07-19 08:36:52 +0200 |
commit | 665ee07eb14cf2c238b8de181cf745ac700cf47d (patch) | |
tree | e5c6cf2072454a7ca9bb1141f2b42ec0e9ed13c3 /doc | |
parent | 6e899a1f0143700543d4052a8f82ce19b5c75d2e (diff) | |
download | ghdl-665ee07eb14cf2c238b8de181cf745ac700cf47d.tar.gz ghdl-665ee07eb14cf2c238b8de181cf745ac700cf47d.tar.bz2 ghdl-665ee07eb14cf2c238b8de181cf745ac700cf47d.zip |
doc: document synthesis/translate pragmas
Diffstat (limited to 'doc')
-rw-r--r-- | doc/using/Synthesis.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/using/Synthesis.rst b/doc/using/Synthesis.rst index 23924fd94..3301d87d1 100644 --- a/doc/using/Synthesis.rst +++ b/doc/using/Synthesis.rst @@ -13,6 +13,17 @@ Hence, the netlists generated by GHDL are not optimised. .. NOTE:: Due to GHDL's modular architecture (see :ref:`INT:Overview`), the synthesis kernel shares the VHDL parsing front-end with the simulation back-ends. Hence, available options for synthesis are the same as for analysis and/or simulation elaboration (see :ref:`GHDL:options`). +.. HINT:: + Multiple pragmas are supported for preventing blocks of code from being synthesized: + + ``-- pragma|synopsys|synthesis (synthesis|translate)( |_)(on|off)`` + + For example: + + - ``-- pragma translate off`` + - ``-- synthesis translate_on`` + - ``-- synopsys synthesis_off`` + .. index:: synthesis command .. _Synth:command: |