Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 784 Bytes

index.rst

File metadata and controls

21 lines (15 loc) · 784 Bytes
.. program:: ghdl

Examples

A very brief description of how to use VPI is that vpi_user.h provides dozens of functions to scan/navigate the hierarchy of the elaborated hardware design, and it allows setting callbacks for specific events/signals.

Note

Since VHDL sources are agnostic to the usage of VPI modules, most of the examples in this section reuse the same VHDL sources. Readers should focus on the differences between the provided C files.

Attention!

On Windows, the directory containing libghdlvpi.dll needs to be added to the PATH. This can be achieved with :option:`--vpi-library-dir`, :option:`--vpi-library-dir-unix` or $(cd $(dirname $(which ghdl))/../lib; pwd).

.. toctree::

   quickstart
   other