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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user