X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.am2900%2Fcomponents%2FGUIdlatch.json;h=26c4071d14da5f06fd575e87b730215d7e288966;hb=62467eaf4814d04961cca4ec7a88ddc5530a4ac4;hp=d83cc99b0287e26d645e3cb05d1d6455b0fb2b16;hpb=c5c0d07286a29994a11ba8b01eaffb21964b6c1b;p=Mograsim.git diff --git a/net.mograsim.logic.model.am2900/components/GUIdlatch.json b/net.mograsim.logic.model.am2900/components/GUIdlatch.json index d83cc99b..26c4071d 100644 --- a/net.mograsim.logic.model.am2900/components/GUIdlatch.json +++ b/net.mograsim.logic.model.am2900/components/GUIdlatch.json @@ -40,115 +40,130 @@ mograsim version: 0.1.3 "innerScale": 0.4, "subComps": [ { + "id": "GUINandGate", + "name": "GUINandGate#1", "pos": { "x": 15.0, "y": 27.5 }, - "id": "GUINandGate", - "name": "GUINandGate#1", "params": 1 }, { + "id": "GUI_rsLatch", + "name": "GUI_rsLatch#0", "pos": { "x": 45.0, "y": 7.5 - }, - "id": "GUI_rsLatch", - "name": "GUI_rsLatch#0" + } }, { + "id": "GUINandGate", + "name": "GUINandGate#0", "pos": { "x": 10.0, "y": 2.5 }, - "id": "GUINandGate", - "name": "GUINandGate#0", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", "pos": { "x": 34.0, "y": 11.5 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#1", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", "pos": { "x": 4.0, "y": 36.5 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#0", "params": 1 } ], "innerWires": [ { "pin1": { - "compName": "_submodelinterface", - "pinName": "D" + "compName": "GUI_rsLatch#0", + "pinName": "_Q" }, "pin2": { - "compName": "GUINandGate#0", - "pinName": "A" - } + "compName": "_submodelinterface", + "pinName": "_Q" + }, + "name": "unnamedWire#9" }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "E" + "compName": "GUI_rsLatch#0", + "pinName": "Q" }, "pin2": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "_submodelinterface", + "pinName": "Q" }, + "name": "unnamedWire#8", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "GUINandGate#1", + "pinName": "Y" }, "pin2": { - "compName": "GUINandGate#0", - "pinName": "B" + "compName": "GUI_rsLatch#0", + "pinName": "_R" }, + "name": "unnamedWire#7", "path": [ { - "x": 5.0, - "y": 17.5 + "x": 40.0, + "y": 37.5 + }, + { + "x": 40.0, + "y": 22.5 } ] }, { "pin1": { - "compName": "WireCrossPoint#0", + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { - "compName": "GUINandGate#1", - "pinName": "B" + "compName": "GUI_rsLatch#0", + "pinName": "_S" }, - "path": [ - { - "x": 5.0, - "y": 42.5 - } - ] + "name": "unnamedWire#6", + "path": [] }, { "pin1": { - "compName": "GUINandGate#0", - "pinName": "Y" + "compName": "_submodelinterface", + "pinName": "E" }, "pin2": { - "compName": "WireCrossPoint#1", + "compName": "WireCrossPoint#0", "pinName": "" }, + "name": "unnamedWire#1", "path": [] }, + { + "pin1": { + "compName": "_submodelinterface", + "pinName": "D" + }, + "pin2": { + "compName": "GUINandGate#0", + "pinName": "A" + }, + "name": "unnamedWire#0" + }, { "pin1": { "compName": "WireCrossPoint#1", @@ -158,6 +173,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#1", "pinName": "A" }, + "name": "unnamedWire#5", "path": [ { "x": 35.0, @@ -175,64 +191,72 @@ mograsim version: 0.1.3 }, { "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" + "compName": "GUINandGate#0", + "pinName": "Y" }, "pin2": { - "compName": "GUI_rsLatch#0", - "pinName": "_S" + "compName": "WireCrossPoint#1", + "pinName": "" }, + "name": "unnamedWire#4", "path": [] }, { "pin1": { - "compName": "GUINandGate#1", - "pinName": "Y" + "compName": "WireCrossPoint#0", + "pinName": "" }, "pin2": { - "compName": "GUI_rsLatch#0", - "pinName": "_R" + "compName": "GUINandGate#1", + "pinName": "B" }, + "name": "unnamedWire#3", "path": [ { - "x": 40.0, - "y": 37.5 - }, - { - "x": 40.0, - "y": 22.5 + "x": 5.0, + "y": 42.5 } ] }, { "pin1": { - "compName": "GUI_rsLatch#0", - "pinName": "Q" + "compName": "WireCrossPoint#0", + "pinName": "" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "Q" - }, - "path": [] - }, - { - "pin1": { - "compName": "GUI_rsLatch#0", - "pinName": "_Q" + "compName": "GUINandGate#0", + "pinName": "B" }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "_Q" - } + "name": "unnamedWire#2", + "path": [ + { + "x": 5.0, + "y": 17.5 + } + ] } ] }, - "symbolRendererSnippetID": "simpleRectangularLike", + "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer", "symbolRendererParams": { "centerText": "GUIdlatch", "centerTextHeight": 5.0, "horizontalComponentCenter": 17.5, "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", + "highLevelStateHandlerParams": { + "subcomponentHighLevelStates": {}, + "atomicHighLevelStates": { + "q": { + "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler", + "params": { + "delegateTarget": "GUI_rsLatch#0", + "subStateID": "q" + } + } + } } } \ No newline at end of file