Shift the wire connecting to the root of the H-Tree to avoid shorts.

This commit is contained in:
Jean-Paul Chaput 2021-11-13 22:13:16 +01:00
parent fcf6ec97c3
commit 68ae46ef20
1 changed files with 2 additions and 2 deletions

View File

@ -194,8 +194,8 @@ class HTree ( object ):
pin.destroy() pin.destroy()
layerGauge = gaugeConf.vRoutingGauge layerGauge = gaugeConf.vRoutingGauge
rootContact = gaugeConf.rpAccessByPlugName( qt.buffers[0], bufferConf.input, ckNet, 0 ) rootContact = gaugeConf.rpAccessByPlugName( qt.buffers[0], bufferConf.input, ckNet, 0 )
x = gaugeConf.getNearestVerticalTrack ( rootContact.getX(), 0 ) x = gaugeConf.getNearestVerticalTrack ( rootContact.getX(), 0, -2 )
y = gaugeConf.getNearestHorizontalTrack( rootContact.getY(), 0 ) y = gaugeConf.getNearestHorizontalTrack( rootContact.getY(), 0, -2 )
rootPin = Pin.create( ckNet rootPin = Pin.create( ckNet
, ckNet.getName()+'.0' , ckNet.getName()+'.0'
, Pin.Direction.NORTH , Pin.Direction.NORTH