From: Luke Kenneth Casson Leighton Date: Tue, 21 Apr 2020 14:35:44 +0000 (+0000) Subject: whitespace tidyup X-Git-Tag: partial-core-ls180-gdsii~134 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2288df6a33b6c5a57e9b5e5bd3c09eecc45c1e00;p=soclayout.git whitespace tidyup --- diff --git a/experiments7/doAlu16.py b/experiments7/doAlu16.py index d6fa746..7158d4c 100755 --- a/experiments7/doAlu16.py +++ b/experiments7/doAlu16.py @@ -123,7 +123,9 @@ class ALU16(Module): """ALU16.place(), manual placement overload.""" datapath_insts = [] for i in range(BIT_WIDTH): - datapath_insts.append([['nmx2', None], ['no2', None], ['sff1', None]]) + datapath_insts.append([['nmx2', None], + ['no2', None], + ['sff1', None]]) for inst in self.cell.getInstances(): if (ALU16.match_instance(datapath_insts, 'nmx2', 'i0', inst) or @@ -221,9 +223,12 @@ def scriptMain(editor=None, **kwargs): add = AddSub( 'add', editor, east_pins=[ - {'net': 'a({})', 'y': 15.0, 'delta': 50.0, 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, - {'net': 'b({})', 'y': 20.0, 'delta': 50.0, 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, - {'net': 'o({})', 'y': 25.0, 'delta': 50.0, 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, + {'net': 'a({})', 'y': 15.0, 'delta': 50.0, + 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, + {'net': 'b({})', 'y': 20.0, 'delta': 50.0, + 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, + {'net': 'o({})', 'y': 25.0, 'delta': 50.0, + 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, ], pads={ 'b({})'.format(BIT_WIDTH-1): ( @@ -236,9 +241,12 @@ def scriptMain(editor=None, **kwargs): sub = AddSub( 'sub', editor, west_pins=[ - {'net': 'a({})', 'y': 15.0, 'delta': 50.0, 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, - {'net': 'b({})', 'y': 20.0, 'delta': 50.0, 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, - {'net': 'o({})', 'y': 25.0, 'delta': 50.0, 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, + {'net': 'a({})', 'y': 15.0, 'delta': 50.0, + 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, + {'net': 'b({})', 'y': 20.0, 'delta': 50.0, + 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, + {'net': 'o({})', 'y': 25.0, 'delta': 50.0, + 'repeat': BIT_WIDTH, 'layer': 'METAL2'}, ], pads={ 'b({})'.format(BIT_WIDTH-1): (