Re: Fwd: Genvars only positive?

From: Shalom Bresticker (Shalom.Bresticker@motorola.com)
Date: Tue Jul 10 2001 - 07:32:00 PDT


Paul Graham wrote:

> Precedence: bulk
>
> > Arrays of instances are described in sections 7.1.5-7.1.6.
> >
> > However, there the context is instances of primitives, such as gates, not
> > of modules.
>
> Though in chapter 12 there is a reference back to chapter 7, so arrays of
> modules are covered.

You're correct. I missed that.

There should be an example, particularly of a hierarchial name of a net or variable in an instance in an array.

<p>> > The following statement appears there:
> > "An individual instance from an array of instances shall be referenced in
> > the same manner as referencing an element of an array of regs."
>
> That's far too vague. For instance, an array of regs can be referenced
> using a variable index. Surely this is not allowed for an array of
> instances.

Why not ?

<p>> The rules for referencing an instance array should go into the
> section on constructing hierarchical names (12.4 I think).

Yes.

<p>> > Looks like Stefen has his first entry for BTF errata.
>
> What about changing the definition of genvars from positive to unsigned (or
> signed)?

It's currently described as a non-negative integer.
Making it unsigned would not help you.

Shalom

--
**************************************************************************
Shalom Bresticker                           Shalom.Bresticker@motorola.com
Motorola Semiconductor Israel, Ltd.                  Tel #: +972 9 9522268
P.O.B. 2208, Herzlia 46120, ISRAEL                   Fax #: +972 9 9522890
**************************************************************************


This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:42 PDT and
sponsored by Boyd Technology, Inc.