tnt
08/07/2020, 8:22 AMAhmed Ghazy
08/07/2020, 9:56 AMsetLocation
and setPlacementStatus("PLACED")
).
You probably also want to check OpenDB/build/src/swig/python/opendbpy.py
for a list of functions that you can use.
One last useful source is this:
https://github.com/The-OpenROAD-Project/DAC-2020-Tutorial/tree/master/7_opendb_python_apitnt
08/07/2020, 10:07 AMAhmed Ghazy
08/07/2020, 10:09 AMclass dbRow(object):
class dbSite(object):
def getRows(self):
return _opendbpy.dbBlock_getRows(self)
tnt
08/07/2020, 10:23 AMx,y = row.getOrigin()
x += row.getSpacing() * 7
mymux = odb.dbInst_create(blk, mux, "TestMux")
mymux.setOrient(row.getOrient())
mymux.setLocation(x, y)
mymux.setPlacementStatus('FIRM')
tnt
08/07/2020, 11:16 AMruns/xxx/results/routing/design.def
) the routed net are more like wires (zero width) than actual metal planes. What is the step that convert them into real physical wires ?Ahmed Ghazy
08/07/2020, 3:23 PMAhmed Ghazy
08/07/2020, 3:23 PM