From 39d8aa479e059b4f6873fcb513cb7982c579a3a7 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sat, 24 Apr 2021 12:59:13 +0200 Subject: [PATCH] In cumulus/plugins.macro, check for the SRAM name in both upper/lower cases. --- cumulus/src/plugins/alpha/macro/macro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cumulus/src/plugins/alpha/macro/macro.py b/cumulus/src/plugins/alpha/macro/macro.py index 226229fb..29142556 100644 --- a/cumulus/src/plugins/alpha/macro/macro.py +++ b/cumulus/src/plugins/alpha/macro/macro.py @@ -131,7 +131,7 @@ class Macro ( object ): minSpacingMetal2 = gaugeMetal2.getLayer().getMinimalSpacing() minSpacingMetal3 = gaugeMetal3.getLayer().getMinimalSpacing() minSpacingMetal4 = gaugeMetal4.getLayer().getMinimalSpacing() - if self.cell.getName() == 'SPBlock_512W64B8W': + if self.cell.getName().lower() == 'spblock_512w64b8w': print( ' o Ad-hoc blockage patch for "{}".'.format(self.cell.getName()) ) for net in self.cell.getNets(): for component in net.getComponents():