[sv-cc] Re: missing svPutPartSelectBit() - and other oversights


Subject: [sv-cc] Re: missing svPutPartSelectBit() - and other oversights
From: Stickley, John (john_stickley@mentorg.com)
Date: Mon Mar 31 2003 - 11:45:20 PST


Andrzej,

Andrzej Litwiniuk wrote:
> > Another minor one: Missing definition of svScope typedef.
> >
> > You should insert this before the typedef for the svOpenArrayHandle:
> >
> > typedef void *svScope;
>
> Yeah.
>
>
> > Also, I notice that svGet64Bits returns a long long. Had you
> > intentionally decided not to define an svBitVec64 data type
> > to be consistent with the typedef for svBitVec32 ?
> >
> > Seems like svGet64Bits should return svBitVec64 typedef'ed
> > as follows:
> >
> > typedef unsigned long long svBitVec64;
> >
> > -- johnS
>
>
> This omission was intentional. I was afraid that svBitVec64 could have
> been misinterpreted as an alternative form of canonical representation, with
>
> 64-bit chunks instead of 32-bit.

I understand.

But probably you should at least define its return type to
be unsigned long long to be consistent with svBitVec32's typedef
of unsigned int.

> Now I'm not sure whether we should keep svGet64Bits at all.

Let's keep it. I think it is useful.

>
> Andrzej
>

-- 

This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. __ ______ | \ ______________________/ \__ / \ \ H Dome ___/ | John Stickley E | a __ ___/ / \____ Principal Engineer l | l | \ / Verification Solutions Group | f | \/ ____ Mentor Graphics Corp. - MED C \ -- / / 17 E. Cedar Place a \ __/ / / Ramsey, NJ 07446 p | / ___/ | / / mailto:John_Stickley@mentor.com \ / Phone: (201)818-2585 \ / ---------



This archive was generated by hypermail 2b28 : Mon Mar 31 2003 - 11:47:07 PST