Subject: [sv-ec] Errata on Associative arrays
From: David W. Smith (david.smith@synopsys.com)
Date: Tue Oct 14 2003 - 13:13:03 PDT
Greetings,
I received the following email from Dave Rich indicating the desire to open
an errata item related to indices on associative arrays (Sections 4.9 and
4.10). I have opened ERR-41 with the following problem definition and
proposed solution.
Regards
David
>David,
>
>The LRM section 4.9 says "and the index expression is not restricted to
>integral expressions, but can be of any type."
>
>I think we need to add " where it is legal to use the equality
>operator"
>to the end of the sentence. This basically restricts them to fixed size
>data types, with string being an exception because we have defined
>equality of strings.
>
>We also need to add in section 4.10 "If the relational operator is not
>defined for the index type, 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 must remain the same for an
>unmodified array within the same run"
-- -- David.Rich@Synopsys.com Technical Marketing Consultant http://www.SystemVerilog.org tele: 650-584-4026 cell: 510-589-2625
This archive was generated by hypermail 2b28 : Tue Oct 14 2003 - 13:15:04 PDT