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

29 lines
589 B
Markdown
Raw Normal View History

2020-10-09 22:35:12 -04:00
# ghdl
> Open-source simulator for the VHDL language.
2024-10-01 19:02:34 +02:00
> More information: <https://ghdl.github.io/ghdl/>.
2020-10-09 22:35:12 -04:00
- 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):
2020-10-09 22:35:12 -04:00
`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:
2020-10-09 22:35:12 -04:00
`ghdl --help`