X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fcomponents%2FGUIdemux2.json;h=13ff969410f68d296df8ac4e70680b8ee5af6c3a;hb=1c8f03ff4ef9514bf2c77fcba94865a59efcbca7;hp=d6b01c6304acdd6a9a0d74d6ae69d9fab4af76e6;hpb=70d9098dd01dfe29142a4184438175d5a013bb5b;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/components/GUIdemux2.json b/net.mograsim.logic.ui.am2900/components/GUIdemux2.json index d6b01c63..13ff9694 100644 --- a/net.mograsim.logic.ui.am2900/components/GUIdemux2.json +++ b/net.mograsim.logic.ui.am2900/components/GUIdemux2.json @@ -1,7 +1,5 @@ -mograsim version: 0.1.2 +mograsim version: 0.1.3 { - "type": "SimpleRectangularSubmodelComponent", - "name": "GUIdemux2", "width": 35.0, "height": 40.0, "interfacePins": [ @@ -54,7 +52,7 @@ mograsim version: 0.1.2 "logicWidth": 1 } ], - "composition": { + "submodel": { "innerScale": 0.4, "subComps": [ { @@ -62,132 +60,108 @@ mograsim version: 0.1.2 "x": 10.0, "y": 2.5 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 10.0, "y": 27.5 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 40.0, "y": 2.5 }, - "name": "GUIand", - "params": {} + "id": "GUIand" }, { "pos": { "x": 40.0, "y": 27.5 }, - "name": "GUIand", - "params": {} + "id": "GUIand" }, { "pos": { "x": 40.0, "y": 52.5 }, - "name": "GUIand", - "params": {} + "id": "GUIand" }, { "pos": { "x": 40.0, "y": 77.5 }, - "name": "GUIand", - "params": {} + "id": "GUIand" }, { "pos": { "x": 6.5, "y": 11.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 6.5, "y": 16.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 36.5, "y": 61.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 4.0, "y": 36.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 4.0, "y": 41.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 31.5, "y": 66.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 31.5, "y": 11.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 34.0, "y": 36.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 } ], "innerWires": [ @@ -512,18 +486,12 @@ mograsim version: 0.1.2 } ] }, - "specialized": { - "input_count": [ - "S0", - "S1" - ], - "label": "GUIdemux2", - "logic_width": 1, - "output_count": [ - "Y00", - "Y01", - "Y10", - "Y11" - ] + "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer", + "symbolRendererParams": { + "centerText": "GUIdemux2", + "horizontalComponentCenter": 17.5, + "centerTextHeight": 5.0, + "pinLabelHeight": 3.5, + "pinLabelMargin": 0.5 } } \ No newline at end of file