From e5d2a65f0a9b80327f6fd5f69771544430e3cb2c Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Tue, 14 May 2019 21:18:24 +0200 Subject: [PATCH] utils: makesdf: sort the output Signed-off-by: Karol Gugala --- utils/makesdf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/makesdf.py b/utils/makesdf.py index 6c3a89ac..7659b195 100644 --- a/utils/makesdf.py +++ b/utils/makesdf.py @@ -24,8 +24,8 @@ def produce_sdf(timings, outdir): (SDFVERSION \"3.0\") (TIMESCALE 1ps) """ - for site in timings[slice]: - for bel_type in timings[slice][site]: + for site in sorted(timings[slice]): + for bel_type in sorted(timings[slice][site]): combinational, sequential = get_elems_count( timings, slice, site, bel_type) #define CELL