On 30/10/14 15:46, [email protected] wrote:
>> Do check out some of my projects on opencores.org. You may like to
>> give the following project a shot of ghdl, since this one is by far
>> the most complex of all my designs there on OpenCores. :)
>> http://opencores.org/project,axi4_tlm_bfm
> Ehh, apparently you're a fan of C comments :-)
>
> (not yet supported :-(
Yes, but I currently have a script that detects C-style comments and
strips them off for synthesis. Here's my regular expression (in Perl,
sorry) in case you'd like to reuse it:
    $chars =~ s#/\*.*?\*/##gsm;

where $chars are characters read from a VHDL source file. This just
strips off the block comments, which may be sufficient enough for the
tool (e.g. ghdl) to parse the rest of the code.
This is using Perl's regular expressions, so maybe some tweaking is
needed to convert it to Ada. Sorry, I haven't learnt enough Ada to be
able to code effectively, yet.

Anyway, I'm a big fan of other VHDL-2008 features as well, not just
block comments. :)
And, that project makes good use of some of them (e.g. enhanced generics).

-daniel

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to