diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-03-03 21:27:27 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-03-04 16:40:42 +0100 |
commit | 05b8fe710d53d0db9c8d956bf9aa8bec526ac079 (patch) | |
tree | c95bfe79f8c38f8a138b53a6e6458f8a231c844d /doc | |
parent | 76955e2a3cc2c173d6db91e89afe6f476e8735be (diff) | |
download | ghdl-05b8fe710d53d0db9c8d956bf9aa8bec526ac079.tar.gz ghdl-05b8fe710d53d0db9c8d956bf9aa8bec526ac079.tar.bz2 ghdl-05b8fe710d53d0db9c8d956bf9aa8bec526ac079.zip |
vhdl: merge synopsys into the ieee libraries. For #980
Diffstat (limited to 'doc')
-rw-r--r-- | doc/using/InvokingGHDL.rst | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/doc/using/InvokingGHDL.rst b/doc/using/InvokingGHDL.rst index a2099152c..6846b1b3e 100644 --- a/doc/using/InvokingGHDL.rst +++ b/doc/using/InvokingGHDL.rst @@ -284,6 +284,18 @@ Options Specify the standard to use. By default, the standard is ``93c``, which means VHDL-93 accepting VHDL-87 syntax. For details on ``STANDARD`` values see section :ref:`VHDL_standards`. +.. option:: -fsynopsys + + Allow the use of synopsys non-standard packages + (``std_logic_arith``, ``std_logic_signed``, ``std_logic_unsigned``, + ``std_logic_textio``). These packages are + present in the ieee library but without this option it's an error to + use them. + + The synopsys packages were created by some companies, and are popular. However + they are not standard packages, and have been placed in the `IEEE` + library without the permission from the ``ieee``. + .. option:: --ieee=<IEEE_VAR> .. index:: ieee library @@ -307,13 +319,8 @@ Options for more details. synopsys - Supply the former packages and the following additional packages: - ``std_logic_arith``, ``std_logic_signed``, - ``std_logic_unsigned``, ``std_logic_textio``. - - These packages were created by some companies, and are popular. However - they are not standard packages, and have been placed in the `IEEE` - library without the permission from the ``ieee``. + This option is now deprecated. It is equivalent to + ``--ieee=standard`` and ``-fsynopsys``. To avoid errors, you must use the same `IEEE` library for all units of your design, and during elaboration. |