> Hi again :-)
> 
> an idea crossed my mind, and I seem to remember that GHDL has some
> cool
> features under the hood, so it might be useful :-)
> I'd like to automatically generate a VHDL wrapper for somewhat
> arbitrary designs. I can try to parse the top level's entity
> declaration
> but 1) GHDL already parses so why rewrite a parser ?
> and 2) the VHDL declaration might contain stuff defined in other
> files.
> 
> This means that I would have to export the interface after
> elaboration,
> while interfacing with the program with some additional code,
> but how would I do ? Is VPI a good solution or overkill ?

Can you sketch a little example ?  Do you want to drive a design
from C ?  In that case, VPI/VHPI would be the obvious solution
(although may not be available yet in ghdl).

Tristan.

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

Reply via email to