[sv-cc] vpiPortInst from interface

From: Radosław Nawrot <Radoslaw.Nawrot@aldec.com.pl>
Date: Thu Dec 11 2014 - 04:30:14 PST
Hi,
I have question about vpiPortInst and vpiInterface
According to LRM I can iterate via vpiPortInst from Variables, but what
about interface?
 
Example:
 
interface simple ;
...
 
endinterface
 
module top();
simple i();
 
child1 i1(i);
child2 i2(i);

endmodule 
 
module child1 (interface x);
...
module child2 (interface y);
..
 
 
I have handle to top.i . How can I receive handles to ports x and y ?  If
interface is on port I have vpiRefObj and I can do it. 
 
Regards,
Radek
 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Dec 11 04:30:38 2014

This archive was generated by hypermail 2.1.8 : Thu Dec 11 2014 - 04:31:06 PST