Reserialized TestableAm2904
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Mon, 16 Sep 2019 15:49:55 +0000 (17:49 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Mon, 16 Sep 2019 15:49:55 +0000 (17:49 +0200)
tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/am2904/TestableAm2904.json

index 964d7d3..06aa591 100644 (file)
   "submodel": {
     "components": [
       {
-        "id": "Merger",
+        "id": "Am2904",
+        "name": "Am2904#0",
+        "pos": {
+          "x": 20.0,
+          "y": 15.0
+        }
+      },
+      {
+        "id": "Splitter",
         "name": "Merger#0",
         "pos": {
           "x": -30.0,
           "y": 70.0
         },
-        "params": 13
+        "params": {
+          "logicWidth": 13,
+          "orientation": "LEFT"
+        }
       },
       {
         "id": "Splitter",
           "x": -45.0,
           "y": 140.0
         },
-        "params": 6
+        "params": {
+          "logicWidth": 6,
+          "orientation": "RIGHT"
+        }
       },
       {
         "id": "Splitter",
           "x": -45.0,
           "y": 100.0
         },
-        "params": 4
+        "params": {
+          "logicWidth": 4,
+          "orientation": "RIGHT"
+        }
       },
       {
         "id": "Splitter",
           "x": -45.0,
           "y": 70.0
         },
-        "params": 2
-      },
-      {
-        "id": "Am2904",
-        "name": "Am2904#0",
-        "pos": {
-          "x": 20.0,
-          "y": 15.0
+        "params": {
+          "logicWidth": 2,
+          "orientation": "RIGHT"
         }
       }
     ],
       {
         "pin1": {
           "compName": "Merger#0",
-          "pinName": "I0"
+          "pinName": "O0"
         },
         "pin2": {
           "compName": "Splitter#0",
         },
         "pin2": {
           "compName": "Merger#0",
-          "pinName": "I1"
+          "pinName": "O1"
         },
         "name": "unnamedWire#13",
         "path": []
       {
         "pin1": {
           "compName": "Merger#0",
-          "pinName": "I2"
+          "pinName": "O2"
         },
         "pin2": {
           "compName": "Splitter#0",
         },
         "pin2": {
           "compName": "Merger#0",
-          "pinName": "I3"
+          "pinName": "O3"
         },
         "name": "unnamedWire#15",
         "path": []
       {
         "pin1": {
           "compName": "Merger#0",
-          "pinName": "I4"
+          "pinName": "O4"
         },
         "pin2": {
           "compName": "Splitter#0",
         },
         "pin2": {
           "compName": "Merger#0",
-          "pinName": "I5"
+          "pinName": "O5"
         },
         "name": "unnamedWire#17",
         "path": []
         },
         "pin2": {
           "compName": "Merger#0",
-          "pinName": "I6"
+          "pinName": "O6"
         },
         "name": "unnamedWire#18",
         "path": []
       {
         "pin1": {
           "compName": "Merger#0",
-          "pinName": "I7"
+          "pinName": "O7"
         },
         "pin2": {
           "compName": "Splitter#1",
         },
         "pin2": {
           "compName": "Merger#0",
-          "pinName": "I8"
+          "pinName": "O8"
         },
         "name": "unnamedWire#20",
         "path": []
       {
         "pin1": {
           "compName": "Merger#0",
-          "pinName": "I9"
+          "pinName": "O9"
         },
         "pin2": {
           "compName": "Splitter#1",
         },
         "pin2": {
           "compName": "Merger#0",
-          "pinName": "I11"
+          "pinName": "O11"
         },
         "name": "unnamedWire#22",
         "path": []
       {
         "pin1": {
           "compName": "Merger#0",
-          "pinName": "I12"
+          "pinName": "O12"
         },
         "pin2": {
           "compName": "Splitter#2",
       {
         "pin1": {
           "compName": "Merger#0",
-          "pinName": "O"
+          "pinName": "I"
         },
         "pin2": {
           "compName": "Am2904#0",
         },
         "pin2": {
           "compName": "Merger#0",
-          "pinName": "I10"
+          "pinName": "O10"
         },
         "name": "unnamedWire#26",
         "path": []
   "highLevelStateHandlerSnippetID": "standard",
   "highLevelStateHandlerParams": {
     "subcomponentHighLevelStates": {
-      "musr": {
+      "msr": {
         "id": "delegating",
         "params": {
           "delegateTarget": "Am2904#0",
-          "prefix": "musr"
+          "prefix": "msr"
         }
       },
-      "msr": {
+      "musr": {
         "id": "delegating",
         "params": {
           "delegateTarget": "Am2904#0",
-          "prefix": "msr"
+          "prefix": "musr"
         }
       }
     },