diff options
Diffstat (limited to 'ice40/chipdb.py')
-rw-r--r-- | ice40/chipdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/chipdb.py b/ice40/chipdb.py index 7873dcd7..f8fe8b5d 100644 --- a/ice40/chipdb.py +++ b/ice40/chipdb.py @@ -430,7 +430,7 @@ for wire in range(num_wires): avg_x /= len(wire_xy[wire]) avg_y /= len(wire_xy[wire]) - info += "%f, %f}" % (avg_x, avg_y) + info += "%d, %d}" % (round(avg_x), round(avg_y)) wireinfo.append(info) |