From: Luke Kenneth Casson Leighton Date: Sat, 21 Mar 2020 18:14:18 +0000 (+0000) Subject: just a style thing X-Git-Tag: partial-core-ls180-gdsii~159 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81e21c832ab15dddfdee62422f04a2025b1252e9;p=soclayout.git just a style thing --- diff --git a/experiments7/doAlu16.py b/experiments7/doAlu16.py index 9284c6d..17a118d 100755 --- a/experiments7/doAlu16.py +++ b/experiments7/doAlu16.py @@ -74,8 +74,8 @@ def create_pins(cell, net, name, direction, cell = af.getCell(cell, CRL.Catalog.State.Logical) if layer is None: - layer = get_layer('METAL3') - elif isinstance(layer, basestring): + layer = 'METAL3' + if isinstance(layer, basestring): layer = get_layer(layer) if isinstance(repeat, int):