X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.editor%2Fcomponents%2FGUIdlatch.json;h=b09c439c6d19b82500cf949eb8cbc22fe9b3f128;hb=148a58630b38b30d4d24a21e3f55c357f5b4d0bc;hp=26c4071d14da5f06fd575e87b730215d7e288966;hpb=3977f16649531ca3ba345c9cd5ec365e0b804783;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/components/GUIdlatch.json b/net.mograsim.logic.model.editor/components/GUIdlatch.json index 26c4071d..b09c439c 100644 --- a/net.mograsim.logic.model.editor/components/GUIdlatch.json +++ b/net.mograsim.logic.model.editor/components/GUIdlatch.json @@ -1,44 +1,56 @@ -mograsim version: 0.1.3 { "width": 35.0, "height": 20.0, "interfacePins": [ { "location": { - "x": 35.0, + "x": 0.0, "y": 5.0 }, - "name": "Q", - "logicWidth": 1 + "name": "D", + "logicWidth": 1, + "usage": "INPUT" }, { "location": { - "x": 35.0, + "x": 0.0, "y": 15.0 }, - "name": "_Q", - "logicWidth": 1 + "name": "E", + "logicWidth": 1, + "usage": "INPUT" }, { "location": { - "x": 0.0, + "x": 35.0, "y": 5.0 }, - "name": "D", - "logicWidth": 1 + "name": "Q", + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { - "x": 0.0, + "x": 35.0, "y": 15.0 }, - "name": "E", - "logicWidth": 1 + "name": "_Q", + "logicWidth": 1, + "usage": "OUTPUT" } ], + "innerScale": 0.4, "submodel": { - "innerScale": 0.4, - "subComps": [ + "components": [ + { + "id": "GUINandGate", + "name": "GUINandGate#0", + "pos": { + "x": 10.0, + "y": 2.5 + }, + "params": 1 + }, { "id": "GUINandGate", "name": "GUINandGate#1", @@ -57,11 +69,11 @@ mograsim version: 0.1.3 } }, { - "id": "GUINandGate", - "name": "GUINandGate#0", + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", "pos": { - "x": 10.0, - "y": 2.5 + "x": 4.0, + "y": 36.5 }, "params": 1 }, @@ -73,97 +85,78 @@ mograsim version: 0.1.3 "y": 11.5 }, "params": 1 - }, - { - "id": "WireCrossPoint", - "name": "WireCrossPoint#0", - "pos": { - "x": 4.0, - "y": 36.5 - }, - "params": 1 } ], - "innerWires": [ + "wires": [ { "pin1": { - "compName": "GUI_rsLatch#0", - "pinName": "_Q" + "compName": "_submodelinterface", + "pinName": "D" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "_Q" + "compName": "GUINandGate#0", + "pinName": "A" }, - "name": "unnamedWire#9" + "name": "unnamedWire#0" }, { "pin1": { - "compName": "GUI_rsLatch#0", - "pinName": "Q" + "compName": "_submodelinterface", + "pinName": "E" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "Q" + "compName": "WireCrossPoint#0", + "pinName": "" }, - "name": "unnamedWire#8", + "name": "unnamedWire#1", "path": [] }, { "pin1": { - "compName": "GUINandGate#1", - "pinName": "Y" + "compName": "WireCrossPoint#0", + "pinName": "" }, "pin2": { - "compName": "GUI_rsLatch#0", - "pinName": "_R" + "compName": "GUINandGate#0", + "pinName": "B" }, - "name": "unnamedWire#7", + "name": "unnamedWire#2", "path": [ { - "x": 40.0, - "y": 37.5 - }, - { - "x": 40.0, - "y": 22.5 + "x": 5.0, + "y": 17.5 } ] }, { "pin1": { - "compName": "WireCrossPoint#1", + "compName": "WireCrossPoint#0", "pinName": "" }, "pin2": { - "compName": "GUI_rsLatch#0", - "pinName": "_S" + "compName": "GUINandGate#1", + "pinName": "B" }, - "name": "unnamedWire#6", - "path": [] + "name": "unnamedWire#3", + "path": [ + { + "x": 5.0, + "y": 42.5 + } + ] }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "E" + "compName": "GUINandGate#0", + "pinName": "Y" }, "pin2": { - "compName": "WireCrossPoint#0", + "compName": "WireCrossPoint#1", "pinName": "" }, - "name": "unnamedWire#1", + "name": "unnamedWire#4", "path": [] }, - { - "pin1": { - "compName": "_submodelinterface", - "pinName": "D" - }, - "pin2": { - "compName": "GUINandGate#0", - "pinName": "A" - }, - "name": "unnamedWire#0" - }, { "pin1": { "compName": "WireCrossPoint#1", @@ -191,53 +184,64 @@ mograsim version: 0.1.3 }, { "pin1": { - "compName": "GUINandGate#0", - "pinName": "Y" - }, - "pin2": { "compName": "WireCrossPoint#1", "pinName": "" }, - "name": "unnamedWire#4", + "pin2": { + "compName": "GUI_rsLatch#0", + "pinName": "_S" + }, + "name": "unnamedWire#6", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "GUINandGate#1", + "pinName": "Y" }, "pin2": { - "compName": "GUINandGate#1", - "pinName": "B" + "compName": "GUI_rsLatch#0", + "pinName": "_R" }, - "name": "unnamedWire#3", + "name": "unnamedWire#7", "path": [ { - "x": 5.0, - "y": 42.5 + "x": 40.0, + "y": 37.5 + }, + { + "x": 40.0, + "y": 22.5 } ] }, { "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "GUI_rsLatch#0", + "pinName": "Q" }, "pin2": { - "compName": "GUINandGate#0", - "pinName": "B" + "compName": "_submodelinterface", + "pinName": "Q" }, - "name": "unnamedWire#2", - "path": [ - { - "x": 5.0, - "y": 17.5 - } - ] + "name": "unnamedWire#8", + "path": [] + }, + { + "pin1": { + "compName": "GUI_rsLatch#0", + "pinName": "_Q" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "_Q" + }, + "name": "unnamedWire#9" } - ] + ], + "version": "0.1.1" }, - "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer", + "symbolRendererSnippetID": "simpleRectangularLike", "symbolRendererParams": { "centerText": "GUIdlatch", "centerTextHeight": 5.0, @@ -245,18 +249,19 @@ mograsim version: 0.1.3 "pinLabelHeight": 3.5, "pinLabelMargin": 0.5 }, - "outlineRendererSnippetID": "class:net.mograsim.logic.model.snippets.outlinerenderers.DefaultOutlineRenderer", - "highLevelStateHandlerSnippetID": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.StandardHighLevelStateHandler", + "outlineRendererSnippetID": "default", + "highLevelStateHandlerSnippetID": "standard", "highLevelStateHandlerParams": { "subcomponentHighLevelStates": {}, "atomicHighLevelStates": { "q": { - "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler", + "id": "delegating", "params": { "delegateTarget": "GUI_rsLatch#0", "subStateID": "q" } } } - } + }, + "version": "0.1.5" } \ No newline at end of file