From bf86b47d4aef78409d352324cdf51b5853ee4f14 Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Tue, 2 Apr 2019 13:05:32 +0200 Subject: [PATCH] utils: makesdf: minor output sdf fixes Fix endfile parenthesis. Remove spaces in delay definitions Signed-off-by: Karol Gugala --- utils/makesdf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/makesdf.py b/utils/makesdf.py index b89fc829..ac0dfc8d 100644 --- a/utils/makesdf.py +++ b/utils/makesdf.py @@ -50,7 +50,7 @@ def produce_sdf(timings, outdir): continue dly = \ """ - (IOPATH {input} {output} ({FAST_MIN}::{SLOW_MIN}) ({FAST_MAX}::{SLOW_MAX}))""".format(**timings[slice][site][bel_type][delay]) + (IOPATH {input} {output} ({FAST_MIN}::{SLOW_MIN})({FAST_MAX}::{SLOW_MAX}))""".format(**timings[slice][site][bel_type][delay]) if 'extra_ports' in timings[slice][site][bel_type][ delay] is not None: dly += \ @@ -78,7 +78,7 @@ def produce_sdf(timings, outdir): continue timingcheck = \ """ - ({prop} {input} (posedge {clock}) ({FAST_MIN}::{SLOW_MIN}) ({FAST_MAX}::{SLOW_MAX}))""".format( + ({prop} {input} (posedge {clock}) ({FAST_MIN}::{SLOW_MIN})({FAST_MAX}::{SLOW_MAX}))""".format( prop=timings[slice][site][bel_type][delay]['sequential'].upper(), **timings[slice][site][bel_type][delay]) @@ -99,8 +99,8 @@ def produce_sdf(timings, outdir): """ )""" sdf += endcell - # end of SDF - sdf += \ + # end of SDF + sdf += \ """ )"""