I have added the following comment as another Bugnote: Well, if "a" were declared as "wire a;" or "reg a;", I think Shalom would be correct. But what if "a" is declared as "wire [0:N-1] a;", where the value of the parameter "N" is 1. In this case, is "a" itself a vector or a scalar? The sentence that Shalom cited applies only if we start with the knowledge that "a" is a scalar. As for a part select, it doesn't appear to me that the properties vpiScalar and vpiVector are actually defined for a part select or indexed part select, are they? So Charles, can you refine what the original question really means? Are you in fact talking about a part select, or are you talking about a declaration? And if a declaration, what kind of declaration? Regards, Jim --------------------------------------------------------- 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." ---------------------------------------------------------- ]-----Original Message----- ]From: owner-sv-cc@eda.org [mailto:owner-sv-cc@eda.org] On ]Behalf Of Bresticker, Shalom ]Sent: Wednesday, October 11, 2006 7:42 AM ]To: Charlie Dawson; SV-CC ]Subject: RE: [sv-cc] SV-CC agenda for 10/11/2006 ] ]My comment on 1613: ] ]I think this belongs to SV-BC. ] ]This was dealt with in 1364 BTF issue 261. ]See http://www.boyd.com/1364_btf/report/full_pr/261.html . ] ]1364-2005 says, ]"A bit-select or part-select of a scalar, or of a variable ]declared as real or realtime, shall be illegal." ] ]Since it is illegal to take a part-select of a scalar, a[0:0] ]must be a vector. ] ]This was also discussed in a thread beginning at ]http://www.eda.org/sv-bc/hm/2585.html . ] ]I propose to close this issue as 'not a bug'. ] ]> - Item 1613 Should a[0:0] be considered a vector or scalar? ] ]Shalom ] ]Received on Wed Oct 11 05:18:28 2006
This archive was generated by hypermail 2.1.8 : Wed Oct 11 2006 - 05:18:39 PDT