Am2901 finally snaps correctly
[Mograsim.git] / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / am2901 / Am2901.json
index 86f578b..9ef2749 100644 (file)
@@ -1,10 +1,10 @@
 {
-  "width": 87.0,
-  "height": 113.5,
+  "width": 90.0,
+  "height": 125.0,
   "interfacePins": [
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 10.0
       },
       "name": "A0",
@@ -13,7 +13,7 @@
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 15.0
       },
       "name": "A1",
@@ -22,7 +22,7 @@
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 20.0
       },
       "name": "A2",
@@ -31,7 +31,7 @@
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 25.0
       },
       "name": "A3",
@@ -40,7 +40,7 @@
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 35.0
       },
       "name": "B0",
@@ -49,7 +49,7 @@
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 40.0
       },
       "name": "B1",
@@ -58,7 +58,7 @@
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 45.0
       },
       "name": "B2",
@@ -67,7 +67,7 @@
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 50.0
       },
       "name": "B3",
@@ -94,8 +94,8 @@
     },
     {
       "location": {
-        "x": 0.0,
-        "y": 45.0
+        "x": 90.0,
+        "y": 120.0
       },
       "name": "Cn+4",
       "logicWidth": 1,
     {
       "location": {
         "x": 0.0,
-        "y": 40.0
+        "y": 45.0
       },
       "name": "F\u003d0",
       "logicWidth": 1,
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 100.0
       },
       "name": "I0",
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 95.0
       },
       "name": "I1",
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 90.0
       },
       "name": "I2",
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 85.0
       },
       "name": "I3",
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 80.0
       },
       "name": "I4",
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 75.0
       },
       "name": "I5",
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 70.0
       },
       "name": "I6",
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 65.0
       },
       "name": "I7",
     },
     {
       "location": {
-        "x": 87.0,
+        "x": 90.0,
         "y": 60.0
       },
       "name": "I8",
     {
       "location": {
         "x": 0.0,
-        "y": 25.0
+        "y": 20.0
       },
       "name": "Qn",
       "logicWidth": 1,
     },
     {
       "location": {
-        "x": 0.0,
-        "y": 30.0
+        "x": 90.0,
+        "y": 115.0
       },
       "name": "Qn+3",
       "logicWidth": 1,
     },
     {
       "location": {
-        "x": 0.0,
-        "y": 15.0
+        "x": 90.0,
+        "y": 110.0
       },
       "name": "RAMn+3",
       "logicWidth": 1,
     },
     {
       "location": {
-        "x": 64.5,
-        "y": 113.5
+        "x": 65.0,
+        "y": 125.0
       },
       "name": "Y1",
       "logicWidth": 1,
     },
     {
       "location": {
-        "x": 69.5,
-        "y": 113.5
+        "x": 70.0,
+        "y": 125.0
       },
       "name": "Y2",
       "logicWidth": 1,
     },
     {
       "location": {
-        "x": 74.5,
-        "y": 113.5
+        "x": 75.0,
+        "y": 125.0
       },
       "name": "Y3",
       "logicWidth": 1,
     },
     {
       "location": {
-        "x": 79.5,
-        "y": 113.5
+        "x": 80.0,
+        "y": 125.0
       },
       "name": "Y4",
       "logicWidth": 1,
         "id": "NandGate",
         "name": "NandGate#0",
         "pos": {
-          "x": 466.0,
+          "x": 465.0,
           "y": 190.0
         },
         "params": 1
         "id": "NandGate",
         "name": "NandGate#1",
         "pos": {
-          "x": 421.0,
+          "x": 420.0,
           "y": 440.0
         },
         "params": 1
         "id": "WireCrossPoint",
         "name": "WireCrossPoint#46",
         "pos": {
-          "x": 144.0,
+          "x": 424.0,
           "y": 1079.0
         },
         "params": 1
         "id": "and",
         "name": "and#0",
         "pos": {
-          "x": 496.0,
+          "x": 495.0,
           "y": 180.0
         }
       },
         "id": "or4",
         "name": "or4#0",
         "pos": {
-          "x": 376.0,
+          "x": 375.0,
           "y": 445.0
         }
       },
             "y": 525.0
           },
           {
-            "x": 725.0,
-            "y": 1125.0
+            "x": 735.0,
+            "y": 1240.0
           },
           {
-            "x": 645.0,
-            "y": 1125.0
+            "x": 650.0,
+            "y": 1240.0
           }
         ]
       },
             "y": 520.0
           },
           {
-            "x": 730.0,
-            "y": 1130.0
+            "x": 740.0,
+            "y": 1245.0
           },
           {
-            "x": 695.0,
-            "y": 1130.0
+            "x": 700.0,
+            "y": 1245.0
           }
         ]
       },
             "y": 515.0
           },
           {
-            "x": 735.0,
-            "y": 1130.0
+            "x": 745.0,
+            "y": 1245.0
           },
           {
-            "x": 745.0,
-            "y": 1130.0
+            "x": 750.0,
+            "y": 1245.0
           }
         ]
       },
             "y": 510.0
           },
           {
-            "x": 740.0,
-            "y": 1125.0
+            "x": 750.0,
+            "y": 1240.0
           },
           {
-            "x": 795.0,
-            "y": 1125.0
+            "x": 800.0,
+            "y": 1240.0
           }
         ]
       },
         "name": "unnamedWire#154",
         "path": [
           {
-            "x": 416.0,
+            "x": 415.0,
             "y": 445.0
           }
         ]
         "name": "unnamedWire#155",
         "path": [
           {
-            "x": 416.0,
+            "x": 415.0,
             "y": 455.0
           }
         ]
           },
           {
             "x": 310.0,
-            "y": 400.0
+            "y": 450.0
           }
         ]
       },
           {
             "x": 145.0,
             "y": 1070.0
+          },
+          {
+            "x": 145.0,
+            "y": 1080.0
           }
         ]
       },
         },
         "name": "unnamedWire#173",
         "path": [
-          {
-            "x": 425.0,
-            "y": 1080.0
-          },
           {
             "x": 425.0,
             "y": 940.0
         "name": "unnamedWire#174",
         "path": [
           {
-            "x": 20.0,
-            "y": 1080.0
-          },
-          {
-            "x": 20.0,
-            "y": 300.0
+            "x": 425.0,
+            "y": 1150.0
           }
         ]
       },
         "path": [
           {
             "x": 80.0,
-            "y": 250.0
+            "y": 200.0
           },
           {
             "x": 80.0,
           },
           {
             "x": 615.0,
-            "y": 1130.0
-          },
-          {
-            "x": 90.0,
-            "y": 1130.0
-          },
-          {
-            "x": 90.0,
-            "y": 450.0
+            "y": 1200.0
           }
         ]
       },
           },
           {
             "x": 455.0,
-            "y": 150.0
+            "y": 1100.0
           }
         ]
       },