Skip to content

Commit

Permalink
In BlockConf.useHTree(), must set the useClockTree flag (for chip mode).
Browse files Browse the repository at this point in the history
  • Loading branch information
jpc-lip6 committed Oct 20, 2023
1 parent 9bf25c2 commit 2ffbdbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion crlcore/python/technos/node180/gf180mcu_c4m/iolib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] )
Expand Down
5 changes: 4 additions & 1 deletion cumulus/src/plugins/block/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,10 @@ def useHTree ( self, netName, flags=0 ):
.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':
Expand Down

0 comments on commit 2ffbdbf

Please sign in to comment.