Re: compiler directives

From: Pragmatic C Software (sjmeyer@pragmatic-c.com)
Date: Sun Dec 16 2001 - 23:02:16 PST


Precedence: bulk

No, I think original OVI LRM had that same sentence but made statement for
all directives. Ths typo of only saying `include happened in the
change to 1995 P1364 LRM. There are lots of other directives that take
arguments and many directives that must appear outside any module
definition that I think need to be isolated on one line.

Standard should only require C preprocessor type isolated on one line
directives and vendors should be allowed to add enhancements such as allowing
directives than can appear inside modules anywhere on line. Users should
be able to decide if they want the added XL flexibility at the cost of
elaboration speed.
/Steve

Quoting Paul Graham (pgraham@cadence.com):
> Precedence: bulk
>
> > Though, for some reason, `include is documented as being different. Why?
> >
> > IEEE 1364-2001, Section 19.5, page 357, middle of page says:
> >
> > "Only whitespace or a comment may appear on the same line as the `include
> > compiler directive."
>
> Well, remember that the LRM is basically the user documentation for
> Verilog-XL. If that's how Verilog-XL implemented include directives,
> then that's how it got documented!
>
> Paul

-- 
Steve Meyer
sjmeyer@pragmatic-c.com


This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:48 PDT and
sponsored by Boyd Technology, Inc.