Added two SymbolRendererProviders
[Mograsim.git] / net.mograsim.logic.ui.am2900 / components / am2901 / GUIAm2901ALUInclSourceDecodeInclFunctionDecode.json
index 71a63aa..6c9e6d3 100644 (file)
@@ -1,7 +1,5 @@
-mograsim version: 0.1.2
+mograsim version: 0.1.3
 {
-  "type": "SimpleRectangularSubmodelComponent",
-  "name": "GUIAm2901ALUInclSourceDecodeInclFunctionDecode",
   "width": 35.0,
   "height": 230.0,
   "interfacePins": [
@@ -238,7 +236,7 @@ mograsim version: 0.1.2
       "logicWidth": 1
     }
   ],
-  "composition": {
+  "submodel": {
     "innerScale": 0.25,
     "subComps": [
       {
@@ -246,72 +244,60 @@ mograsim version: 0.1.2
           "x": 15.0,
           "y": 165.0
         },
-        "name": "GUIAm2901SourceDecode",
-        "params": {}
+        "id": "GUIAm2901SourceDecode"
       },
       {
         "pos": {
           "x": 45.0,
           "y": 365.0
         },
-        "name": "GUIsel2_4",
-        "params": {}
+        "id": "GUIsel2_4"
       },
       {
         "pos": {
           "x": 45.0,
           "y": 575.0
         },
-        "name": "GUIsel3_4",
-        "params": {}
+        "id": "GUIsel3_4"
       },
       {
         "pos": {
           "x": 60.0,
           "y": 15.0
         },
-        "name": "GUIAm2901ALUInclDecode",
-        "params": {}
+        "id": "GUIAm2901ALUInclDecode"
       },
       {
         "pos": {
           "x": 9.0,
           "y": 459.0
         },
-        "name": "WireCrossPoint",
-        "params": {
-          "logicWidth": 1
-        }
+        "id": "WireCrossPoint",
+        "params": 1
       },
       {
         "pos": {
           "x": 14.0,
           "y": 499.0
         },
-        "name": "WireCrossPoint",
-        "params": {
-          "logicWidth": 1
-        }
+        "id": "WireCrossPoint",
+        "params": 1
       },
       {
         "pos": {
           "x": 19.0,
           "y": 539.0
         },
-        "name": "WireCrossPoint",
-        "params": {
-          "logicWidth": 1
-        }
+        "id": "WireCrossPoint",
+        "params": 1
       },
       {
         "pos": {
           "x": 24.0,
           "y": 579.0
         },
-        "name": "WireCrossPoint",
-        "params": {
-          "logicWidth": 1
-        }
+        "id": "WireCrossPoint",
+        "params": 1
       }
     ],
     "innerWires": [
@@ -1308,41 +1294,12 @@ mograsim version: 0.1.2
       }
     ]
   },
-  "specialized": {
-    "input_count": [
-      "I5",
-      "I4",
-      "I3",
-      "I2",
-      "I1",
-      "I0",
-      "Cn",
-      "D1",
-      "D2",
-      "D3",
-      "D4",
-      "A1",
-      "A2",
-      "A3",
-      "A4",
-      "B1",
-      "B2",
-      "B3",
-      "B4",
-      "Q1",
-      "Q2",
-      "Q3",
-      "Q4"
-    ],
-    "label": "GUIAm2901ALUInclSourceDecodeInclFunctionDecode",
-    "logic_width": 1,
-    "output_count": [
-      "F1",
-      "F2",
-      "F3",
-      "F4",
-      "Cn+4",
-      "OVR"
-    ]
+  "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
+  "symbolRendererParams": {
+    "centerText": "Am2901ALUInclSourceDecodeInclFunctionDecode",
+    "horizontalComponentCenter": 17.5,
+    "centerTextHeight": 5,
+    "pinLabelHeight": 3.5,
+    "pinLabelMargin": 0.5
   }
 }
\ No newline at end of file