No, the VHDL is not translated into an Ada program.
But the GHDL runtime system is mostly written in Ada, so embedding Python into that may still be relevant. Where the sticking point probably comes is this : a normal Ada application is built using the normal Ada RTS (for Gnat, that is GNARL, the Gnat Runtime Library) whereas the GHDL runtime system is independent of the Ada RTS, since it effectively replaces it. So the Gems #105,106 may not be directly applicable, to the extent they depend on GNARL. To what extent is that? I don't know. You'd probably have to try building the relevant bits of Gnatcoll stand-alone, without the underlying RTS, and ditto the Gem example to find out... -- Brian ________________________________ From: Ghdl-discuss <ghdl-discuss-boun...@gna.org> on behalf of Adam Jensen <han...@riseup.net> Sent: 27 October 2016 17:33:10 To: ghdl-discuss@gna.org Subject: Re: [Ghdl-discuss] Synthesis for FPGAs On 10/27/2016 07:06 AM, Martin Strubel wrote: > I've also checked > > http://docs.adacore.com/gnatcoll-docs/scripting.html#the-python-language > > and it looks like there might be OO templates (the Console class > wrapper) to make this engineering task nice. Someone's gotta try.. :) [snip] After thinking about it a bit, embedding Python (or Tcl) into an Ada application might not be the issue. While the GHDL compiler is written in Ada, I don't think it does anything like translating the VHDL into an Ada program (at which point the above mentioned technique would be used to embed an interpreter) and then compiles it with GNAT. _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss
_______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss