In cumulus/plugins.macro, check for the SRAM name in both upper/lower cases.

This commit is contained in:
Jean-Paul Chaput 2021-04-24 12:59:13 +02:00
parent 440b71f727
commit 39d8aa479e
1 changed files with 1 additions and 1 deletions

View File

@ -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():