Re: [sv-ec] System Include Proposal - Version 2


Subject: Re: [sv-ec] System Include Proposal - Version 2
From: Neil Korpusik (Neil.Korpusik@eng.sun.com)
Date: Thu Mar 13 2003 - 10:21:34 PST


> > - Use [] instead of <>. This was suggested to separate
> > OS-specific includes from tool specific includes.
> >
> > This proposal only deals with code defined by the language standard. If
> > there are OS specific extensions to the language standard in the future
> > then they will also live here. Kevin continues to want to share 'C' and
> > 'SV' headers after running them through a pre-processor. I would
> > suggest you can do this by just defining your own -I directory that you
> > place the pre-processed headers in and reference them with the existing
> > "file" syntax like any other source in your design.
> >
>
> OK, if we're just using <> can we have a convention that SystemVerilog
> tool specific standard include files end in ".svh", or something else other
> than ".h" ?
>
> Regards,
> Kev.
>

A common convention used within Sun is to use the .vh suffix (as shown
below in Jay's example) to indicate a Verilog .h file.

Neil

> >
> > As the amount of code grows under <> it may make sense to divide it up
> > by subdirectories in the standard itself.
> >
> > `include <types/list.vh>
> > `include <types/semaphore.vh>
> > `include <math/trig.vh>
> >
> >
> ....
>



This archive was generated by hypermail 2b28 : Thu Mar 13 2003 - 10:23:03 PST