From 1f5fe62456fd5d0828494dfa14c3c27cc49e7e0b Mon Sep 17 00:00:00 2001 From: Tristan Robitaille Date: Sun, 10 Nov 2024 14:31:21 +0100 Subject: [PATCH] Added whitespace between : and 'minimum_period', '1kOhm' and 'min_pulse_width' as required by Liberty file standard --- compiler/characterizer/lib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/characterizer/lib.py b/compiler/characterizer/lib.py index 70077d05..b8880717 100644 --- a/compiler/characterizer/lib.py +++ b/compiler/characterizer/lib.py @@ -254,7 +254,7 @@ def write_units(self): self.lib.write(" resistance_unit : \"1kohm\" ;\n") self.lib.write(" capacitive_load_unit(1, pF) ;\n") self.lib.write(" leakage_power_unit : \"1mW\" ;\n") - self.lib.write(" pulling_resistance_unit :\"1kohm\" ;\n") + self.lib.write(" pulling_resistance_unit : \"1kohm\" ;\n") self.lib.write(" operating_conditions(OC){\n") self.lib.write(" process : {} ;\n".format(1.0)) # How to use TT, FF, SS? self.lib.write(" voltage : {} ;\n".format(self.voltage)) @@ -536,7 +536,7 @@ def write_clk_timing_power(self, port): min_pulse_width = round_time(self.char_sram_results["min_period"])/2.0 min_period = round_time(self.char_sram_results["min_period"]) self.lib.write(" timing(){ \n") - self.lib.write(" timing_type :\"min_pulse_width\"; \n") + self.lib.write(" timing_type : \"min_pulse_width\"; \n") self.lib.write(" related_pin : clk{0}; \n".format(port)) self.lib.write(" rise_constraint(scalar) {\n") self.lib.write(" values(\"{0}\"); \n".format(min_pulse_width)) @@ -546,7 +546,7 @@ def write_clk_timing_power(self, port): self.lib.write(" }\n") self.lib.write(" }\n") self.lib.write(" timing(){ \n") - self.lib.write(" timing_type :\"minimum_period\"; \n") + self.lib.write(" timing_type : \"minimum_period\"; \n") self.lib.write(" related_pin : clk{0}; \n".format(port)) self.lib.write(" rise_constraint(scalar) {\n") self.lib.write(" values(\"{0}\"); \n".format(min_period))