From 095b8404e8397f767c0d0fe62664906b5b3d15a8 Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 17 Nov 2017 15:00:08 +0000 Subject: Remove non-existing routing resources (5k) --- icebox/icebox.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/icebox/icebox.py b/icebox/icebox.py index 0a810e8..ce2a3cd 100644 --- a/icebox/icebox.py +++ b/icebox/icebox.py @@ -519,8 +519,9 @@ class iceconfig: h_idx = idx - 28 elif corner == "tl": #TODO: bounds check for v_idx case? - v_idx = (idx + 8) ^ 1 - if idx >= 8 and idx < 32: + if idx >= 4: + v_idx = (idx + 8) ^ 1 + if idx >= 12 and idx < 28: h_idx = (idx ^ 1) - 8 elif corner == "tr": #TODO: bounds check for v_idx case? -- cgit v1.2.3