Re: [sv-cc] DirectC: supporting references in DirectC


Subject: Re: [sv-cc] DirectC: supporting references in DirectC
From: Michael Rohleder (michael.rohleder@motorola.com)
Date: Fri Feb 28 2003 - 08:02:25 PST


a) I am also against supporting references; and said this much, much earlier,
   - have a look at the last paragraph of http://www.eda.org/sv-cc/hm/0820.html
b) Until now nobody demanded supporting of references by DPI
c) My feeling was that we reached agreement during the last call about default values and support of call by name

This is just asking Swapahnajit and Ghassan whether we could have a poll on this issues, since I think we can easily close them or did I
miss something ???

-Michael

Andrzej Litwiniuk wrote:

> > I have heard nobody in favor of supporting references (besides Kevin, and I am even not sure here), therefore I have already asked
> > Swapnajit/Ghassan to start a poll on this. We should get closure on this as soon as possilbe, because it relates to other
> > committees, which might make the stuff even more complicated.
> >
> > -Michael
>
> > > I'm hoping we can get closure on references pretty soon,
> > > i.e. don't support them. Depending on how that turns out,
> > > you probably need to communicate that in your requirements
> > > to sv-ec, Joao.
> > >
> > > Doug
>
> 1. I'm against supporting references (formal args qualified as 'ref')
> for DirectC.
> The decision whether to support 'ref' is not isolated one.
> If 'ref' is decided to be supported, C Layer will have to be re-worked.
>
> 2. I can only guess the motivation and rationale for 'ref' in SV.
>
> Most obvious is the performance, but this is already addressed with
> our C Layer solution, which actually uses passing by references
> whenever it matters.
>
> There are also some semantical consequences of using 'ref' instead
> of inout, visible mainly for aliases. But IMO this is very bad programming
> style that should be discouraged rather than endorsed by providing
> explicit support.
>
> Regards,
> Andrzej

--

NOTE: The content of this message may contain personal views which are not neccessarily the views of Motorola, unless specifically stated.

___________________________________________________ | | _ | Michael Rohleder Tel: +49-89-92103-259 | _ / )| Software Technologist Fax: +49-89-92103-680 |( \ / / | Motorola, Semiconductor Products, System Design | \ \ _( (_ | _ Schatzbogen 7, D-81829 Munich, Germany _ | _) )_ (((\ \>|_/ > < \_|</ /))) (\\\\ \_/ / mailto:Michael.Rohleder@motorola.com \ \_/ ////) \ /_______________________________________________\ / \ _/ \_ / / / \ \

The information contained in this email has been classified as: Motorola General Business Information (x) Motorola Internal Use Only ( ) Motorola Confidential Proprietary ( )

*** This note may contain Motorola Confidential Proprietary or Motorola Internal Use Only Information and is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. Thank you! ***




This archive was generated by hypermail 2b28 : Fri Feb 28 2003 - 08:04:30 PST