On 27/08/2015 19:40, René Doß wrote:
>> why "out" ?
>>
> I want collect some values exchange to the C-Code.
> For instance a random generator in vhdl and a statistic distribution
> analysis in C code correlation.
>
>
> correct for your hint.
>
> Later I need also some procedures with in to get some values back.
>
>
I think you invert "in" and "out"

in is for input parameter (the called C procedure get a value from the
VHDL caller)
out is for output parameter (the called C procedure returns a value to
the VHDL caller)

For your signal problem: you can't have a signal as an output variable
parameter "out", it is possible with a "in"

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

Reply via email to