X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.editor%2Fcomponents%2FGUIdlatch4.json;h=28021dffabe470ec9347d7a6088d5c144e1cb47c;hb=add92039f433cd315f2087da9c1a0de899927d96;hp=c42e6d08a9e9459ac16da1ce701d9d90d08a043a;hpb=d43a60248809b835d63a7f8cc50a3346902e790e;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/components/GUIdlatch4.json b/net.mograsim.logic.model.editor/components/GUIdlatch4.json index c42e6d08..28021dff 100644 --- a/net.mograsim.logic.model.editor/components/GUIdlatch4.json +++ b/net.mograsim.logic.model.editor/components/GUIdlatch4.json @@ -80,135 +80,124 @@ mograsim version: 0.1.3 "innerScale": 0.4, "subComps": [ { + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", "pos": { "x": 14.0, "y": 71.5 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#1", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", "pos": { "x": 14.0, "y": 46.5 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#0", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#2", "pos": { "x": 14.0, "y": 96.5 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#2", "params": 1 }, { + "id": "GUIdlatch", + "name": "GUIdlatch#1", "pos": { "x": 30.0, "y": 32.5 - }, - "id": "GUIdlatch", - "name": "GUIdlatch#1" + } }, { + "id": "GUIdlatch", + "name": "GUIdlatch#0", "pos": { "x": 30.0, "y": 7.5 - }, - "id": "GUIdlatch", - "name": "GUIdlatch#0" + } }, { + "id": "GUIdlatch", + "name": "GUIdlatch#3", "pos": { "x": 30.0, "y": 82.5 - }, - "id": "GUIdlatch", - "name": "GUIdlatch#3" + } }, { + "id": "GUIdlatch", + "name": "GUIdlatch#2", "pos": { "x": 30.0, "y": 57.5 - }, - "id": "GUIdlatch", - "name": "GUIdlatch#2" + } } ], "innerWires": [ { "pin1": { - "compName": "_submodelinterface", - "pinName": "C" - }, - "pin2": { - "compName": "WireCrossPoint#2", - "pinName": "" - }, - "path": [ - { - "x": 15.0, - "y": 112.5 - } - ] - }, - { - "pin1": { - "compName": "WireCrossPoint#2", - "pinName": "" + "compName": "GUIdlatch#3", + "pinName": "Q" }, "pin2": { - "compName": "GUIdlatch#3", - "pinName": "E" + "compName": "_submodelinterface", + "pinName": "Q4" }, + "name": "unnamedWire#14", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#2", - "pinName": "" + "compName": "GUIdlatch#2", + "pinName": "Q" }, "pin2": { - "compName": "WireCrossPoint#1", - "pinName": "" + "compName": "_submodelinterface", + "pinName": "Q3" }, + "name": "unnamedWire#13", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" + "compName": "_submodelinterface", + "pinName": "D3" }, "pin2": { "compName": "GUIdlatch#2", - "pinName": "E" + "pinName": "D" }, + "name": "unnamedWire#9", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" + "compName": "_submodelinterface", + "pinName": "D2" }, "pin2": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "GUIdlatch#1", + "pinName": "D" }, + "name": "unnamedWire#8", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "_submodelinterface", + "pinName": "D1" }, "pin2": { - "compName": "GUIdlatch#1", - "pinName": "E" + "compName": "GUIdlatch#0", + "pinName": "D" }, + "name": "unnamedWire#7", "path": [] }, { @@ -220,6 +209,7 @@ mograsim version: 0.1.3 "compName": "GUIdlatch#0", "pinName": "E" }, + "name": "unnamedWire#6", "path": [ { "x": 15.0, @@ -229,35 +219,43 @@ mograsim version: 0.1.3 }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "D1" + "compName": "WireCrossPoint#2", + "pinName": "" }, "pin2": { - "compName": "GUIdlatch#0", - "pinName": "D" + "compName": "GUIdlatch#3", + "pinName": "E" }, + "name": "unnamedWire#1", "path": [] }, { "pin1": { "compName": "_submodelinterface", - "pinName": "D2" + "pinName": "C" }, "pin2": { - "compName": "GUIdlatch#1", - "pinName": "D" + "compName": "WireCrossPoint#2", + "pinName": "" }, - "path": [] + "name": "unnamedWire#0", + "path": [ + { + "x": 15.0, + "y": 112.5 + } + ] }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "D3" + "compName": "WireCrossPoint#0", + "pinName": "" }, "pin2": { - "compName": "GUIdlatch#2", - "pinName": "D" + "compName": "GUIdlatch#1", + "pinName": "E" }, + "name": "unnamedWire#5", "path": [] }, { @@ -269,17 +267,31 @@ mograsim version: 0.1.3 "compName": "GUIdlatch#3", "pinName": "D" }, + "name": "unnamedWire#10", "path": [] }, { "pin1": { - "compName": "GUIdlatch#0", - "pinName": "Q" + "compName": "WireCrossPoint#1", + "pinName": "" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "Q1" + "compName": "WireCrossPoint#0", + "pinName": "" + }, + "name": "unnamedWire#4", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#1", + "pinName": "" }, + "pin2": { + "compName": "GUIdlatch#2", + "pinName": "E" + }, + "name": "unnamedWire#3", "path": [] }, { @@ -291,38 +303,93 @@ mograsim version: 0.1.3 "compName": "_submodelinterface", "pinName": "Q2" }, + "name": "unnamedWire#12", "path": [] }, { "pin1": { - "compName": "GUIdlatch#2", - "pinName": "Q" + "compName": "WireCrossPoint#2", + "pinName": "" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "Q3" + "compName": "WireCrossPoint#1", + "pinName": "" }, + "name": "unnamedWire#2", "path": [] }, { "pin1": { - "compName": "GUIdlatch#3", + "compName": "GUIdlatch#0", "pinName": "Q" }, "pin2": { "compName": "_submodelinterface", - "pinName": "Q4" + "pinName": "Q1" }, + "name": "unnamedWire#11", "path": [] } ] }, - "symbolRendererSnippetID": "simpleRectangularLike", + "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer", "symbolRendererParams": { "centerText": "GUIdlatch4", "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": { + "q1": { + "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler", + "params": { + "delegateTarget": "GUIdlatch#0", + "subStateID": "q" + } + }, + "q2": { + "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler", + "params": { + "delegateTarget": "GUIdlatch#1", + "subStateID": "q" + } + }, + "q": { + "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.BitVectorSplittingAtomicHighLevelStateHandler", + "params": { + "vectorPartTargets": [ + "q1", + "q2", + "q3", + "q4" + ], + "vectorPartLengthes": [ + 1, + 1, + 1, + 1 + ] + } + }, + "q3": { + "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler", + "params": { + "delegateTarget": "GUIdlatch#2", + "subStateID": "q" + } + }, + "q4": { + "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler", + "params": { + "delegateTarget": "GUIdlatch#3", + "subStateID": "q" + } + } + } } } \ No newline at end of file