Hipólito Guzmán
2017-04-23 13:23:53 UTC
Hi everybody,
I want to communicate a VHDL simulator with some external code for a
research project and I would like to use GHDL.
What is the status of the VPI / VHPI / interfacing to other languages
implementation on GHDL?
I have been able to compile and run the external sin() example here:
http://ghdl.readthedocs.io/en/latest/GHDL_implementation_of_VHDL.html#interfacing-to-other-languages
, but I'm having trouble getting a simple custom .c/.o file linked with
GHDL. ¿Do I need to create a library with my custom functions, or is there
a way to link against a specific object code file during the elaboration
phase?
I am using GHDL 0.34dev with GCC back-end code generator.
Kind regards,
Hipólito
I want to communicate a VHDL simulator with some external code for a
research project and I would like to use GHDL.
What is the status of the VPI / VHPI / interfacing to other languages
implementation on GHDL?
I have been able to compile and run the external sin() example here:
http://ghdl.readthedocs.io/en/latest/GHDL_implementation_of_VHDL.html#interfacing-to-other-languages
, but I'm having trouble getting a simple custom .c/.o file linked with
GHDL. ¿Do I need to create a library with my custom functions, or is there
a way to link against a specific object code file during the elaboration
phase?
I am using GHDL 0.34dev with GCC back-end code generator.
Kind regards,
Hipólito