ab = Box( l( 0.0 )
, l( 0.0 )
- , l( 1200.0 )
+ , l( 1000.0 )
, l( 600.0 ) )
UpdateSession.open()
cell.setAbutmentBox( ab )
- transf = (l(20.0), l(100.0), Transformation.Orientation.ID)
+ transf = (l(50.0), l(100.0), Transformation.Orientation.ID)
subi = createInstance(cell, "subckt_49_sub", sub)
place( subi, transf[0], transf[1], transf[2] )
print "sub place", subi
- transf = (l(520.0), l(100.0), Transformation.Orientation.ID)
+ transf = (l(550.0), l(100.0), Transformation.Orientation.ID)
addi = createInstance(cell, "subckt_48_add", add)
place( addi, transf[0], transf[1], transf[2] )
print "add place", addi
ab = Box( l( 0.0 )
, l( 0.0 )
- , l( 1200.0 )
+ , l( 1000.0 )
, l( 600.0 ) )
cell.setAbutmentBox( ab )
plugins.RSavePlugin.ScriptMain( **kw )
print "cell", cell, dir(cell)
- c = cell.getComponentsUnder(0)
- print "components", c, dir(c)
- c = cell.getSlaveInstances()
+ c = cell.getComponents()
print "components", c, dir(c)
+ for child in cell.getInstances():
+ print "child", child
return success
if __name__ == '__main__':
- #success = add()
- #success = sub()
+ success = add()
+ success = sub()
success = alu_hier_place()
success = alu_hier_route()
shellSuccess = 0