X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.editor%2Fcomponents%2FGUInand3.json;h=28b9a601657046a1de47c28f3b48b10635a567bf;hb=148a58630b38b30d4d24a21e3f55c357f5b4d0bc;hp=1bdc7ccd36a029c5ba57685c6b767cdb9890a3bb;hpb=3977f16649531ca3ba345c9cd5ec365e0b804783;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/components/GUInand3.json b/net.mograsim.logic.model.editor/components/GUInand3.json index 1bdc7ccd..28b9a601 100644 --- a/net.mograsim.logic.model.editor/components/GUInand3.json +++ b/net.mograsim.logic.model.editor/components/GUInand3.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,26 +35,27 @@ mograsim version: 0.1.3 "y": 5.0 }, "name": "Y", - "logicWidth": 1 + "logicWidth": 1, + "usage": "OUTPUT" } ], + "innerScale": 0.4, "submodel": { - "innerScale": 0.4, - "subComps": [ + "components": [ { "id": "GUINandGate", - "name": "GUINandGate#1", + "name": "GUINandGate#0", "pos": { - "x": 35.0, + "x": 10.0, "y": 15.0 }, "params": 1 }, { "id": "GUINandGate", - "name": "GUINandGate#0", + "name": "GUINandGate#1", "pos": { - "x": 10.0, + "x": 35.0, "y": 15.0 }, "params": 1 @@ -76,39 +79,17 @@ mograsim version: 0.1.3 "params": 1 } ], - "innerWires": [ - { - "pin1": { - "compName": "GUINandGate#2", - "pinName": "Y" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Y" - }, - "name": "unnamedWire#7", - "path": [] - }, + "wires": [ { "pin1": { "compName": "_submodelinterface", - "pinName": "C" + "pinName": "A" }, "pin2": { - "compName": "GUINandGate#2", - "pinName": "B" + "compName": "GUINandGate#0", + "pinName": "A" }, - "name": "unnamedWire#6", - "path": [ - { - "x": 60.0, - "y": 62.5 - }, - { - "x": 60.0, - "y": 17.5 - } - ] + "name": "unnamedWire#0" }, { "pin1": { @@ -123,33 +104,30 @@ mograsim version: 0.1.3 }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "A" + "compName": "GUINandGate#0", + "pinName": "Y" }, "pin2": { - "compName": "GUINandGate#0", - "pinName": "A" + "compName": "WireCrossPoint#0", + "pinName": "" }, - "name": "unnamedWire#0" + "name": "unnamedWire#2", + "path": [] }, { "pin1": { - "compName": "GUINandGate#1", - "pinName": "Y" + "compName": "WireCrossPoint#0", + "pinName": "" }, "pin2": { - "compName": "GUINandGate#2", + "compName": "GUINandGate#1", "pinName": "A" }, - "name": "unnamedWire#5", + "name": "unnamedWire#3", "path": [ { - "x": 57.5, - "y": 25.0 - }, - { - "x": 57.5, - "y": 7.5 + "x": 32.5, + "y": 20.0 } ] }, @@ -172,36 +150,62 @@ mograsim version: 0.1.3 }, { "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "GUINandGate#1", + "pinName": "Y" }, "pin2": { - "compName": "GUINandGate#1", + "compName": "GUINandGate#2", "pinName": "A" }, - "name": "unnamedWire#3", + "name": "unnamedWire#5", "path": [ { - "x": 32.5, - "y": 20.0 + "x": 57.5, + "y": 25.0 + }, + { + "x": 57.5, + "y": 7.5 } ] }, { "pin1": { - "compName": "GUINandGate#0", + "compName": "_submodelinterface", + "pinName": "C" + }, + "pin2": { + "compName": "GUINandGate#2", + "pinName": "B" + }, + "name": "unnamedWire#6", + "path": [ + { + "x": 60.0, + "y": 62.5 + }, + { + "x": 60.0, + "y": 17.5 + } + ] + }, + { + "pin1": { + "compName": "GUINandGate#2", "pinName": "Y" }, "pin2": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "_submodelinterface", + "pinName": "Y" }, - "name": "unnamedWire#2", + "name": "unnamedWire#7", "path": [] } - ] + ], + "version": "0.1.1" }, - "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer", + "symbolRendererSnippetID": "simpleRectangularLike", "symbolRendererParams": { "centerText": "GUInand3", "centerTextHeight": 5.0, @@ -209,5 +213,7 @@ mograsim version: 0.1.3 "pinLabelHeight": 3.5, "pinLabelMargin": 0.5 }, - "outlineRendererSnippetID": "class:net.mograsim.logic.model.snippets.outlinerenderers.DefaultOutlineRenderer" + "outlineRendererSnippetID": "default", + "highLevelStateHandlerSnippetID": "default", + "version": "0.1.5" } \ No newline at end of file