1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ghdl.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help

* git: add newline to the end

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: make help and version commands comply with the style guide

* java: fix Java name

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-30 12:55:24 +08:00

580 B

ghdl

Open-source simulator for the VHDL language. More information: http://ghdl.free.fr.

  • Analyze a VHDL source file and produce an object file:

ghdl -a {{filename.vhdl}}

  • Elaborate a design (where design is the name of a configuration unit, entity unit or architecture unit):

ghdl -e {{design}}

  • Run an elaborated design:

ghdl -r {{design}}

  • Run an elaborated design and dump output to a waveform file:

ghdl -r {{design}} --wave={{output.ghw}}

  • Check the syntax of a VHDL source file:

ghdl -s {{filename.vhdl}}

  • Display help:

ghdl --help