X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.editor%2Fcomponents%2FGUIfulladder.json;h=8b41bd3e188e07e05ace77617d2623fda750825d;hb=148a58630b38b30d4d24a21e3f55c357f5b4d0bc;hp=c523394d4da4c94ca283e07d3af914a8954667fa;hpb=052c4f704ea286f8db1db3a7b055c9447369c0c2;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/components/GUIfulladder.json b/net.mograsim.logic.model.editor/components/GUIfulladder.json index c523394d..8b41bd3e 100644 --- a/net.mograsim.logic.model.editor/components/GUIfulladder.json +++ b/net.mograsim.logic.model.editor/components/GUIfulladder.json @@ -1,4 +1,3 @@ -mograsim version: 0.1.3 { "width": 35.0, "height": 30.0, @@ -9,7 +8,8 @@ mograsim version: 0.1.3 "y": 5.0 }, "name": "A", - "logicWidth": 1 + "logicWidth": 1, + "usage": "INPUT" }, { "location": { @@ -17,7 +17,8 @@ mograsim version: 0.1.3 "y": 15.0 }, "name": "B", - "logicWidth": 1 + "logicWidth": 1, + "usage": "INPUT" }, { "location": { @@ -25,7 +26,8 @@ mograsim version: 0.1.3 "y": 25.0 }, "name": "C", - "logicWidth": 1 + "logicWidth": 1, + "usage": "INPUT" }, { "location": { @@ -33,7 +35,8 @@ mograsim version: 0.1.3 "y": 5.0 }, "name": "Y", - "logicWidth": 1 + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { @@ -41,39 +44,40 @@ mograsim version: 0.1.3 "y": 15.0 }, "name": "Z", - "logicWidth": 1 + "logicWidth": 1, + "usage": "OUTPUT" } ], + "innerScale": 0.4, "submodel": { - "innerScale": 0.4, - "subComps": [ + "components": [ { + "id": "GUINandGate", + "name": "GUINandGate#0", "pos": { "x": 57.5, "y": 40.0 }, - "id": "GUINandGate", - "name": "GUINandGate#0", "params": 1 }, { + "id": "GUIhalfadder", + "name": "GUIhalfadder#0", "pos": { "x": 5.0, "y": 40.0 - }, - "id": "GUIhalfadder", - "name": "GUIhalfadder#0" + } }, { + "id": "GUIhalfadder", + "name": "GUIhalfadder#1", "pos": { "x": 45.0, "y": 7.5 - }, - "id": "GUIhalfadder", - "name": "GUIhalfadder#1" + } } ], - "innerWires": [ + "wires": [ { "pin1": { "compName": "_submodelinterface", @@ -83,6 +87,7 @@ mograsim version: 0.1.3 "compName": "GUIhalfadder#1", "pinName": "A" }, + "name": "unnamedWire#0", "path": [] }, { @@ -93,7 +98,8 @@ mograsim version: 0.1.3 "pin2": { "compName": "GUIhalfadder#0", "pinName": "A" - } + }, + "name": "unnamedWire#1" }, { "pin1": { @@ -103,7 +109,8 @@ mograsim version: 0.1.3 "pin2": { "compName": "GUIhalfadder#0", "pinName": "B" - } + }, + "name": "unnamedWire#2" }, { "pin1": { @@ -113,7 +120,8 @@ mograsim version: 0.1.3 "pin2": { "compName": "GUIhalfadder#1", "pinName": "B" - } + }, + "name": "unnamedWire#3" }, { "pin1": { @@ -124,6 +132,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#0", "pinName": "B" }, + "name": "unnamedWire#4", "path": [] }, { @@ -135,6 +144,7 @@ mograsim version: 0.1.3 "compName": "_submodelinterface", "pinName": "Y" }, + "name": "unnamedWire#5", "path": [] }, { @@ -146,6 +156,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#0", "pinName": "A" }, + "name": "unnamedWire#6", "path": [ { "x": 82.5, @@ -173,9 +184,11 @@ mograsim version: 0.1.3 "pin2": { "compName": "_submodelinterface", "pinName": "Z" - } + }, + "name": "unnamedWire#7" } - ] + ], + "version": "0.1.1" }, "symbolRendererSnippetID": "simpleRectangularLike", "symbolRendererParams": { @@ -184,5 +197,8 @@ mograsim version: 0.1.3 "horizontalComponentCenter": 17.5, "pinLabelHeight": 3.5, "pinLabelMargin": 0.5 - } + }, + "outlineRendererSnippetID": "default", + "highLevelStateHandlerSnippetID": "default", + "version": "0.1.5" } \ No newline at end of file