X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=net.mograsim.logic.ui.am2900%2Fcomponents%2FGUIfulladder.json;h=34cc7ea4011d909ef8a8cf7951027ce2a2ebd7cc;hb=9ca90120a47e07c9182162351dc47aa89ae703be;hp=259ba27027a741a3fe50f8b3682d12298a164d23;hpb=70d9098dd01dfe29142a4184438175d5a013bb5b;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/components/GUIfulladder.json b/net.mograsim.logic.ui.am2900/components/GUIfulladder.json index 259ba270..34cc7ea4 100644 --- a/net.mograsim.logic.ui.am2900/components/GUIfulladder.json +++ b/net.mograsim.logic.ui.am2900/components/GUIfulladder.json @@ -1,7 +1,5 @@ -mograsim version: 0.1.2 +mograsim version: 0.1.3 { - "type": "SimpleRectangularSubmodelComponent", - "name": "GUIfulladder", "width": 35.0, "height": 30.0, "interfacePins": [ @@ -46,7 +44,7 @@ mograsim version: 0.1.2 "logicWidth": 1 } ], - "composition": { + "submodel": { "innerScale": 0.4, "subComps": [ { @@ -54,26 +52,22 @@ mograsim version: 0.1.2 "x": 5.0, "y": 40.0 }, - "name": "GUIhalfadder", - "params": {} + "id": "GUIhalfadder" }, { "pos": { "x": 45.0, "y": 7.5 }, - "name": "GUIhalfadder", - "params": {} + "id": "GUIhalfadder" }, { "pos": { "x": 57.5, "y": 40.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 } ], "innerWires": [ @@ -180,17 +174,12 @@ mograsim version: 0.1.2 } ] }, - "specialized": { - "input_count": [ - "A", - "B", - "C" - ], - "label": "GUIfulladder", - "logic_width": 1, - "output_count": [ - "Y", - "Z" - ] + "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer", + "symbolRendererParams": { + "centerText": "fulladder", + "horizontalComponentCenter": 17.5, + "centerTextHeight": 5, + "pinLabelHeight": 3.5, + "pinLabelMargin": 0.5 } } \ No newline at end of file