unihd-cag / skillbridge

A seamless python to Cadence Virtuoso Skill interface
https://unihd-cag.github.io/skillbridge/
GNU Lesser General Public License v3.0
181 stars 38 forks source link

[SUPPORT] An example to place layout cells next to each other #247

Closed avlsi closed 8 months ago

avlsi commented 8 months ago

I'm looking for example code that employs skillbridge to design a schematic layout, with a focus on arranging cells side by side. I have a collection of cells that must be positioned adjacent to each other. I need the code to retrieve the width and height from the pcell and use this information to construct the layout. Any help or suggestions on this matter would be highly valued.

TM90 commented 8 months ago

This seems to be more a general skill question/problem.

We have minimal example with layout instances where the bounding box of instances are read from the layout.

This example can be found here

To see how to move, rotate or create instances take a look at Virtuoso Studio Design Environment SKILL Reference and Virtuoso Relative Object Design SKILL Reference which can be found at the cadence support page.

Methods to look up in the documents are i.e. dbMoveFig(...) which would translate for skillbridge to ws.db.move_fig(...)

TM90 commented 8 months ago

I hope the above answer leads you in a good direction. If this is not the case feel free to reopen the issue