Re: SV-CC Proposal revision 7


Subject: Re: SV-CC Proposal revision 7
From: Kevin Cameron (Kevin.Cameron@nsc.com)
Date: Mon Dec 09 2002 - 12:27:14 PST


Comments:

1. I notice that you have "queuable" applying to external functions, I think that will require multi-threading
    to allow multiple call-stacks (which is why I limited it to exports.). Also, there appears to be no way
    to check for completion in either direction, or (since it implies multi-thredaded behavior) what the
    MT restricytions are.

2. The scoping is asymmetric. You should probably allow different C names for module scope and
    $root.

3. Your examples won't work without some 'extern "C"' decls. being added.

4. Using vpi_get_user_data is likely to be significantly more inefficient than allocating space with
    malloc and remembering it in the context.

Kev.

--
National Semiconductor, Tel: (408) 721 3251
2900 Semiconductor Drive, Mail Stop D3-500, Santa Clara, CA 95052-8090



This archive was generated by hypermail 2b28 : Mon Dec 09 2002 - 12:27:06 PST