In cumulus/plugins.block.Block, make use of the C++ backport of hfns4.

This commit is contained in:
Jean-Paul Chaput 2021-03-23 17:22:07 +01:00
parent d9b14d680a
commit f89e4ed467
3 changed files with 8 additions and 2 deletions

View File

@ -575,6 +575,8 @@ class Block ( object ):
self.etesian = Etesian.EtesianEngine.create( self.conf.cell )
if self.conf.placeArea:
self.etesian.setPlaceArea( self.conf.placeArea )
self.etesian.getCell().flattenNets( None, Cell.Flags_NoClockFlatten )
if self.conf.useHFNS: self.etesian.doHFNS()
self.etesian.place()
self.etesian.flattenPower()
Breakpoint.stop( 100, 'Placement done.' )
@ -700,7 +702,7 @@ class Block ( object ):
self.placeIoPins()
self.checkIoPins()
self.spares.build()
if self.conf.useHFNS: self.findHfnTrees4()
#if self.conf.useHFNS: self.findHfnTrees4()
if self.conf.useClockTree: self.addClockTrees()
#if self.conf.useHFNS: self.addHfnBuffers()
if editor: editor.fit()

View File

@ -952,7 +952,7 @@ class Spares ( object ):
return None
tailPath = path.getTailPath()
headInstance = path.getHeadInstance()
headPlug = utils.getPlugByNet(headInstance,topNet)
headPlug = utils.getPlugByNet( headInstance, topNet )
if not headPlug:
masterCell = headInstance.getMasterCell()
masterNet = masterCell.getNet( topNet.getName() )

View File

@ -71,6 +71,10 @@ class Chip ( Block ):
return self.conf.validated
def doChipFloorplan ( self ):
print( ' - Chip has {} north pads.'.format(len(self.conf.chipConf.northPads)) )
print( ' - Chip has {} south pads.'.format(len(self.conf.chipConf.southPads)) )
print( ' - Chip has {} east pads.' .format(len(self.conf.chipConf.eastPads )) )
print( ' - Chip has {} west pads.' .format(len(self.conf.chipConf.westPads )) )
self.conf.computeCoronaBorder()
self.conf.chipValidate()
if not self.conf.validated: