mirror of https://github.com/YosysHQ/nextpnr.git
Merge pull request #19 from daveshah1/ecp5_fix_tiletypes
ecp5: Write tiletype names in correct order
This commit is contained in:
commit
109035e621
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue