Re: [sv-cc] SV3.1A issues for sv-cc from SV3.1 - garbage collection


Subject: Re: [sv-cc] SV3.1A issues for sv-cc from SV3.1 - garbage collection
From: Andrzej Litwiniuk (Andrzej.Litwiniuk@synopsys.com)
Date: Wed Jul 16 2003 - 07:41:15 PDT


> These are the open issues I had in my notes that we
> have inherited from the last time (SV 3.1). There is
> a good chance that I might have missed something
> (or have inserted something that does not belong
> here). Please send your feedback.
>
> - Resolve open versus dynamic array terminology
> o clean-up
> - Representation of SV data types
> o clean-up
> o clarify use of strings with DPI
> - Source code inclusion (Michael's proposal)
> - C module (Doug's proposal)
> - Garbage collection for C Handle (Andrzej's question).

===== Garbage collection for C Handle ====

Table 11-1 "Comparison of pointer and handle types",
on p.80, section 11.4 of the LRM contains 'Yes'
in the row "Unreferenced objects are garbage collected"
for the column "SV chandle".
This is plain wrong. This entry should contain 'No'.

IMHO no garbage collection can be performed on chandles
which are meant to represent generic pointers to objects
allocated, freed and referenced outside of SV code.
I suppose this is an overlook rather than a deliberate decision
of the editors.
If it were a decision, I would have to opose it strongly.

Regards,
Andrzej

> - Doug's bnf question.
>
> --
> Swapnajit Mittra



This archive was generated by hypermail 2b28 : Wed Jul 16 2003 - 07:42:24 PDT