FEA-Bench / testbed /cocotb__cocotb /docs /source /library_reference_c.rst
hc99's picture
Add files using upload-large-folder tool
cb65407 verified
raw
history blame
584 Bytes
*********************
GPI Library Reference
*********************
Cocotb contains a library called ``GPI`` (in directory :file:`src/cocotb/share/lib/gpi/`) written in C++
that is an abstraction layer for the VPI, VHPI, and FLI simulator interfaces.
.. image:: diagrams/svg/cocotb_overview.svg
The interaction between Python and GPI is via a Python extension module called ``simulator``
(in directory :file:`src/cocotb/share/lib/simulator/`) which provides routines for
traversing the hierarchy, getting/setting an object's value, registering callbacks etc.
.. doxygenfile:: gpi.h