It looks like you're new here. If you want to get involved, click one of these buttons!
Hi,
I'm trying to implement a simple place & route framework on top of KLayout.
Now I'm looking for a good way to make a link from cell instances to their corresponding parts in the netlist. I thought of using .set_property()
to associate the db.CellInstArray with the ID of the corresponding db.SubCircuit. However, .set_property
seems not to be defined for this class.
How could I do this?
Is there something from the LVS classes that I could use from Python? I guess there must be something to relate layout and netlist.
Thanks!
Comments
Hi Thomas,
The object kept inside the layout database is an Instance object. CellInstArray is the "working object" similar to "Polygon", which you can use as independent objects in your code. "Instance" is the placeholder in the database, similar to "Shape" which acts as a gateway to the database.
Typically you do something like:
Matthias
Ahhh, nice! Thanks! I will try that