Architecture overview of the GHDL toolkit (CLI, libghdl, pyGHDL and ghdl-yosys-plugin).#

GHDL is architectured like a traditional compiler. It has:

The architecture is modular and some of the components are available through the shared library libghdl. libghdl is used by the Yosys plugin, the Language Server Protocol (LSP) server, and to fill the data of pyVHDLModel (see The pyVHDLModel Documentation).

The main work with regard to understanding the VHDL language is performed by the front-end, which is documented in the next section.