Subject: Re: pragmas
From: Daryl Stewart (Daryl.Stewart@cl.cam.ac.uk)
Date: Tue Dec 18 2001 - 07:19:45 PST
Looks like the sort of thing that should be left to a lint type tool. Could be
configured to complain about use of (any) unexpected pragmas. That way you can
catch different subsets for different front-ends or styles...
Doesn't really seem like a standard's thing?
cheers
Daryl
> Precedence: bulk
>
>
> --------------688E888747C6731914C9A3D4
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Right, which is why I do not like that solution.
>
> Shalom
>
>
> Paul Graham wrote:
>
> > > One thing which bothers me about pragmas implemented as comments or
> > > attributes is, what happens if the pragma is mis-spelled and therefore
> > > ignored by the tool ?
> > >
> > > How will such an error be detected ?
> >
> > The tool could issue a warning for any unrecognized pragma. This might get
> > annoying if, say, many non-synthesis pragmas appear in a synthesizable
> > module.
> >
> > Paul
>
> --
> Shalom Bresticker Shalom.Bresticker@motorola.com
> Principal Staff Engineer Tel: +972 9 9522268
> Motorola Semiconductor Israel, Ltd. Fax: +972 9 9522890
> POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 441478
>
>
This archive was generated by hypermail 2b28 : Tue Dec 18 2001 - 07:24:41 PST