X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.am2900%2Fcomponents%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fcomponents%2Fdff4.json;h=02286a97e14ba90a3d31c5d605f930cdc7e156aa;hb=a6afef0c4c6e8d2324548304e249992eb9949c6c;hp=d54a34e8a7c2bb0401be204d0036a72d246cd2de;hpb=71b9365427f28f4bb489c12b768e26db5492f8f1;p=Mograsim.git diff --git a/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/dff4.json b/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/dff4.json index d54a34e8..02286a97 100644 --- a/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/dff4.json +++ b/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/dff4.json @@ -96,14 +96,6 @@ "innerScale": 0.2, "submodel": { "components": [ - { - "id": "mux1_4", - "name": "DeserializedSubmodelComponent#0", - "pos": { - "x": 55.0, - "y": 70.0 - } - }, { "id": "WireCrossPoint", "name": "WireCrossPoint#0", @@ -198,6 +190,14 @@ "x": 115.0, "y": 170.0 } + }, + { + "id": "mux1_4", + "name": "mux1_4#0", + "pos": { + "x": 55.0, + "y": 70.0 + } } ], "wires": [ @@ -215,7 +215,7 @@ }, { "pin1": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "Y1" }, "pin2": { @@ -240,7 +240,7 @@ "pinName": "D1" }, "pin2": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "I1_1" }, "name": "unnamedWire#10", @@ -252,7 +252,7 @@ "pinName": "D2" }, "pin2": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "I1_2" }, "name": "unnamedWire#11", @@ -273,7 +273,7 @@ "pinName": "D3" }, "pin2": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "I1_3" }, "name": "unnamedWire#12", @@ -342,7 +342,7 @@ "pinName": "D4" }, "pin2": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "I1_4" }, "name": "unnamedWire#17", @@ -383,7 +383,7 @@ }, { "pin1": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "Y2" }, "pin2": { @@ -419,7 +419,7 @@ }, { "pin1": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "Y3" }, "pin2": { @@ -440,7 +440,7 @@ }, { "pin1": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "Y4" }, "pin2": { @@ -465,7 +465,7 @@ "pinName": "" }, "pin2": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "I0_1" }, "name": "unnamedWire#24", @@ -490,7 +490,7 @@ "pinName": "" }, "pin2": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "I0_2" }, "name": "unnamedWire#25", @@ -515,7 +515,7 @@ "pinName": "" }, "pin2": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "I0_3" }, "name": "unnamedWire#26", @@ -540,22 +540,10 @@ "pinName": "" }, "pin2": { - "compName": "WireCrossPoint#6", - "pinName": "" - }, - "name": "unnamedWire#27", - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#6", - "pinName": "" - }, - "pin2": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "I0_4" }, - "name": "unnamedWire#28", + "name": "unnamedWire#27", "path": [ { "x": 155.0, @@ -654,7 +642,7 @@ "pinName": "WE" }, "pin2": { - "compName": "DeserializedSubmodelComponent#0", + "compName": "mux1_4#0", "pinName": "S0" }, "name": "unnamedWire#9", @@ -676,28 +664,14 @@ "highLevelStateHandlerParams": { "subcomponentHighLevelStates": {}, "atomicHighLevelStates": { - "q1": { - "id": "delegating", - "params": { - "delegateTarget": "dff#0", - "subStateID": "q" - } - }, - "q2": { - "id": "delegating", - "params": { - "delegateTarget": "dff#1", - "subStateID": "q" - } - }, "q": { "id": "bitVectorSplitting", "params": { "vectorPartTargets": [ - "q1", - "q2", + "q4", "q3", - "q4" + "q2", + "q1" ], "vectorPartLengthes": [ 1, @@ -707,6 +681,20 @@ ] } }, + "q1": { + "id": "delegating", + "params": { + "delegateTarget": "dff#0", + "subStateID": "q" + } + }, + "q2": { + "id": "delegating", + "params": { + "delegateTarget": "dff#1", + "subStateID": "q" + } + }, "q3": { "id": "delegating", "params": {