Trace net export with XML post-processing

Hi,

I don't know if it is possible to interactively trace a net (as usual) and to tie a post trigger (or something similar) to the 'Export To Net' button to post-process the XML output file? My main goal would be to save 'box' entities with their real layer name instead of gds number/datatype pair. Basically the same as 'polygon' entities. The coupled post-processing script would need access to the .lyp file, i think, to make the mapping. What could be a good approach to do this?

Thanks.

Comments

  • Hi @dixit,

    There are no hooks you could attach such a function to. Of course, the sources are public, so basically anyone can implement whatever function you wish for.

    I feel however, that you have a specific application in mind. It's possible (by means of the Plugin interface and the Qt binding) to implement your own point-and-click feature and UI. The key classes are available in the Python API (NetTracer class or LayoutToNetlist for all-net extractions). It's just not a one-liner, but allows you to get exactly the feature you need for your application. I'd say it's a nice job for an intern.

    Matthias

  • Hi Matthias,

    Thanks for your hints.
    For now I chose to hard code relevant process specifications of open-source PDKs (particularly sky130) into my application to do the layer identification from KLayout XML output. From that, my tool calculates parasitic interconnect resistance and analog EM/IR effects. And thus it can also import a Net Tracer XML file from KLayout and translate to polygons. Basic stuff can be tried at https://maskaide.plotly.app, if interested.

Sign In or Register to comment.