Node:Analysis mode, Next:, Previous:GHDL modes, Up:GHDL modes



Analysis mode


$ ghdl -a [options] files

In analysis mode, GHDL compiles one or more files, and creates an object file for each source file. The analysis mode is selected with -a switch. Any argument starting with a dash is a option, the others are filenames. No option is allowed after a filename argument. GHDL analyzes each filename in the given order, and stops the analysis in case of error (the following files are not analyzed).

Options may either be GHDL options or GCC options. Consult GCC documentation for details on GCC options. See GHDL options, for details on the GHDL ones. For example, to produce debugging information such as line numbers, use:

$ ghdl -a -g my_design.vhdl