mirror of https://github.com/VLSIDA/OpenRAM.git
Fix logic typo
This commit is contained in:
parent
d487f788e3
commit
e5bc7b4e95
|
|
@ -140,7 +140,7 @@ class graph:
|
||||||
if xdiff == 0 and ydiff == 0:
|
if xdiff == 0 and ydiff == 0:
|
||||||
if pin_safe and blockage in [self.source, self.target]:
|
if pin_safe and blockage in [self.source, self.target]:
|
||||||
return False
|
return False
|
||||||
elif xdiff < spacing and ydiff < spacing:
|
elif xdiff < spacing or ydiff < spacing:
|
||||||
blocked = False
|
blocked = False
|
||||||
else:
|
else:
|
||||||
blocked = True
|
blocked = True
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue