In cumulus/plugins.macro, check for the SRAM name in both upper/lower cases.
This commit is contained in:
parent
440b71f727
commit
39d8aa479e
|
@ -131,7 +131,7 @@ class Macro ( object ):
|
||||||
minSpacingMetal2 = gaugeMetal2.getLayer().getMinimalSpacing()
|
minSpacingMetal2 = gaugeMetal2.getLayer().getMinimalSpacing()
|
||||||
minSpacingMetal3 = gaugeMetal3.getLayer().getMinimalSpacing()
|
minSpacingMetal3 = gaugeMetal3.getLayer().getMinimalSpacing()
|
||||||
minSpacingMetal4 = gaugeMetal4.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()) )
|
print( ' o Ad-hoc blockage patch for "{}".'.format(self.cell.getName()) )
|
||||||
for net in self.cell.getNets():
|
for net in self.cell.getNets():
|
||||||
for component in net.getComponents():
|
for component in net.getComponents():
|
||||||
|
|
Loading…
Reference in New Issue