In BlockConf.useHTree(), must set the useClockTree flag (for chip mode).

This commit is contained in:
Jean-Paul Chaput 2023-09-30 22:16:40 +02:00
parent 9bf25c28bf
commit 2ffbdbf3eb
2 changed files with 4 additions and 2 deletions

View File

@ -59,7 +59,6 @@ def _loadIoLib ( pdkDir ):
io.vprint( 1, ' o Setup GF180MCU I/O library in {}.'.format( ioLib.getName() ))
cellsDir = pdkDir / 'libraries' / 'gf180mcu_fd_io' / 'latest' / 'cells'
for lefFile in cellsDir.glob( '*/*_5lm.lef' ):
print( lefFile )
gdsFile = lefFile.with_suffix( '.gds' )
if gdsFile.is_file():
Gds.setTopCellName( gdsFile.stem[:-4] )

View File

@ -1564,7 +1564,10 @@ class BlockConf ( GaugeConf ):
.format(netName)) )
return
self.hTreeDatas.append( [ netName, flags ] );
self.useClockTree = True
net = self.cell.getNet( netName )
trace( 550,'\tBlockConf.useHTree() on "{}" -> {}\n'.format( netName, net ))
if net and net.isClock():
self.useClockTree = True
def addTrackAvoid ( self, trackAvoid ):
if self.cfg.anabatic.netBuilderStyle == 'VH,2RL':