input abc10; output v; checkinst_0( .port1(wireY), .port2(wireZ), .port3(wireX), .port4(port711), .port10 ); checkinst_2( .port5(wireYx), .port6(wireZ), .port7(wireaX), .port8(abc10), .port11 ); checkinst_3( .port5(wireYd), .port6(wireZS), .port7(wireXW), .port8(port10), .port12 );
for the above example i want to create the hash and say ".port " as source and "(wire)" as destination with the key as "checkinst_" if the destinations (wires) are same then i should print like portx of checkinstx is connected to porty of check inst y, if there is destination(wire) along the port, then eg: .port4 then i should make it as .port4(port4) and check if its connected to any port and print as earlier, if the wire (destination) is same as the one declared as input or output in the code then i should print as portx of checkinstx is connected to top if none of the above conditions are satisfied then i have to print as portx of checkinstx is left unconnected
In reply to How to check for the connectivity using hash by prk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |