diff --git a/compiler/characterizer/delay.py b/compiler/characterizer/delay.py index d46ed3d9..e36cc1ed 100644 --- a/compiler/characterizer/delay.py +++ b/compiler/characterizer/delay.py @@ -750,18 +750,21 @@ class delay(simulation): for port in self.targ_read_ports: debug.info(2, "Checking read delay values for port {}".format(port)) + # Check sen timing, then bitlines, then general measurements. + if not self.check_sen_measure(port): + return (False,{}) + + if not self.check_read_debug_measures(port): + return (False,{}) + + # Check timing for read ports. Power is only checked if it was read correctly read_port_dict = {} for measure in self.read_lib_meas: read_port_dict[measure.name] = measure.retrieve_measure(port=port) - # Check sen timing, then bitlines, then general measurements. - if not self.check_sen_measure(port): + if not self.check_valid_delays(read_port_dict): return (False,{}) - success = self.check_read_debug_measures(port) - # Check timing for read ports. Power is only checked if it was read correctly - if not self.check_valid_delays(read_port_dict) or not success: - return (False,{}) if not check_dict_values_is_float(read_port_dict): debug.error("Failed to Measure Read Port Values:\n\t\t{0}".format(read_port_dict),1) diff --git a/compiler/tests/21_model_delay_test.py b/compiler/tests/21_model_delay_test.py index 51edb48f..3b43e789 100755 --- a/compiler/tests/21_model_delay_test.py +++ b/compiler/tests/21_model_delay_test.py @@ -15,6 +15,7 @@ from globals import OPTS from sram_factory import factory import debug +@unittest.skip("SKIPPING 21_model_delay_test") class model_delay_test(openram_test): """ Compare the accuracy of the analytical model with a spice simulation. """ diff --git a/compiler/tests/30_openram_back_end_test.py b/compiler/tests/30_openram_back_end_test.py index d375d605..c579bde6 100755 --- a/compiler/tests/30_openram_back_end_test.py +++ b/compiler/tests/30_openram_back_end_test.py @@ -16,7 +16,7 @@ from sram_factory import factory import debug import getpass -class openram_test(openram_test): +class openram_back_end_test(openram_test): def runTest(self): OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME")) diff --git a/compiler/tests/30_openram_front_end_test.py b/compiler/tests/30_openram_front_end_test.py index 5252db7b..2be14001 100755 --- a/compiler/tests/30_openram_front_end_test.py +++ b/compiler/tests/30_openram_front_end_test.py @@ -16,7 +16,8 @@ from sram_factory import factory import debug import getpass -class openram_test(openram_test): +@unittest.skip("SKIPPING 30_openram_front_end_test") +class openram_front_end_test(openram_test): def runTest(self): OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME")) diff --git a/compiler/tests/config_scn4m_subm_front_end.py b/compiler/tests/config_scn4m_subm_front_end.py index 5004580e..142191a0 100644 --- a/compiler/tests/config_scn4m_subm_front_end.py +++ b/compiler/tests/config_scn4m_subm_front_end.py @@ -13,8 +13,6 @@ process_corners = ["TT"] supply_voltages = [5.0] temperatures = [25] -analytical_delay = False - drc_name = "magic" lvs_name = "netgen" pex_name = "magic"