I agree that time should have been added to the list, since it is an integer type with a predefined width. Although the BNF allows you to rename the type with a typedef, it does not change the fact that it is a n integer type with a predefined width. I propose the following change section 5.2 Integer types with predefined widths cannot have packed array dimensions declared. These types are byte, shortint, int, longint, and integer. Integer types with predefined widths shall not have packed array dimensions declared. These types are byte, shortint, int, longint, integer, and time. Can you enter a mantis item? ________________________________ From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of francoise martinolle Sent: Friday, December 16, 2005 9:50 AM To: sv-bc@eda.org Subject: [sv-bc] packed array question Are packed arrays of time allowed? Is the following legal: typedef time [1:5] myvector_of_time; or typedef time mytime; typedef mytime myvector_of_mytime; Section 5.2 Integer types with predefined widths cannot have packed array dimensions declared. These types are byte, shortint, int, longint, and integer. Time seems to be missing from that sentence. The sentence seems to also imply that you can do the following: typedef int myint; typedef myint myvector_of_myint; Francoise 'Received on Fri Dec 16 10:00:00 2005
This archive was generated by hypermail 2.1.8 : Fri Dec 16 2005 - 10:00:04 PST