Steven, I was just explaining why the feature was put into the language; I'm not against standardizing a default naming convention for the PLI. I will mention that there is no standard for naming unnamed primitive instances, which have been around longer than generate. Dave > -----Original Message----- > From: Steven Sharp [mailto:sharp@cadence.com] > Sent: Wednesday, May 18, 2005 3:53 PM > To: mac@verisity.com; Vreugdenhil, Gordon; Rich, Dave > Cc: sv-bc@eda.org > Subject: RE: [sv-bc] Naming of unnamed sequential blocks > > 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.comReceived on Wed May 18 16:18:41 2005
This archive was generated by hypermail 2.1.8 : Wed May 18 2005 - 16:18:46 PDT