Quantcast
Channel: Mentor Graphics Communities: Message List
Viewing all articles
Browse latest Browse all 4541

Re: Device Pin Attribute

$
0
0

Hi John,

 

here is a snippet of the code I tried. It does log the Min Wire CSA.

 

 

 

public boolean execute(IXApplicationContext aC) {

       

        Set<IXWire> wireList = aC.getCurrentDesign().getConnectivity().getWires();

 

        for(IXWire wire : wireList){

           

            Set<IXAbstractPin> pins = wire.getAbstractPins();

            Set<IXWireEnd> wes = wire.getWireEnds();

            aC.getOutputWindow().println("WireEnd No: "+wes.size());

           

            for(IXAbstractPin pin : pins){

                aC.getOutputWindow().println("Owner: "+pin.getOwner());

                aC.getOutputWindow().println("MinWireCSA: "+pin.getAttribute(IXAttributes.MinWireCSA));

            }

        }       

        // Remember to return true unless something has gone wrong.

        return true;

    // end method

    }


Viewing all articles
Browse latest Browse all 4541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>