[sv-cc] Other errata for VPI

From: Francoise Martinolle <fm@cadence.com>
Date: Thu Mar 25 2004 - 14:25:49 PST

The instance diagram (31.12) shows iteration on scopes, processes, defparam
and clocking blocks for packages, this is wrong according to the BNF which
does not allow these things to be declared in packages.

  Additionally, the access to the default clocking should be removed from a
package reference handle.
Array of packages does not make sense so the iteration on instances from an
intance array returning a package should be removed, same for accessing the
index (vpiIndex) of a package array element.

Additionally the vpiFullName of a package should be defined. As SV allows
to have package names be the same a module names, we have a potentially
ambiguity with look up by hierarchical name if both top level modules and
packages have the same name.
If something is declared in $root or in $unit, what is his fullname of a
global thing or the fullname of a global thing living to a compilation
unit? This is undefined at the moment.
Can vpi_handle_by_name return handles to things defined in the global name
space of a compilation unit?
Can vpi_handle_by_name found imported items from a scope handle to a module
importing the package. I would expect that the answer is no, since the
imported item is not declared in the module but is just imported.

Can we resolve these issues?

Francoise
        '
Received on Thu Mar 25 14:25:57 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 25 2004 - 14:26:09 PST