From: Stuart Sutherland (firstname.lastname@example.org)
Date: Thu Jun 21 2001 - 13:55:43 PDT
Does anyone in your group want to comment on this (please copy me)?
>Date: Wed, 20 Jun 2001 16:50:55 -0400
>From: Paul Graham <email@example.com>
>Organization: Cadence Design Systems
>X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.5.1 sun4u)
>Subject: Genvars only positive?
>X-Received: By mailgate2.Cadence.COM as NAA26991 at Wed Jun 20 13:54:08 2001
>I'm looking at Draft 4 of the LRM, section 184.108.40.206, where it says:
> A genvar is a positive integer that is local to and shall only be
> within a generate loop that uses it as an index variable.
>Restricting a genvar to be positive actually violates some examples in
>Restricting it to be non-negative means you can't do something like:
> genvar i;
> for (i = 7; i >= 0; i = i - 1) ...
>because the condition (i >= 0) will always be true.
>Why not just allow a genvar to be a signed 32-bit quantity?
>BTW, is there an official place to send LRM errata?
Stuart Sutherland Sutherland HDL Inc.
firstname.lastname@example.org 22805 SW 92nd Place
phone: 503-692-0898 Tualatin, OR 97062
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:54:40 PDT
sponsored by Boyd Technology, Inc.