Bugfix in iCE40 chipdb.py

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-07-23 00:25:49 +02:00
parent 7f473f5199
commit 3788bd26e6

View File

@ -1027,9 +1027,6 @@ for wire in range(num_wires):
info["uphill_bel"] = -1 info["uphill_bel"] = -1
info["uphill_pin"] = 0 info["uphill_pin"] = 0
if num_bels_downhill == 0:
info["list_bel_pins"] = None
avg_x, avg_y = 0, 0 avg_x, avg_y = 0, 0
if wire in wire_xy: if wire in wire_xy:
for x, y in wire_xy[wire]: for x, y in wire_xy[wire]: