mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-04 08:44:12 +02:00
Fix logic typo
This commit is contained in:
@@ -140,7 +140,7 @@ class graph:
|
||||
if xdiff == 0 and ydiff == 0:
|
||||
if pin_safe and blockage in [self.source, self.target]:
|
||||
return False
|
||||
elif xdiff < spacing and ydiff < spacing:
|
||||
elif xdiff < spacing or ydiff < spacing:
|
||||
blocked = False
|
||||
else:
|
||||
blocked = True
|
||||
|
||||
Reference in New Issue
Block a user