Le 2015-10-28 19:45, René Doß a écrit :
Hallo,
a record in the VHDL code and a struct in the C code.
I think inout is not nesesary. Both out parameter can be combined.
record <-----return struct
The C should not return a struct.
if it modifies the struct that GHDL allocated on its own stack,
the C function is void type.
This can work. Now is the question, how is the correct syntax?
I have no clue.
This depends a lot on what data you want to exchange and
you haven't told us enough. (And I am OCD on another project :-P)
René
yg
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss