diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-07-13 15:44:39 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-07-13 15:44:39 +0200 |
commit | 44663fa5898ad84ac1e04c597b5037aa41697b94 (patch) | |
tree | 5727a201048678032b30c6e51490d3bae21856f9 | |
parent | cbfb0302648771851ab386b6843fb0a60d018dad (diff) | |
download | nextpnr-44663fa5898ad84ac1e04c597b5037aa41697b94.tar.gz nextpnr-44663fa5898ad84ac1e04c597b5037aa41697b94.tar.bz2 nextpnr-44663fa5898ad84ac1e04c597b5037aa41697b94.zip |
Fix ice40 gfx wire indices
Signed-off-by: Clifford Wolf <clifford@clifford.at>
-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 f52a2283..51fe169c 100644 --- a/ice40/chipdb.py +++ b/ice40/chipdb.py @@ -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) |