Re: [sv-ec] Extensions from SV-BC


Subject: Re: [sv-ec] Extensions from SV-BC
From: Kevin Cameron (sv-xx@grfx.com)
Date: Sat Dec 07 2002 - 12:42:05 PST


> From: "David W. Smith" <dws@dolcesfogato.com>
>
> The following extensions have been assigned to the SV-EC from the SV-BC.
>
> 1. Interface scheduling
> 2. Interface Usage
> 3. Modports
> 4. Reference (opaque pointer) mechanism for use with C interface.
> 5. data alignment
>
> The first three items have been placed in a delayed status. We will need
> to review these at the next meeting and make a decision as to what to do
> with them. For now they are not part of 3.1.
>
> The 4th item needs to have a little more requirement definition as to
> what is needed but may be able to be meet with the existing
> "pass-by-reference" style mechanism.
>
> The 5th item did not seem to be an enhancement request but an issue that
> should be resolved in SV-BC. This was the initial response to this item
> when it was sent.
>
> So, to the SV-BC recipients. please send a clearer definition of what
> you require for opaque pointers and let me know if the data alignment
> issue has landed there.

Do pointers have to be opaque if you can't derefrence them anyway?

It is useful to be able to declare external (C) functions that take
pointer arguments using the same syntax as C since that would allow
using (more or less) the same header files. E.g. you could declare
a pointer in SV the same as in C:

  int *foo;

- you can't do anything with 'foo' but pass it around because there
are no dereferencing operators - but you can type check calls etc.

Kev.

> David W. Smith
> Synopsys Scientist
>
>
> Synopsys, Inc.
> Synopsys Technology Park
> 2025 NW Cornelius Pass Road
> Hillsboro, OR 97124
>
>
>
> Voice: 503.547.6467
> Main: 503.547.6000
> FAX: 503.547.6906
> Email:
> <mailto:david.smith@synopsys.com?subject=Re:%20$sv-ec%20Agenda%20for%202
> 5%20November%202002%20Meeting&replyto=007c01c2928f$a1c84330$6e29040a@Ram
> irez> david.smith@synopsys.com
> Web: <http://www.synopsys.com/> http://www.synopsys.com
>



This archive was generated by hypermail 2b28 : Sat Dec 07 2002 - 12:42:56 PST