[sv-bc] 4.3 out of range indexes


Subject: [sv-bc] 4.3 out of range indexes
From: Shalom.Bresticker@motorola.com
Date: Fri Oct 17 2003 - 02:03:47 PDT


Sorry if this was already brought up.

The last paragraph of 4.3 says,

"Out of range index values shall be illegal for both reading from and
writing to an array of 2-state variables, such as 'int'. The result of an
out of range index is indeterminate. Implementations shall generate a
warning if an out of range index occurs for a read or write operation."

I don't understand what this "illegal" means.
"Illegal" usually means that it generates a fatal error.
If the behavior is discussed ("indeterminate" in this case),
and the simulation continues, then it becomes a "use at your own risk",
but not illegal?

Thanks,
Shalom

-- 
Shalom Bresticker                           Shalom.Bresticker@motorola.com
Design & Reuse Methodology                             Tel: +972 9 9522268
Motorola Semiconductor Israel, Ltd.                    Fax: +972 9 9522890
POB 2208, Herzlia 46120, ISRAEL                       Cell: +972 50 441478



This archive was generated by hypermail 2b28 : Fri Oct 17 2003 - 02:07:33 PDT