Node:GHDL options, Next:GHDL modes, Previous:Invoking GHDL, Up:Invoking GHDL
Besides the options described below, GHDL passes any unknown options to the GCC compiler. Thus you can set debugging or optimizations options decribed in the GCC manual.
--work=NAME
WORK library. Analyzed units are always placed in the library logically named WORK. With this option, you can set its name. By default, the name is work.
VHDL rules forbides you to add units in the std library. Furthermode, you should not put units in the ieee library.
--workdir=PATH
WORK library is. When this option is not present, the WORK library is in the current directory. The object files created by the compiler are always placed in the same directory as the WORK library.--std=STD
93c, which means VHDL-93 accepting VHDL-87 syntax. For details on STD values see VHDL standards.--ieee=VER
IEEE library to use. VER must be one of:
none
IEEE library. Any library clause with the IEEE identifier will fail, unless you have created by your own a library with the IEEE name.standard
IEEE library containing only packages defined by IEEE standards. Currently, there are the multivalue logic system packages std_logic_1164 defined by IEEE 1164, the synthesis packages , numeric_bit and numeric_std defined by IEEE 1076.3, and the VITAL packages vital_timing and vital_primitives, defined by IEEE 1076.4. The version of these packages is defined by the VHDL standard used. See VITAL packages, for more details.synopsys
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 IEEE permission.mentor
std_logic_arith. The package is a slight variation on a definitly not standard but widely mis-used package.
To avoid errors, you must use the same IEEE library for all units of your design, and during elaboration.
-PPATH
The WORK library is always searched in the path specified by the --workdir= option, or in the current directory if the later option is not specified.
--no-vital-checks--vital-checks
Checks are performed only when a design unit is decorated by a VITAL attribute. The VITAL attributes are VITAL_Level0 and VITAL_Level1, both declared in the ieee.VITAL_Timing package.
Currently, VITAL checks are only partially implemented. See VHDL restrictions for VITAL, for more details.
-Wc,OPTION
-Wa,OPTION
-Wl,OPTION
--GHDL1=COMMAND
-v