diff --git a/compiler/characterizer/lib.py b/compiler/characterizer/lib.py index d65066fd..7b10eb8f 100644 --- a/compiler/characterizer/lib.py +++ b/compiler/characterizer/lib.py @@ -329,7 +329,7 @@ class lib: self.lib.write(" timing(){ \n") self.lib.write(" timing_sense : non_unate; \n") self.lib.write(" related_pin : \"clk{0}\"; \n".format(read_port)) - self.lib.write(" timing_type : negative_edge; \n") + self.lib.write(" timing_type : falling_edge; \n") self.lib.write(" cell_rise(CELL_TABLE) {\n") self.write_values(self.char_port_results[read_port]["delay_lh"],len(self.loads)," ") self.lib.write(" }\n") # rise delay diff --git a/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C.lib b/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C.lib index 868ed2b2..fc8d2be3 100644 --- a/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C.lib +++ b/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C.lib @@ -136,7 +136,7 @@ cell (sram_2_16_1_freepdk45){ timing(){ timing_sense : non_unate; related_pin : "clk0"; - timing_type : rising_edge; + timing_type : falling_edge; cell_rise(CELL_TABLE) { values("0.235, 0.235, 0.239",\ "0.235, 0.236, 0.24",\ diff --git a/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C_analytical.lib b/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C_analytical.lib index 60f4f9b3..afb22057 100644 --- a/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C_analytical.lib +++ b/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C_analytical.lib @@ -136,7 +136,7 @@ cell (sram_2_16_1_freepdk45){ timing(){ timing_sense : non_unate; related_pin : "clk0"; - timing_type : rising_edge; + timing_type : falling_edge; cell_rise(CELL_TABLE) { values("0.098, 0.098, 0.098",\ "0.098, 0.098, 0.098",\ diff --git a/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C_pruned.lib b/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C_pruned.lib index 4a809be2..b20f10be 100644 --- a/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C_pruned.lib +++ b/compiler/tests/golden/sram_2_16_1_freepdk45_TT_1p0V_25C_pruned.lib @@ -136,7 +136,7 @@ cell (sram_2_16_1_freepdk45){ timing(){ timing_sense : non_unate; related_pin : "clk0"; - timing_type : rising_edge; + timing_type : falling_edge; cell_rise(CELL_TABLE) { values("0.233, 0.233, 0.237",\ "0.233, 0.234, 0.237",\ diff --git a/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C.lib b/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C.lib index 7693e7e0..d6fc30aa 100644 --- a/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C.lib +++ b/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C.lib @@ -136,7 +136,7 @@ cell (sram_2_16_1_scn4m_subm){ timing(){ timing_sense : non_unate; related_pin : "clk0"; - timing_type : rising_edge; + timing_type : falling_edge; cell_rise(CELL_TABLE) { values("1.556, 1.576, 1.751",\ "1.559, 1.579, 1.754",\ diff --git a/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C_analytical.lib b/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C_analytical.lib index 963c15c5..5c56ab1e 100644 --- a/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C_analytical.lib +++ b/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C_analytical.lib @@ -136,7 +136,7 @@ cell (sram_2_16_1_scn4m_subm){ timing(){ timing_sense : non_unate; related_pin : "clk0"; - timing_type : rising_edge; + timing_type : falling_edge; cell_rise(CELL_TABLE) { values("0.268, 0.268, 0.268",\ "0.268, 0.268, 0.268",\ diff --git a/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C_pruned.lib b/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C_pruned.lib index c6d2fd1e..64340a5b 100644 --- a/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C_pruned.lib +++ b/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C_pruned.lib @@ -136,7 +136,7 @@ cell (sram_2_16_1_scn4m_subm){ timing(){ timing_sense : non_unate; related_pin : "clk0"; - timing_type : rising_edge; + timing_type : falling_edge; cell_rise(CELL_TABLE) { values("1.542, 1.562, 1.738",\ "1.545, 1.565, 1.741",\