Hi Adam,

Le 2015-03-25 17:38, Adam Jensen a écrit :
I would like to collect some simple coding & compiling examples of
VHPI use and VPI use (with GHDL). There is some documentation of VHPI
in the manual[1] and some VHPI examples on the web[2] but I haven't
been able to find GHDL-VPI examples and descriptions sufficient enough
to start making use of it.

[1]: http://home.gna.org/ghdl/ghdl/Interfacing-to-other-languages.html#Interfacing-to-other-languages
[2]: http://ygdes.com/GHDL/
[3]: http://tech.section5.ch/news/?p=183 "Mentions VPI but no examples
(that I could find)"

With enough examples it should be possible to isolate the key
technical points and write VHPI and VPI "how-to" pages for the GHDL
wiki.

I have tried to use VPI but always failed, so I stick to VHPI.
My approach today is to expose the debugging/inspection design to the
whole system, mainly because I want to use the same debug tools during
the other stages of implementation, such as when the design is in a FPGA.

Feel free to reuse examples from http://ygdes.com/GHDL/ and ask me questions if something is not clear. The files are free software extracts from long
articles so they may not contain or document all the subtleties.

yg

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to