VPI Module/Instance

Y

Yottameter

Guest
What I'm attempting to do is set a value on a net within a module (not
an instance) in VPI so it will apply that value to every instance of the
module.I am doing this at run time using VPI.

In VPI when I use

vpiHandle module_handle = vpi_handle(vpiModule, this_scope_h);

it returns an instance that instantiated this_scope_h.

Is there a way to set a value on a module in VPI so that the value is
present in every instance? I don't want to have to iterate through the
entire instance tree looking for a module name, and then setting the net
in each instance of that module. I also am unable to modify the module
code, as it would cause a recompile.

Thanks.
 

Welcome to EDABoard.com

Sponsor

Back
Top