ISSUE 317

Number 317
Category errata
Synopsis 3.10: max array size not clear enough
State lrmdraft
Class errata-discuss
Arrival-DateMar 29 2003
Originator Shalom.Bresticker@motorola.com
Release 2001b:3.10
Environment
Description
3.10 says,
"Implementations may limit the maximum size of an array,
but they shall at least be 16777216 (2^24)."

Besides the grammar problem (what does "they" refer to?),
it is unclear what this "maximum size 2^24" refers to.

Is it the number of bytes in the array?
Is it the size of each dimension?
Is it the number of elements in the array?
etc.
Fix
In 3.10, in the final sentence before 3.10.1,

CHANGE

"they shall at least be 16777216 (2^24)"

TO

"they shall allow at least 16777216 (2^24) elements"

Audit-Trail
From: Steven Sharp <sharp@cadence.com>
To: etf-bugs@boyd.com
Cc:
Subject: Re: errata/317: 3.10: max array size not clear enough
Date: Tue, 29 Apr 2003 18:28:52 -0400 (EDT)

>Is it the size of each dimension?
>Is it the number of elements in the array?

I believe it was intended to be one of these, which were the same thing
for single-dimensioned arrays. Now with multi-dimensional arrays, it is
less obvious. Total number of elements probably matches the intent best.

Perhaps change the wording to

"Implementations may limit the maximum size of an array, but they shall
allow at least 16777216 (2^24) elements."

Saying "total elements" instead might help, or it might be misinterpreted
as meaning the total for all arrays in the design.

Of course, this may still be more limited by not having enough system
memory for the array, but hopefully this is understood.

Steven Sharp
sharp@cadence.com

Unformatted


Hosted by Boyd Technology