Fix wrongly exported internal pin to the north side in H-Tree.

* Bug: In cumulus/plugins.block.HTree._rrouteHTree(), on the top level
    H-Tree, draw a wire to the north side of the abutment box *only*
    if the root (usually clock) signal is *external*. It may be that
    it is *internal*, so must be routed as a normal one to the root of
    the tree.
This commit is contained in:
Jean-Paul Chaput 2021-11-14 23:20:33 +01:00
parent 68ae46ef20
commit d72ccca88e
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ class HTree ( object ):
self._connectLeaf( qt.br, ckNet, rightContact, brContact, rightX, blY )
if qt.isRoot():
ckNet = self.treeNet
if not self.spares.conf.isCoreBlock:
if not self.spares.conf.isCoreBlock and ckNet.isExternal():
trace( 550, '\tRemoving any previous pin...\n' )
pins = []
for pin in ckNet.getPins(): pins.append( pin )