How to find if two verilog modules are connected using VPI PLI - Verilog VCS

Status
Not open for further replies.

username_123

Newbie level 1
Joined
May 3, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
module A ( output A_OPORT_1 ); endmodule

module B ( input B_IPORT_1 ); endmodule

module A_Tb; A A_inst ( .A_OPORT_1 (A_to_B) ); endmodule

module B_Tb; B B_inst ( .B_IPORT_1 (A_to_B) ); endmodule


Here basically, output port A:A_inst:A_OPORT_1 is connected to input port B:B_inst:B_IPORT_1

How can I retrieve all parts of that information using a verilog PLIs? Example appreciated.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…