1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-27 20:47:52 +00:00

Fix ice40 gfx wire indices

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf
2018-07-13 15:44:39 +02:00
parent cbfb030264
commit 44663fa589

View File

@@ -77,7 +77,7 @@ with open(args.gfxh) as f:
state = 1
elif state == 1 and line.startswith("};"):
state = 0
elif state == 1 and line.startswith("{"):
elif state == 1 and (line.startswith("{") or line.strip() == ""):
pass
elif state == 1:
idx = len(gfx_wire_ids)