getattr for bank parameters

This commit is contained in:
mrg 2020-10-28 09:21:36 -07:00
parent 611a4155b9
commit 25495f3d94
1 changed files with 2 additions and 2 deletions

View File

@ -912,8 +912,8 @@ class bank(design.design):
if not self.col_addr_size>0:
return
stack = layer_props.bank.stack
pitch = layer_props.bank.pitch
stack = getattr(self, layer_props.bank.stack)
pitch = getattr(self, layer_props.bank.pitch)
if self.col_addr_size == 1: