X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.editor%2Fcomponents%2FGUIdff.json;h=30c17e6c6476e1118a1c61eeb5c9d89f986925d0;hb=148a58630b38b30d4d24a21e3f55c357f5b4d0bc;hp=80794eec1507069bed50479c60a83b1e14b1e4d7;hpb=052c4f704ea286f8db1db3a7b055c9447369c0c2;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/components/GUIdff.json b/net.mograsim.logic.model.editor/components/GUIdff.json index 80794eec..30c17e6c 100644 --- a/net.mograsim.logic.model.editor/components/GUIdff.json +++ b/net.mograsim.logic.model.editor/components/GUIdff.json @@ -1,115 +1,118 @@ -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": "C", + "logicWidth": 1, + "usage": "INPUT" }, { "location": { - "x": 35.0, + "x": 0.0, "y": 15.0 }, - "name": "_Q", - "logicWidth": 1 + "name": "D", + "logicWidth": 1, + "usage": "INPUT" }, { "location": { - "x": 0.0, + "x": 35.0, "y": 5.0 }, - "name": "C", - "logicWidth": 1 + "name": "Q", + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { - "x": 0.0, + "x": 35.0, "y": 15.0 }, - "name": "D", - "logicWidth": 1 + "name": "_Q", + "logicWidth": 1, + "usage": "OUTPUT" } ], + "innerScale": 0.2, "submodel": { - "innerScale": 0.2, - "subComps": [ + "components": [ { + "id": "GUINandGate", + "name": "GUINandGate#0", "pos": { - "x": 40.0, - "y": 10.0 + "x": 120.0, + "y": 60.0 }, - "id": "GUI_rsLatch", - "name": "GUI_rsLatch#0" + "params": 1 }, { + "id": "GUI_rsLatch", + "name": "GUI_rsLatch#0", "pos": { "x": 40.0, - "y": 40.0 - }, - "id": "GUInand3", - "name": "GUInand3#0" + "y": 10.0 + } }, { + "id": "GUI_rsLatch", + "name": "GUI_rsLatch#1", "pos": { "x": 120.0, - "y": 60.0 - }, - "id": "GUINandGate", - "name": "GUINandGate#0", - "params": 1 + "y": 30.0 + } }, { + "id": "GUInand3", + "name": "GUInand3#0", "pos": { - "x": 120.0, - "y": 30.0 - }, - "id": "GUI_rsLatch", - "name": "GUI_rsLatch#1" + "x": 40.0, + "y": 40.0 + } }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", "pos": { - "x": 19.0, - "y": 64.0 + "x": 9.0, + "y": 24.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#1", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", "pos": { - "x": 9.0, - "y": 24.0 + "x": 19.0, + "y": 64.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#0", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#2", "pos": { "x": 99.0, - "y": 44.0 + "y": 34.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#3", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#3", "pos": { "x": 99.0, - "y": 34.0 + "y": 44.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#2", "params": 1 } ], - "innerWires": [ + "wires": [ { "pin1": { "compName": "_submodelinterface", @@ -119,6 +122,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#0", "pinName": "" }, + "name": "unnamedWire#0", "path": [] }, { @@ -130,8 +134,72 @@ mograsim version: 0.1.3 "compName": "GUI_rsLatch#0", "pinName": "_R" }, + "name": "unnamedWire#1", "path": [] }, + { + "pin1": { + "compName": "GUInand3#0", + "pinName": "Y" + }, + "pin2": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "name": "unnamedWire#10", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "pin2": { + "compName": "GUI_rsLatch#1", + "pinName": "_R" + }, + "name": "unnamedWire#11", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#0", + "pinName": "A" + }, + "name": "unnamedWire#12", + "path": [ + { + "x": 100.0, + "y": 65.0 + } + ] + }, + { + "pin1": { + "compName": "GUI_rsLatch#1", + "pinName": "Q" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "Q" + }, + "name": "unnamedWire#13" + }, + { + "pin1": { + "compName": "GUI_rsLatch#1", + "pinName": "_Q" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "_Q" + }, + "name": "unnamedWire#14" + }, { "pin1": { "compName": "WireCrossPoint#0", @@ -141,6 +209,7 @@ mograsim version: 0.1.3 "compName": "GUInand3#0", "pinName": "B" }, + "name": "unnamedWire#2", "path": [ { "x": 10.0, @@ -157,6 +226,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#0", "pinName": "B" }, + "name": "unnamedWire#3", "path": [] }, { @@ -168,6 +238,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#1", "pinName": "" }, + "name": "unnamedWire#4", "path": [ { "x": 145.0, @@ -192,6 +263,7 @@ mograsim version: 0.1.3 "compName": "GUI_rsLatch#0", "pinName": "_S" }, + "name": "unnamedWire#5", "path": [ { "x": 20.0, @@ -208,6 +280,7 @@ mograsim version: 0.1.3 "compName": "GUInand3#0", "pinName": "C" }, + "name": "unnamedWire#6", "path": [] }, { @@ -219,6 +292,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#2", "pinName": "" }, + "name": "unnamedWire#7", "path": [ { "x": 100.0, @@ -235,6 +309,7 @@ mograsim version: 0.1.3 "compName": "GUInand3#0", "pinName": "A" }, + "name": "unnamedWire#8", "path": [ { "x": 30.0, @@ -255,67 +330,11 @@ mograsim version: 0.1.3 "compName": "GUI_rsLatch#1", "pinName": "_S" }, + "name": "unnamedWire#9", "path": [] - }, - { - "pin1": { - "compName": "GUInand3#0", - "pinName": "Y" - }, - "pin2": { - "compName": "WireCrossPoint#3", - "pinName": "" - }, - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#3", - "pinName": "" - }, - "pin2": { - "compName": "GUI_rsLatch#1", - "pinName": "_R" - }, - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#3", - "pinName": "" - }, - "pin2": { - "compName": "GUINandGate#0", - "pinName": "A" - }, - "path": [ - { - "x": 100.0, - "y": 65.0 - } - ] - }, - { - "pin1": { - "compName": "GUI_rsLatch#1", - "pinName": "Q" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Q" - } - }, - { - "pin1": { - "compName": "GUI_rsLatch#1", - "pinName": "_Q" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "_Q" - } } - ] + ], + "version": "0.1.1" }, "symbolRendererSnippetID": "simpleRectangularLike", "symbolRendererParams": { @@ -324,5 +343,20 @@ mograsim version: 0.1.3 "horizontalComponentCenter": 17.5, "pinLabelHeight": 3.5, "pinLabelMargin": 0.5 - } + }, + "outlineRendererSnippetID": "default", + "highLevelStateHandlerSnippetID": "standard", + "highLevelStateHandlerParams": { + "subcomponentHighLevelStates": {}, + "atomicHighLevelStates": { + "q": { + "id": "delegating", + "params": { + "delegateTarget": "GUI_rsLatch#1", + "subStateID": "q" + } + } + } + }, + "version": "0.1.5" } \ No newline at end of file