Le 2014-04-11 07:33, [email protected] a écrit :
Now, I have a new question :
has anyone tried to call a VHDL procedure as a POSIX signal handler ?
:-)
the setup with signal() probably needs to be in C but the callback
would greatly benefit from being directly in VHDL !
I don't see any problem, as long as:
* no suspension (wait statement)
* no signal assignment
* no use of unconstrained array in returns
The main issue is that you can't call malloc() within a signal handler.
This all makes sense.
I have chosen to follow a different direction but it's very good to know
this !
Now comes the question of providing the address of the VHDL function to
signal(),
without objdump.
thanks !
Tristan.
yg
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss