In cumulus/plugins.block.Block, set the right cell in the editor.

This commit is contained in:
Jean-Paul Chaput 2021-01-27 11:38:27 +01:00
parent 5649a3b984
commit a5fbe94705
2 changed files with 4 additions and 3 deletions

View File

@ -530,7 +530,7 @@ class Block ( object ):
self.etesian = Etesian.EtesianEngine.create( self.conf.corona )
self.etesian.setBlock( self.conf.icore )
if editor:
editor.setCell( self.conf.cell )
editor.setCell( self.conf.cellPnR )
Breakpoint.stop( 100, 'Block.place(), corona loaded.')
else:
self.etesian = Etesian.EtesianEngine.create( self.conf.cell )
@ -547,7 +547,7 @@ class Block ( object ):
Breakpoint.stop( 100, 'Block.route() Before global routing.' )
self.katana.runGlobalRouter ( Katana.Flags.NoFlags )
self.katana.loadGlobalRouting( Anabatic.EngineLoadGrByNet )
Breakpoint.stop( 100, 'Block.route() After global routing.' )
Breakpoint.stop( 99, 'Block.route() After global routing.' )
self.katana.layerAssign ( Anabatic.EngineNoNetLayerAssign )
self.katana.runNegociate ( Katana.Flags.NoFlags )
success = self.katana.isDetailedRoutingSuccess()
@ -603,7 +603,7 @@ class Block ( object ):
print( ' - Build sub-block "{}".' \
.format(blockInstance.block.conf.cell.getName()) )
blockInstance.block.build()
if editor: editor.setCell( self.conf.cell )
if editor: editor.setCell( self.conf.cellPnR )
self.conf.cfg.apply()
iteration = -1
while True:

View File

@ -963,5 +963,6 @@ class Spares ( object ):
return headPlug
def removeUnusedBuffers ( self ):
if not self.quadTree: return
with UpdateSession():
self.quadTree.removeUnusedBuffers()