X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.editor%2Fcomponents%2FGUIand41.json;h=c7ae05e536522762d2e31d6f7b84e7e59a874acf;hb=148a58630b38b30d4d24a21e3f55c357f5b4d0bc;hp=87b73945a4242f0fc98150e860557d4975e35bde;hpb=4c9a2240352c246c76a056687a2d68208137b667;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/components/GUIand41.json b/net.mograsim.logic.model.editor/components/GUIand41.json index 87b73945..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,39 +80,13 @@ mograsim version: 0.1.3 "y": 35.0 }, "name": "Y4", - "logicWidth": 1 + "logicWidth": 1, + "usage": "OUTPUT" } ], + "innerScale": 0.4, "submodel": { - "innerScale": 0.4, - "subComps": [ - { - "id": "WireCrossPoint", - "name": "WireCrossPoint#1", - "pos": { - "x": 24.0, - "y": 71.5 - }, - "params": 1 - }, - { - "id": "WireCrossPoint", - "name": "WireCrossPoint#0", - "pos": { - "x": 24.0, - "y": 46.5 - }, - "params": 1 - }, - { - "id": "WireCrossPoint", - "name": "WireCrossPoint#2", - "pos": { - "x": 24.0, - "y": 96.5 - }, - "params": 1 - }, + "components": [ { "id": "GUIand", "name": "GUIand#0", @@ -116,18 +97,18 @@ mograsim version: 0.1.3 }, { "id": "GUIand", - "name": "GUIand#2", + "name": "GUIand#1", "pos": { "x": 30.0, - "y": 57.5 + "y": 32.5 } }, { "id": "GUIand", - "name": "GUIand#1", + "name": "GUIand#2", "pos": { "x": 30.0, - "y": 32.5 + "y": 57.5 } }, { @@ -137,31 +118,58 @@ mograsim version: 0.1.3 "x": 30.0, "y": 82.5 } + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", + "pos": { + "x": 24.0, + "y": 46.5 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", + "pos": { + "x": 24.0, + "y": 71.5 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#2", + "pos": { + "x": 24.0, + "y": 96.5 + }, + "params": 1 } ], - "innerWires": [ + "wires": [ { "pin1": { - "compName": "GUIand#3", - "pinName": "Y" + "compName": "_submodelinterface", + "pinName": "A1" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "Y4" + "compName": "GUIand#0", + "pinName": "A" }, - "name": "unnamedWire#14", + "name": "unnamedWire#0", "path": [] }, { "pin1": { - "compName": "GUIand#2", - "pinName": "Y" + "compName": "_submodelinterface", + "pinName": "A2" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "Y3" + "compName": "GUIand#1", + "pinName": "A" }, - "name": "unnamedWire#13", + "name": "unnamedWire#1", "path": [] }, { @@ -170,101 +178,89 @@ mograsim version: 0.1.3 "pinName": "" }, "pin2": { - "compName": "GUIand#1", + "compName": "GUIand#0", "pinName": "B" }, - "name": "unnamedWire#9", - "path": [] + "name": "unnamedWire#10", + "path": [ + { + "x": 25.0, + "y": 22.5 + } + ] }, { "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" + "compName": "GUIand#0", + "pinName": "Y" }, "pin2": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "_submodelinterface", + "pinName": "Y1" }, - "name": "unnamedWire#8", + "name": "unnamedWire#11", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" + "compName": "GUIand#1", + "pinName": "Y" }, "pin2": { - "compName": "GUIand#2", - "pinName": "B" + "compName": "_submodelinterface", + "pinName": "Y2" }, - "name": "unnamedWire#7", + "name": "unnamedWire#12", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#2", - "pinName": "" + "compName": "GUIand#2", + "pinName": "Y" }, "pin2": { - "compName": "WireCrossPoint#1", - "pinName": "" + "compName": "_submodelinterface", + "pinName": "Y3" }, - "name": "unnamedWire#6", + "name": "unnamedWire#13", "path": [] }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "A2" + "compName": "GUIand#3", + "pinName": "Y" }, "pin2": { - "compName": "GUIand#1", - "pinName": "A" + "compName": "_submodelinterface", + "pinName": "Y4" }, - "name": "unnamedWire#1", + "name": "unnamedWire#14", "path": [] }, { "pin1": { "compName": "_submodelinterface", - "pinName": "A1" + "pinName": "A3" }, "pin2": { - "compName": "GUIand#0", + "compName": "GUIand#2", "pinName": "A" }, - "name": "unnamedWire#0", + "name": "unnamedWire#2", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#2", - "pinName": "" + "compName": "_submodelinterface", + "pinName": "A4" }, "pin2": { "compName": "GUIand#3", - "pinName": "B" + "pinName": "A" }, - "name": "unnamedWire#5", + "name": "unnamedWire#3", "path": [] }, - { - "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" - }, - "pin2": { - "compName": "GUIand#0", - "pinName": "B" - }, - "name": "unnamedWire#10", - "path": [ - { - "x": 25.0, - "y": 22.5 - } - ] - }, { "pin1": { "compName": "_submodelinterface", @@ -284,53 +280,66 @@ mograsim version: 0.1.3 }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "A4" + "compName": "WireCrossPoint#2", + "pinName": "" }, "pin2": { "compName": "GUIand#3", - "pinName": "A" + "pinName": "B" }, - "name": "unnamedWire#3", + "name": "unnamedWire#5", "path": [] }, { "pin1": { - "compName": "GUIand#1", - "pinName": "Y" + "compName": "WireCrossPoint#2", + "pinName": "" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "Y2" + "compName": "WireCrossPoint#1", + "pinName": "" }, - "name": "unnamedWire#12", + "name": "unnamedWire#6", "path": [] }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "A3" + "compName": "WireCrossPoint#1", + "pinName": "" }, "pin2": { "compName": "GUIand#2", - "pinName": "A" + "pinName": "B" }, - "name": "unnamedWire#2", + "name": "unnamedWire#7", "path": [] }, { "pin1": { - "compName": "GUIand#0", - "pinName": "Y" + "compName": "WireCrossPoint#1", + "pinName": "" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "Y1" + "compName": "WireCrossPoint#0", + "pinName": "" }, - "name": "unnamedWire#11", + "name": "unnamedWire#8", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#0", + "pinName": "" + }, + "pin2": { + "compName": "GUIand#1", + "pinName": "B" + }, + "name": "unnamedWire#9", "path": [] } - ] + ], + "version": "0.1.1" }, "symbolRendererSnippetID": "simpleRectangularLike", "symbolRendererParams": { @@ -340,5 +349,7 @@ mograsim version: 0.1.3 "pinLabelHeight": 3.5, "pinLabelMargin": 0.5 }, - "outlineRendererSnippetID": "default" + "outlineRendererSnippetID": "default", + "highLevelStateHandlerSnippetID": "default", + "version": "0.1.5" } \ No newline at end of file