On Thu, 2014-10-30 at 08:46 +0100, [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 :-)

My only problem with block comments is that the C implementation gets
them spectacularly wrong.

In Modula-2 you count up the start /* (ok, (* )  markers and count down
the end */ markers. 

Only when the count is 0 do you parse anything else.

This means that commenting out a chunk of code actually does what you
want, even if that chunk of code is commented! 

Unfortunately VHDL-2008 follows C in that respect. I wonder if it's
worth suggesting an enhancement to fix that?

- Brian



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

Reply via email to