From 9c8d5395ff6f5bc2126533b8f99c286fa1aa9416 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Thu, 8 Nov 2018 18:16:01 -0800 Subject: [PATCH 1/2] Update leakage data for scn4m --- compiler/tests/21_ngspice_delay_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests/21_ngspice_delay_test.py b/compiler/tests/21_ngspice_delay_test.py index e449fce0..e203b878 100755 --- a/compiler/tests/21_ngspice_delay_test.py +++ b/compiler/tests/21_ngspice_delay_test.py @@ -63,7 +63,7 @@ class timing_sram_test(openram_test): elif OPTS.tech_name == "scn4m_subm": golden_data = {'delay_hl': [3.644147], 'delay_lh': [1.629815], - 'leakage_power': 0.0009299118999999999, + 'leakage_power': 0.001542964, 'min_period': 4.688, 'read0_power': [16.28732], 'read1_power': [15.75155], From 8f3fa0e2f688763e8f4c140aec5e6f4f1dbd69a7 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Fri, 9 Nov 2018 08:52:05 -0800 Subject: [PATCH 2/2] Fix blocked pin debug output. --- compiler/router/pin_group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/router/pin_group.py b/compiler/router/pin_group.py index e564d500..598805e7 100644 --- a/compiler/router/pin_group.py +++ b/compiler/router/pin_group.py @@ -587,8 +587,8 @@ class pin_group: # At least one of the groups must have some valid tracks if (len(pin_set)==0 and len(blockage_set)==0): - self.write_debug_gds("blocked_pin.gds") - debug.error("Unable to find unblocked pin on grid.") + debug.error("Unable to find unblocked pin {} {}".format(self.name, self.pins)) + self.router.write_debug_gds("blocked_pin.gds") # We need to route each of the components, so don't combine the groups self.grids = pin_set | blockage_set