Started working on modeling the GUIAm2904
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Sun, 18 Aug 2019 19:40:19 +0000 (21:40 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Sun, 18 Aug 2019 19:40:25 +0000 (21:40 +0200)
net.mograsim.logic.model.am2900/components/am2904/GUIAm2904.json [new file with mode: 0644]

diff --git a/net.mograsim.logic.model.am2900/components/am2904/GUIAm2904.json b/net.mograsim.logic.model.am2900/components/am2904/GUIAm2904.json
new file mode 100644 (file)
index 0000000..9e1fd5d
--- /dev/null
@@ -0,0 +1,571 @@
+mograsim version: 0.1.3
+{
+  "width": 72.0,
+  "height": 61.0,
+  "interfacePins": [
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 24.400000000000002
+      },
+      "name": "IOVR",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 19.400000000000002
+      },
+      "name": "_CEM",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": 0.4,
+        "y": 5.4
+      },
+      "name": "C",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 29.400000000000002
+      },
+      "name": "YN_in",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": 0.4,
+        "y": 31.400000000000002
+      },
+      "name": "I",
+      "logicWidth": 13
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 9.4
+      },
+      "name": "_EN",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": -0.6000000000000001
+      },
+      "name": "QIOn_out",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 14.4
+      },
+      "name": "SIOn_in",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 24.400000000000002
+      },
+      "name": "C0",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 54.400000000000006
+      },
+      "name": "YOVR_in",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -34.6,
+        "y": 29.400000000000002
+      },
+      "name": "QIO0_in",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 34.4
+      },
+      "name": "YZ_in",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 9.4
+      },
+      "name": "_EZ",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 14.4
+      },
+      "name": "Cx",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 19.400000000000002
+      },
+      "name": "SIOn_out",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 29.400000000000002
+      },
+      "name": "IC",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 49.400000000000006
+      },
+      "name": "_EOVR",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -34.6,
+        "y": 14.4
+      },
+      "name": "IN",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 39.400000000000006
+      },
+      "name": "YC_out",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -34.6,
+        "y": -0.6000000000000001
+      },
+      "name": "YOVR_out",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 44.400000000000006
+      },
+      "name": "SIO0_in",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 49.400000000000006
+      },
+      "name": "SIO0_out",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 44.400000000000006
+      },
+      "name": "QIO0_out",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -34.6,
+        "y": 24.400000000000002
+      },
+      "name": "YZ_out",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 4.4
+      },
+      "name": "IZ",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": -0.6000000000000001
+      },
+      "name": "CT",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 34.4
+      },
+      "name": "_CEmu",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -34.6,
+        "y": 19.400000000000002
+      },
+      "name": "YN_out",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -24.6,
+        "y": 54.400000000000006
+      },
+      "name": "QIOn_in",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -34.6,
+        "y": 4.4
+      },
+      "name": "_EC",
+      "logicWidth": 1
+    },
+    {
+      "location": {
+        "x": -14.600000000000001,
+        "y": 39.400000000000006
+      },
+      "name": "YC_in",
+      "logicWidth": 1
+    }
+  ],
+  "submodel": {
+    "innerScale": 0.2,
+    "subComps": [
+      {
+        "id": "class:net.mograsim.logic.model.model.wires.WireCrossPoint",
+        "name": "WireCrossPoint#0",
+        "pos": {
+          "x": 190.0,
+          "y": 10.0
+        },
+        "params": 1
+      },
+      {
+        "id": "class:net.mograsim.logic.model.am2900.components.am2904.GUIAm2904RegCTInstrDecode",
+        "name": "GUIAm2904RegCTInstrDecode#0",
+        "pos": {
+          "x": 35.0,
+          "y": 80.0
+        }
+      },
+      {
+        "id": "class:net.mograsim.logic.model.model.components.atomic.GUISplitter",
+        "name": "GUISplitter#0",
+        "pos": {
+          "x": 5.0,
+          "y": 90.0
+        },
+        "params": 13
+      },
+      {
+        "id": "class:net.mograsim.logic.model.model.components.atomic.GUIMerger",
+        "name": "GUIMerger#1",
+        "pos": {
+          "x": 20.0,
+          "y": 150.0
+        },
+        "params": 5
+      },
+      {
+        "id": "class:net.mograsim.logic.model.model.components.atomic.GUIMerger",
+        "name": "GUIMerger#0",
+        "pos": {
+          "x": 20.0,
+          "y": 90.0
+        },
+        "params": 6
+      },
+      {
+        "id": "class:net.mograsim.logic.model.am2900.components.am2904.GUIAm2904ShiftInstrDecode",
+        "name": "GUIAm2904ShiftInstrDecode#0",
+        "pos": {
+          "x": 40.0,
+          "y": 230.0
+        }
+      },
+      {
+        "id": "class:net.mograsim.logic.model.am2900.components.GUIdff4_finewe",
+        "name": "GUIdff4_finewe#0",
+        "pos": {
+          "x": 195.0,
+          "y": 5.0
+        }
+      },
+      {
+        "id": "class:net.mograsim.logic.model.am2900.components.GUIdff4_finewe",
+        "name": "GUIdff4_finewe#1",
+        "pos": {
+          "x": 195.0,
+          "y": 110.0
+        }
+      }
+    ],
+    "innerWires": [
+      {
+        "pin1": {
+          "compName": "GUISplitter#0",
+          "pinName": "O10"
+        },
+        "pin2": {
+          "compName": "GUIMerger#1",
+          "pinName": "I4"
+        },
+        "name": "unnamedWire#14",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "GUIMerger#1",
+          "pinName": "I3"
+        },
+        "pin2": {
+          "compName": "GUISplitter#0",
+          "pinName": "O9"
+        },
+        "name": "unnamedWire#13",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "GUIAm2904ShiftInstrDecode#0",
+          "pinName": "I"
+        },
+        "pin2": {
+          "compName": "GUIMerger#1",
+          "pinName": "O"
+        },
+        "name": "unnamedWire#16",
+        "path": [
+          {
+            "x": 35.0,
+            "y": 265.0
+          },
+          {
+            "x": 35.0,
+            "y": 175.0
+          }
+        ]
+      },
+      {
+        "pin1": {
+          "compName": "GUIMerger#0",
+          "pinName": "O"
+        },
+        "pin2": {
+          "compName": "GUIAm2904RegCTInstrDecode#0",
+          "pinName": "I"
+        },
+        "name": "unnamedWire#15",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "GUIMerger#0",
+          "pinName": "I5"
+        },
+        "pin2": {
+          "compName": "GUISplitter#0",
+          "pinName": "O5"
+        },
+        "name": "unnamedWire#9",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "GUISplitter#0",
+          "pinName": "O4"
+        },
+        "pin2": {
+          "compName": "GUIMerger#0",
+          "pinName": "I4"
+        },
+        "name": "unnamedWire#8",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "GUIMerger#0",
+          "pinName": "I3"
+        },
+        "pin2": {
+          "compName": "GUISplitter#0",
+          "pinName": "O3"
+        },
+        "name": "unnamedWire#7",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "GUISplitter#0",
+          "pinName": "O2"
+        },
+        "pin2": {
+          "compName": "GUIMerger#0",
+          "pinName": "I2"
+        },
+        "name": "unnamedWire#6",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "WireCrossPoint#0",
+          "pinName": ""
+        },
+        "pin2": {
+          "compName": "GUIdff4_finewe#0",
+          "pinName": "C"
+        },
+        "name": "unnamedWire#1",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "_submodelinterface",
+          "pinName": "C"
+        },
+        "pin2": {
+          "compName": "WireCrossPoint#0",
+          "pinName": ""
+        },
+        "name": "unnamedWire#0",
+        "path": [
+          {
+            "x": 5.0,
+            "y": 25.0
+          },
+          {
+            "x": 5.0,
+            "y": 10.0
+          }
+        ]
+      },
+      {
+        "pin1": {
+          "compName": "GUIMerger#0",
+          "pinName": "I1"
+        },
+        "pin2": {
+          "compName": "GUISplitter#0",
+          "pinName": "O1"
+        },
+        "name": "unnamedWire#5",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "GUISplitter#0",
+          "pinName": "O6"
+        },
+        "pin2": {
+          "compName": "GUIMerger#1",
+          "pinName": "I0"
+        },
+        "name": "unnamedWire#10",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "GUISplitter#0",
+          "pinName": "O0"
+        },
+        "pin2": {
+          "compName": "GUIMerger#0",
+          "pinName": "I0"
+        },
+        "name": "unnamedWire#4",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "_submodelinterface",
+          "pinName": "I"
+        },
+        "pin2": {
+          "compName": "GUISplitter#0",
+          "pinName": "I"
+        },
+        "name": "unnamedWire#3",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "GUISplitter#0",
+          "pinName": "O8"
+        },
+        "pin2": {
+          "compName": "GUIMerger#1",
+          "pinName": "I2"
+        },
+        "name": "unnamedWire#12",
+        "path": []
+      },
+      {
+        "pin1": {
+          "compName": "WireCrossPoint#0",
+          "pinName": ""
+        },
+        "pin2": {
+          "compName": "GUIdff4_finewe#1",
+          "pinName": "C"
+        },
+        "name": "unnamedWire#2",
+        "path": [
+          {
+            "x": 190.0,
+            "y": 115.0
+          }
+        ]
+      },
+      {
+        "pin1": {
+          "compName": "GUIMerger#1",
+          "pinName": "I1"
+        },
+        "pin2": {
+          "compName": "GUISplitter#0",
+          "pinName": "O7"
+        },
+        "name": "unnamedWire#11",
+        "path": []
+      }
+    ]
+  },
+  "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
+  "symbolRendererParams": {
+    "centerText": "Am2904",
+    "centerTextHeight": 5.0,
+    "horizontalComponentCenter": 17.5,
+    "pinLabelHeight": 3.5,
+    "pinLabelMargin": 0.5
+  },
+  "outlineRendererSnippetID": "class:net.mograsim.logic.model.snippets.outlinerenderers.DefaultOutlineRenderer",
+  "highLevelStateHandlerSnippetID": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.StandardHighLevelStateHandler",
+  "highLevelStateHandlerParams": {
+    "subcomponentHighLevelStates": {},
+    "atomicHighLevelStates": {}
+  }
+}
\ No newline at end of file