From 1b22af089e2aa943daf569ad71f2261f7254ac7d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 13 May 2018 20:51:45 +0200 Subject: Extact reproducable chipdb-5k.txt Signed-off-by: Clifford Wolf --- icebox/icebox_chipdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icebox/icebox_chipdb.py b/icebox/icebox_chipdb.py index fc25403..6ff7c46 100755 --- a/icebox/icebox_chipdb.py +++ b/icebox/icebox_chipdb.py @@ -319,7 +319,7 @@ for dsploc in ic.dsp_tiles[0]: print() if ic.device in icebox.extra_cells_db: - for cell in icebox.extra_cells_db[ic.device]: + for cell in sorted(icebox.extra_cells_db[ic.device]): name, loc = cell x, y, z = loc print(".extra_cell %d %d %d %s" % (x, y, z, name)) @@ -329,7 +329,7 @@ if ic.device in icebox.extra_cells_db: print() if ic.device in icebox.spram_db: - for cell in icebox.spram_db[ic.device]: + for cell in sorted(icebox.spram_db[ic.device]): loc = cell x, y, z = loc print(".extra_cell %d %d %d SPRAM" % (x, y, z)) -- cgit v1.2.3