X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.am2900%2Fcomponents%2FGUIdlatch.json;h=b09c439c6d19b82500cf949eb8cbc22fe9b3f128;hb=76fdc144f22b60491e61a32860fe2e6881751505;hp=4280559eeca1b976aae97ba3f2e6ff7b7a7daf8d;hpb=a86976434d00dce2652d93256cc12b6e3a0f324a;p=Mograsim.git diff --git a/net.mograsim.logic.model.am2900/components/GUIdlatch.json b/net.mograsim.logic.model.am2900/components/GUIdlatch.json index 4280559e..b09c439c 100644 --- a/net.mograsim.logic.model.am2900/components/GUIdlatch.json +++ b/net.mograsim.logic.model.am2900/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,51 +184,62 @@ 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": "simpleRectangularLike", "symbolRendererParams": { @@ -244,5 +248,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#0", + "subStateID": "q" + } + } + } + }, + "version": "0.1.5" } \ No newline at end of file