1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-05-02 22:32:35 +00:00

Merge pull request #19 from daveshah1/ecp5_fix_tiletypes

ecp5: Write tiletype names in correct order
This commit is contained in:
David Shah
2018-08-02 17:23:44 +02:00
committed by GitHub

View File

@@ -275,7 +275,7 @@ def write_database(dev_name, chip, ddrg, endianness):
bba.l("tiletype_names", "RelPtr<char>")
for tt in tiletype_names:
for tt, idx in sorted(tiletype_names.items(), key=lambda x: x[1]):
bba.s(tt, "name")
bba.l("chip_info")