Skip to content

Commit ac12c45

Browse files
committed
ol2/tt_top/odb_route: Fix routing of the ena signal to ASW
The reference point is xp1 (which is the position where we cross to the other side of the module) and not xp0 (position of the 'ena' line on the mux) Signed-off-by: Sylvain Munaut <[email protected]>
1 parent f0dd04e commit ac12c45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ol2/tt_top/odb_route.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1619,8 +1619,8 @@ def asw_ena(self):
16191619
xl2.append(x)
16201620
yp2 = y
16211621

1622-
# Find which X position is "farthest" from xp0
1623-
if xp0 > max(xl2):
1622+
# Find which X position is "farthest" from xp1
1623+
if xp1 > max(xl2):
16241624
xp2 = min(xl2)
16251625
else:
16261626
xp2 = max(xl2)

0 commit comments

Comments
 (0)