From 8f07a3fd2c2135f5c6a8ad021efaa5ea84f76c19 Mon Sep 17 00:00:00 2001 From: Ivor Benderavage Date: Fri, 9 Oct 2020 22:35:12 -0400 Subject: [PATCH] ghdl: add page (#4589) --- pages/common/ghdl.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/ghdl.md diff --git a/pages/common/ghdl.md b/pages/common/ghdl.md new file mode 100644 index 000000000..14d6aa53b --- /dev/null +++ b/pages/common/ghdl.md @@ -0,0 +1,28 @@ +# ghdl + +> Open-source simulator for the VHDL language. +> More information: . + +- 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`