Skip to content

Commit

Permalink
ol2/tt_top/odb_route: Fix routing of the ena signal to ASW
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
smunaut committed Sep 10, 2024
1 parent 580e759 commit 345fdc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ol2/tt_top/odb_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -1619,8 +1619,8 @@ def asw_ena(self):
xl2.append(x)
yp2 = y

# Find which X position is "farthest" from xp0
if xp0 > max(xl2):
# Find which X position is "farthest" from xp1
if xp1 > max(xl2):
xp2 = min(xl2)
else:
xp2 = max(xl2)
Expand Down

0 comments on commit 345fdc6

Please sign in to comment.