X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.editor%2Fcomponents%2FGUIand41.json;h=c7ae05e536522762d2e31d6f7b84e7e59a874acf;hb=148a58630b38b30d4d24a21e3f55c357f5b4d0bc;hp=973a4c9dfe2737cb07d754d2977914223012f16e;hpb=a393b0a2a9899707af54c9ee77a01f28ac967bd1;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/components/GUIand41.json b/net.mograsim.logic.model.editor/components/GUIand41.json index 973a4c9d..c7ae05e5 100644 --- a/net.mograsim.logic.model.editor/components/GUIand41.json +++ b/net.mograsim.logic.model.editor/components/GUIand41.json @@ -1,4 +1,3 @@ -mograsim version: 0.1.3 { "width": 35.0, "height": 50.0, @@ -9,7 +8,8 @@ mograsim version: 0.1.3 "y": 5.0 }, "name": "A1", - "logicWidth": 1 + "logicWidth": 1, + "usage": "INPUT" }, { "location": { @@ -17,7 +17,8 @@ mograsim version: 0.1.3 "y": 15.0 }, "name": "A2", - "logicWidth": 1 + "logicWidth": 1, + "usage": "INPUT" }, { "location": { @@ -25,23 +26,26 @@ mograsim version: 0.1.3 "y": 25.0 }, "name": "A3", - "logicWidth": 1 + "logicWidth": 1, + "usage": "INPUT" }, { "location": { "x": 0.0, - "y": 45.0 + "y": 35.0 }, - "name": "B", - "logicWidth": 1 + "name": "A4", + "logicWidth": 1, + "usage": "INPUT" }, { "location": { "x": 0.0, - "y": 35.0 + "y": 45.0 }, - "name": "A4", - "logicWidth": 1 + "name": "B", + "logicWidth": 1, + "usage": "INPUT" }, { "location": { @@ -49,7 +53,8 @@ mograsim version: 0.1.3 "y": 5.0 }, "name": "Y1", - "logicWidth": 1 + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { @@ -57,7 +62,8 @@ mograsim version: 0.1.3 "y": 15.0 }, "name": "Y2", - "logicWidth": 1 + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { @@ -65,7 +71,8 @@ mograsim version: 0.1.3 "y": 25.0 }, "name": "Y3", - "logicWidth": 1 + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { @@ -73,73 +80,74 @@ mograsim version: 0.1.3 "y": 35.0 }, "name": "Y4", - "logicWidth": 1 + "logicWidth": 1, + "usage": "OUTPUT" } ], + "innerScale": 0.4, "submodel": { - "innerScale": 0.4, - "subComps": [ + "components": [ { + "id": "GUIand", + "name": "GUIand#0", "pos": { - "x": 24.0, - "y": 71.5 - }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#1", - "params": 1 + "x": 30.0, + "y": 7.5 + } }, { + "id": "GUIand", + "name": "GUIand#1", "pos": { - "x": 24.0, - "y": 46.5 - }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#0", - "params": 1 + "x": 30.0, + "y": 32.5 + } }, { + "id": "GUIand", + "name": "GUIand#2", "pos": { - "x": 24.0, - "y": 96.5 - }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#2", - "params": 1 + "x": 30.0, + "y": 57.5 + } }, { + "id": "GUIand", + "name": "GUIand#3", "pos": { "x": 30.0, - "y": 7.5 - }, - "id": "GUIand", - "name": "GUIand#0" + "y": 82.5 + } }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", "pos": { - "x": 30.0, - "y": 57.5 + "x": 24.0, + "y": 46.5 }, - "id": "GUIand", - "name": "GUIand#2" + "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", "pos": { - "x": 30.0, - "y": 32.5 + "x": 24.0, + "y": 71.5 }, - "id": "GUIand", - "name": "GUIand#1" + "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#2", "pos": { - "x": 30.0, - "y": 82.5 + "x": 24.0, + "y": 96.5 }, - "id": "GUIand", - "name": "GUIand#3" + "params": 1 } ], - "innerWires": [ + "wires": [ { "pin1": { "compName": "_submodelinterface", @@ -149,6 +157,7 @@ mograsim version: 0.1.3 "compName": "GUIand#0", "pinName": "A" }, + "name": "unnamedWire#0", "path": [] }, { @@ -160,6 +169,72 @@ mograsim version: 0.1.3 "compName": "GUIand#1", "pinName": "A" }, + "name": "unnamedWire#1", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#0", + "pinName": "" + }, + "pin2": { + "compName": "GUIand#0", + "pinName": "B" + }, + "name": "unnamedWire#10", + "path": [ + { + "x": 25.0, + "y": 22.5 + } + ] + }, + { + "pin1": { + "compName": "GUIand#0", + "pinName": "Y" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "Y1" + }, + "name": "unnamedWire#11", + "path": [] + }, + { + "pin1": { + "compName": "GUIand#1", + "pinName": "Y" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "Y2" + }, + "name": "unnamedWire#12", + "path": [] + }, + { + "pin1": { + "compName": "GUIand#2", + "pinName": "Y" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "Y3" + }, + "name": "unnamedWire#13", + "path": [] + }, + { + "pin1": { + "compName": "GUIand#3", + "pinName": "Y" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "Y4" + }, + "name": "unnamedWire#14", "path": [] }, { @@ -171,6 +246,7 @@ mograsim version: 0.1.3 "compName": "GUIand#2", "pinName": "A" }, + "name": "unnamedWire#2", "path": [] }, { @@ -182,6 +258,7 @@ mograsim version: 0.1.3 "compName": "GUIand#3", "pinName": "A" }, + "name": "unnamedWire#3", "path": [] }, { @@ -193,6 +270,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#2", "pinName": "" }, + "name": "unnamedWire#4", "path": [ { "x": 25.0, @@ -209,6 +287,7 @@ mograsim version: 0.1.3 "compName": "GUIand#3", "pinName": "B" }, + "name": "unnamedWire#5", "path": [] }, { @@ -220,6 +299,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#1", "pinName": "" }, + "name": "unnamedWire#6", "path": [] }, { @@ -231,6 +311,7 @@ mograsim version: 0.1.3 "compName": "GUIand#2", "pinName": "B" }, + "name": "unnamedWire#7", "path": [] }, { @@ -242,6 +323,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#0", "pinName": "" }, + "name": "unnamedWire#8", "path": [] }, { @@ -253,76 +335,21 @@ mograsim version: 0.1.3 "compName": "GUIand#1", "pinName": "B" }, - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" - }, - "pin2": { - "compName": "GUIand#0", - "pinName": "B" - }, - "path": [ - { - "x": 25.0, - "y": 22.5 - } - ] - }, - { - "pin1": { - "compName": "GUIand#0", - "pinName": "Y" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Y1" - }, - "path": [] - }, - { - "pin1": { - "compName": "GUIand#1", - "pinName": "Y" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Y2" - }, - "path": [] - }, - { - "pin1": { - "compName": "GUIand#2", - "pinName": "Y" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Y3" - }, - "path": [] - }, - { - "pin1": { - "compName": "GUIand#3", - "pinName": "Y" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Y4" - }, + "name": "unnamedWire#9", "path": [] } - ] + ], + "version": "0.1.1" }, - "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer", + "symbolRendererSnippetID": "simpleRectangularLike", "symbolRendererParams": { "centerText": "GUIand41", - "horizontalComponentCenter": 17.5, "centerTextHeight": 5.0, + "horizontalComponentCenter": 17.5, "pinLabelHeight": 3.5, "pinLabelMargin": 0.5 - } + }, + "outlineRendererSnippetID": "default", + "highLevelStateHandlerSnippetID": "default", + "version": "0.1.5" } \ No newline at end of file