squeeze size a bit more
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 21 Apr 2020 14:14:34 +0000 (14:14 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 21 Apr 2020 14:14:34 +0000 (14:14 +0000)
experiments7/doAlu16.py

index be28596c5302a7e743df3aeadc942b300e3734f3..9fdf10b8f846ade63e08c4d7bd1779be954a5dcf 100755 (executable)
@@ -163,7 +163,7 @@ class ALU16(Module):
             ])) + v_margin
 
             # experiment, over-ride
-            width = 520
+            width = 490
             #width = 1310
             #height = 370
 
@@ -251,14 +251,14 @@ def scriptMain(editor=None, **kwargs):
     alu16 = ALU16(
         'alu16', editor, submodules=[add, sub],
         north_pins=[
-            {'net': 'o({})', 'x': 255.0+o, 'delta': -5.0, 'repeat': BIT_WIDTH},
+            {'net': 'o({})', 'x': 245.0+o, 'delta': 5.0, 'repeat': BIT_WIDTH},
             {'net': 'op'},
         ],
         south_pins=[
-            {'net': 'a({})', 'x': 205.0+o, 'delta': 10.0, 'repeat': BIT_WIDTH},
-            {'net': 'b({})', 'x': 210.0+o, 'delta': 10.0, 'repeat': BIT_WIDTH},
+            {'net': 'a({})', 'x': 195.0+o, 'delta': 10.0, 'repeat': BIT_WIDTH},
+            {'net': 'b({})', 'x': 200.0+o, 'delta': 10.0, 'repeat': BIT_WIDTH},
         ],
-        west_pins=[
+        east_pins=[
             {'net': 'rst', 'y': 10.0, 'layer': 'METAL2'},
         ],
     )