Subject: Re: [sv-cc] Updated LRM
From: Stickley, John (john_stickley@mentorg.com)
Date: Wed Mar 19 2003 - 09:34:57 PST
Andrzej,
Just a quick reminder. Will one of you - be putting in the changes
to the C-layer regarding the part select functions that we discussed ?
Here's a re-cap of that discussion:
Andrzej Litwiniuk wrote:
 >> Agree. If nobody objects, I'll remove the current version of
 >> svGetPartSelectBit,
 >> although we may want to keep the name with a different functionality.
 >>
 >> So, a dilemma seems to be as follows:
 >>
 >> 1) keep the same name 'svGetPartSelectBit'
 >> 2) use different name, say svGetBits, in order to avoid confusion:
 >>          svBitVec32 svGetBits(const svBitPackedArrRef s, int i, int w);
 >>
 >>
 >> I suppose that cases of extracting 32 bits or 64 bits (in two chunks)
 >> may be
 >> pretty common. What would you think about adding two specialized
 >> functions
 >> just for those cases? Something like this:
 >>
 >>    svBitVec32 svGet32Bits(const svBitPackedArrRef s, int i); // fixed
 >> width=32
 >>    long long  svGet64Bits(const svBitPackedArrRef s, int i); // width
 >> width=64
 >>
 >
 > johnS:
 > This would be great. I like the addition of the 64 bit variant too.
 > I would have no objection to keeping svGetPartSelectBit() as is
 > if we can have these two additional functions on in addition to it.
Thanks,
-- johnS
                                                            __
                        ______                             |  \
______________________/      \__                         /    \
                                 \       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 : Wed Mar 19 2003 - 09:35:54 PST