RE: [sv-bc] Naming of unnamed sequential blocks

From: Steven Sharp <sharp_at_.....>
Date: Wed May 18 2005 - 15:53:04 PDT
Dave Rich wrote:
>They were thinking that there are times that you don't want others to
>have access to locally declared variables, and other languages get along
>fine without having to name locally declared blocks.

The rules for generates don't allow access to the locally declared
variables from the HDL.  The standard convention for the names is
intended for consistency in such things as waveform dumping, PLI
and user interfaces.  This is potentially useful, and defining a
standard convention is cheap.

>When you use the PLI, you use iterators instead of accessing the blocks
>by name.

You can.  And if you get a handle using iterators, you can then ask for
a full hierarchical name.  Then you would expect to be able to access
that object using the name you were given.

Steven Sharp
sharp@cadence.com
Received on Wed May 18 15:53:08 2005

This archive was generated by hypermail 2.1.8 : Wed May 18 2005 - 15:53:16 PDT