Hallo,
I write on a cosimulation with the vhpi interface to C.
Now I need a vhdl procedure that get from the C code some datas and also
a flag.
[vhdl]
procedure vhpi_emu ( value: out integer; value_valid: out integer;
solved_back: in integer);
attribute foreign of vhpi_emu :
procedure is "VHPIDIRECT vhpi_emu";
[\vhdl]
How looks the c code for this procedure?
In C I have only return with one value.
How can connect a C function to this VHDL procedure?
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss