1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 12:45:59 +02:00

ghdl: add page (#4589)

This commit is contained in:
Ivor Benderavage 2020-10-09 22:35:12 -04:00 committed by GitHub
parent bd3523c845
commit 8f07a3fd2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

28
pages/common/ghdl.md Normal file
View file

@ -0,0 +1,28 @@
# 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 the help page:
`ghdl --help`