ecp5: Write tiletype names in correct order
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
2b0bf3f9f8
commit
cc32290c1f
@ -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
Block a user