Incorporated TriStateBuffer into Am2910
[Mograsim.git] / net.mograsim.logic.model.am2900 / components / am2910 / GUIAm2910.json
index e236c04..647afc3 100644 (file)
@@ -1,24 +1,8 @@
 mograsim version: 0.1.3
 {
   "width": 72.0,
-  "height": 61.0,
+  "height": 67.0,
   "interfacePins": [
-    {
-      "location": {
-        "x": 19.0,
-        "y": 61.0
-      },
-      "name": "_MAP",
-      "logicWidth": 1
-    },
-    {
-      "location": {
-        "x": 0.0,
-        "y": 44.0
-      },
-      "name": "_CCEN",
-      "logicWidth": 1
-    },
     {
       "location": {
         "x": 60.0,
@@ -35,14 +19,6 @@ mograsim version: 0.1.3
       "name": "D",
       "logicWidth": 12
     },
-    {
-      "location": {
-        "x": 72.0,
-        "y": 14.0
-      },
-      "name": "_FULL",
-      "logicWidth": 1
-    },
     {
       "location": {
         "x": 72.0,
@@ -67,10 +43,42 @@ mograsim version: 0.1.3
       "name": "I",
       "logicWidth": 4
     },
+    {
+      "location": {
+        "x": 19.0,
+        "y": 67.0
+      },
+      "name": "_MAP",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": 0.0,
+        "y": 44.0
+      },
+      "name": "_CCEN",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": 49.0,
+        "y": 67.0
+      },
+      "name": "_OE",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": 72.0,
+        "y": 14.0
+      },
+      "name": "_FULL",
+      "logicWidth": 1
+    },
     {
       "location": {
         "x": 38.0,
-        "y": 61.0
+        "y": 67.0
       },
       "name": "Y",
       "logicWidth": 12
@@ -78,7 +86,7 @@ mograsim version: 0.1.3
     {
       "location": {
         "x": 13.0,
-        "y": 61.0
+        "y": 67.0
       },
       "name": "_PL",
       "logicWidth": 1
@@ -86,7 +94,7 @@ mograsim version: 0.1.3
     {
       "location": {
         "x": 25.0,
-        "y": 61.0
+        "y": 67.0
       },
       "name": "_VECT",
       "logicWidth": 1
@@ -217,6 +225,18 @@ mograsim version: 0.1.3
         },
         "params": 1
       },
+      {
+        "id": "class:net.mograsim.logic.model.model.components.atomic.GUITriStateBuffer",
+        "name": "GUITriStateBuffer#0",
+        "pos": {
+          "x": 180.0,
+          "y": 290.0
+        },
+        "params": {
+          "logicWidth": 12,
+          "orientation": "DOWN_ALT"
+        }
+      },
       {
         "id": "class:net.mograsim.logic.model.model.wires.WireCrossPoint",
         "name": "WireCrossPoint#6",
@@ -244,14 +264,6 @@ mograsim version: 0.1.3
         },
         "params": 1
       },
-      {
-        "id": "class:net.mograsim.logic.model.am2900.components.GUImux4_12",
-        "name": "GUImux4_12#0",
-        "pos": {
-          "x": 150.0,
-          "y": 175.0
-        }
-      },
       {
         "id": "class:net.mograsim.logic.model.am2900.components.GUInor12",
         "name": "GUInor12#0",
@@ -303,6 +315,14 @@ mograsim version: 0.1.3
         },
         "params": 12
       },
+      {
+        "id": "class:net.mograsim.logic.model.am2900.components.GUIsel4_12",
+        "name": "GUIsel4_12#0",
+        "pos": {
+          "x": 150.0,
+          "y": 175.0
+        }
+      },
       {
         "id": "class:net.mograsim.logic.model.am2900.components.am2910.GUIAm2910RegCntr",
         "name": "GUIAm2910RegCntr#0",
@@ -574,7 +594,7 @@ mograsim version: 0.1.3
           "pinName": "YR"
         },
         "pin2": {
-          "compName": "GUImux4_12#0",
+          "compName": "GUIsel4_12#0",
           "pinName": "SB"
         },
         "name": "unnamedWire#1",
@@ -598,12 +618,24 @@ mograsim version: 0.1.3
           "pinName": "YD"
         },
         "pin2": {
-          "compName": "GUImux4_12#0",
+          "compName": "GUIsel4_12#0",
           "pinName": "SA"
         },
         "name": "unnamedWire#0",
         "path": []
       },
+      {
+        "pin1": {
+          "compName": "GUITriStateBuffer#0",
+          "pinName": "OUT"
+        },
+        "pin2": {
+          "compName": "_submodelinterface",
+          "pinName": "Y"
+        },
+        "name": "unnamedWire#52",
+        "path": []
+      },
       {
         "pin1": {
           "compName": "WireCrossPoint#9",
@@ -665,13 +697,30 @@ mograsim version: 0.1.3
         "name": "unnamedWire#4",
         "path": []
       },
+      {
+        "pin1": {
+          "compName": "GUITriStateBuffer#0",
+          "pinName": "EN"
+        },
+        "pin2": {
+          "compName": "_submodelinterface",
+          "pinName": "_OE"
+        },
+        "name": "unnamedWire#53",
+        "path": [
+          {
+            "x": 245.0,
+            "y": 300.0
+          }
+        ]
+      },
       {
         "pin1": {
           "compName": "GUIAm2910InstrPLA#0",
           "pinName": "YmuPC"
         },
         "pin2": {
-          "compName": "GUImux4_12#0",
+          "compName": "GUIsel4_12#0",
           "pinName": "SD"
         },
         "name": "unnamedWire#3",
@@ -704,7 +753,7 @@ mograsim version: 0.1.3
           "pinName": "YF"
         },
         "pin2": {
-          "compName": "GUImux4_12#0",
+          "compName": "GUIsel4_12#0",
           "pinName": "SC"
         },
         "name": "unnamedWire#2",
@@ -817,7 +866,7 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compName": "GUImux4_12#0",
+          "compName": "GUIsel4_12#0",
           "pinName": "Y"
         },
         "pin2": {
@@ -833,7 +882,7 @@ mograsim version: 0.1.3
           "pinName": "Y"
         },
         "pin2": {
-          "compName": "GUImux4_12#0",
+          "compName": "GUIsel4_12#0",
           "pinName": "C"
         },
         "name": "unnamedWire#19",
@@ -850,7 +899,7 @@ mograsim version: 0.1.3
           "pinName": ""
         },
         "pin2": {
-          "compName": "GUImux4_12#0",
+          "compName": "GUIsel4_12#0",
           "pinName": "B"
         },
         "name": "unnamedWire#21",
@@ -862,7 +911,7 @@ mograsim version: 0.1.3
           "pinName": ""
         },
         "pin2": {
-          "compName": "GUImux4_12#0",
+          "compName": "GUIsel4_12#0",
           "pinName": "D"
         },
         "name": "unnamedWire#20",
@@ -903,7 +952,7 @@ mograsim version: 0.1.3
           "pinName": ""
         },
         "pin2": {
-          "compName": "GUImux4_12#0",
+          "compName": "GUIsel4_12#0",
           "pinName": "A"
         },
         "name": "unnamedWire#25",
@@ -936,12 +985,12 @@ mograsim version: 0.1.3
       },
       {
         "pin1": {
-          "compName": "WireCrossPoint#2",
-          "pinName": ""
+          "compName": "GUITriStateBuffer#0",
+          "pinName": "IN"
         },
         "pin2": {
-          "compName": "_submodelinterface",
-          "pinName": "Y"
+          "compName": "WireCrossPoint#2",
+          "pinName": ""
         },
         "name": "unnamedWire#27",
         "path": []