RE: [sv-cc] Typespec diagram : Section 32.17

From: Tapati Basu <Tapati.Basu_at_.....>
Date: Wed May 11 2005 - 10:21:17 PDT
Hi ,

I am a bit confused here. Can we talk about this in next sv-cc meeting ?


- Thanks,
Tapati 
>X-Authentication-Warning: server.eda.org: majordom set sender to 
owner-sv-cc@eda.org using -f
>From: "Francoise Martinolle" <fm@cadence.com>
>To: "'Tapati Basu'" <Tapati.Basu@synopsys.COM>, <sv-cc@eda.org>, 
<vellenga@cadence.com>
>Subject: RE: [sv-cc] Typespec diagram : Section 32.17
>Date: Wed, 11 May 2005 11:51:33 -0400
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>Thread-Index: AcVU2vwnaM47rgIjSA6ipI1YbP4TzQBY4Uog
>X-Received: By mx-sanjose.cadence.com as j4BFpXAj018398 at Wed May 11 08:51:34 
2005
>X-Virus-Scanned: ClamAV 0.83/875/Tue May 10 04:27:59 2005 on server.eda.org
>X-Virus-Scanned: ClamAV 0.83/875/Tue May 10 04:27:59 2005 on server.eda.org
>X-Virus-Status: Clean
>X-pstn-levels: (S:99.90000/99.90000 R:95.9108 P:95.9108 M:97.0232 C:98.7678 )
>
> Tapati,
>
>I always assumed that a packed struct, or enumeration type
>has an implied range which is the sum of the 
>width of each of the members (resp. the width of the enumeration base type).
>
>If we reason like this then we can return an equivalent
>range iteration for the my_arr array. 
>If we want the vpiRange iteration to work on such cases, we need to allow to
>get
>an implied range for packed struct or enum type. I think we had it but we
>removed it
>recently from the net diagram.
>
>Also I would suggest that a VPI application consider an array to be an array
>of arrays
>and traverse the vpiElemTypespec relationship in order to get correct
>element information.
>
>Francoise
>    '
>
>
>
>-----Original Message-----
>From: owner-sv-cc@eda.org [mailto:owner-sv-cc@eda.org] On Behalf Of Tapati
>Basu
>Sent: Monday, May 09, 2005 5:06 PM
>To: sv-cc@eda.org; vellenga
>Subject: [sv-cc] Typespec diagram : Section 32.17
>
>What should be the Typespec of this variable ? 
>
>bit [2:0][3:0][4:0] a ??
>
>If I return the type as bit Typespec, then I can get the ranges using ranges
>iterate. That is fine, But then how do we represent this scenario ? 
>
>typedef struct packed{
>   bit i;
>   bit j;
>}a;
>
>a [2:0][3:0][4:0] my_arr 
>
>What should be the typespec of this ? 
>
>Can anybody please answer me ? 
>
>- Tapati 
>  
>  
>
>
>>X-Authentication-Warning: server.eda.org: majordom set sender to
>owner-sv-cc@eda.org using -f
>>X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
>>Content-class: urn:content-classes:message
>>MIME-Version: 1.0
>>Subject: [sv-cc] A couple of comments on 345
>>Date: Mon, 9 May 2005 15:35:04 -0400
>>Thread-Topic: A couple of comments on 345
>>Thread-Index: AcVUzjLfiUO7413xQX6VkTZHEHjhwQ==
>>From: "Jim Vellenga" <vellenga@cadence.com>
>>To: "Steven Dovich" <dovich@cadence.com>, "SV-CC" <sv-cc@eda.org>
>>X-Received: By mailgate2.Cadence.COM as MAA18705 at Mon May  9 12:32:33 
>>2005
>>X-Virus-Scanned: ClamAV 0.83/873/Mon May  9 09:36:51 2005 on 
>>server.eda.org
>>X-Virus-Scanned: ClamAV 0.83/873/Mon May  9 09:36:51 2005 on 
>>server.eda.org
>>X-Virus-Status: Clean
>>Content-Transfer-Encoding: 8bit
>>X-MIME-Autoconverted: from quoted-printable to 8bit by server.eda.org 
>>id
>j49JZ74Y021043
>>X-pstn-levels: (S:99.90000/99.90000 R:95.9108 P:95.9108 M:97.0232 
>>C:98.7678 )
>>
>>In 26.3.8, there seems to be a stray word "comp".
>>
>>In the same section, the note talks about "by direct lookup".  As far 
>>as I can tell, this is a phrase that is new to 1364.  Does it mean via 
>>vpi_handle_by_name?
>>If so, perhaps it would be simpler to say "through object relationships 
>>or via vpi_handle_by_name."
>>
>>Also, in the same note, would Stu prefer the use of "can" rather than 
>>"may"?
>>
>>Regards,
>>Jim V.
>>
>>--------------------------------------------------------- 
>>James H. Vellenga                            978-262-6381 
>>Engineering Director                   (FAX) 978-262-6636 
>>Cadence Design Systems, Inc.         vellenga@cadence.com 
>>270 Billerica Rd
>>Chelmsford, MA 01824-4179
>>"We all work with partial information." 
>>----------------------------------------------------------
>>  
>
>Tapati Basu
>
>

Tapati Basu
Received on Wed May 11 10:21:22 2005

This archive was generated by hypermail 2.1.8 : Wed May 11 2005 - 10:21:27 PDT