How are indices ordered for an associative array when the index type is a user-defined type? The LRM says, "the relative ordering of any two entries in such an associative array can vary, even between successive runs of the same tool. However, the relative ordering shall remain the same within the same simulation run while no indices have been added or deleted." That is, there is an order, but "smallest" and "largest" are not appropriate terms, either. As for dynamic arrays, surely a dynamic array is considered as being [0:N-1]. For example, one can take a slice from it. > It is precisely because of associative arrays that the > smallest/largest index order is relevant. Left and right > indices are not well defined for an associative array, but > its indices do have a well defined ordering. Regards, Shalom --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Sun Jun 14 19:26:54 2009
This archive was generated by hypermail 2.1.8 : Sun Jun 14 2009 - 19:27:41 PDT