From my understanding of Tristan's fine work in ghdl I don't think it's
possible to connect to foreign objects in the mcode version.
I'm far from the best person to answer this and hopefully somebody will
give you a more knowledgable answer but that's my understanding at least.
On 29/02/2012 06:28, D. Jeff Dionne wrote:
Hi all,
Thanks to everyone for continuing to advance GHDL, it has been quite a
while since I used it extensively. I'm running on Mac OS X mostly
these days...
Is there a way to load compiled VHPIDIRECT object files or shared
libraries using the mcode version of GHDL? Since there is no link
step, I was hoping perhaps one could cause ghdl to open a shared
library containing the functions instead of linking them in.
Of course...
# ghdl -e -Wl,test_c.o test
ghdl: unknown option '-Wl,test_c.o' for command '-e'
# ghdl -r -Wl,test_c.o test
ghdl: unknown option '-Wl,test_c.o' for command '-r'
# ghdl -r test
test.vhdl:24:12: unknown foreign VHPIDIRECT 'c_func'
And just because it appears in ghdl --run-help (even though I'm fairly
sure VPI is a different thing entirely...)
# ghdl -r --vpi=./test_c.o test
ghdl: unknown option '--vpi=./test_c.o' for command '-r'
Cheers,
J.
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss