X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.editor%2Fcomponents%2Fam2901%2FGUIAm2901DestDecode.json;h=0b2d611128d8791e20a2caf7ec6edc1d349b98b6;hb=148a58630b38b30d4d24a21e3f55c357f5b4d0bc;hp=d80d0806eb061fd0712d9e67a3856fa06a0ea59c;hpb=a393b0a2a9899707af54c9ee77a01f28ac967bd1;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/components/am2901/GUIAm2901DestDecode.json b/net.mograsim.logic.model.editor/components/am2901/GUIAm2901DestDecode.json index d80d0806..0b2d6111 100644 --- a/net.mograsim.logic.model.editor/components/am2901/GUIAm2901DestDecode.json +++ b/net.mograsim.logic.model.editor/components/am2901/GUIAm2901DestDecode.json @@ -1,55 +1,60 @@ -mograsim version: 0.1.3 { "width": 35.0, "height": 60.0, "interfacePins": [ { "location": { - "x": 35.0, - "y": 45.0 + "x": 0.0, + "y": 25.0 }, - "name": "LSH", - "logicWidth": 1 + "name": "I6", + "logicWidth": 1, + "usage": "INPUT" }, { "location": { - "x": 35.0, - "y": 5.0 + "x": 0.0, + "y": 15.0 }, - "name": "NSH", - "logicWidth": 1 + "name": "I7", + "logicWidth": 1, + "usage": "INPUT" }, { "location": { - "x": 35.0, - "y": 15.0 + "x": 0.0, + "y": 5.0 }, - "name": "RSH", - "logicWidth": 1 + "name": "I8", + "logicWidth": 1, + "usage": "INPUT" }, { "location": { - "x": 0.0, - "y": 25.0 + "x": 35.0, + "y": 45.0 }, - "name": "I6", - "logicWidth": 1 + "name": "LSH", + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { "x": 35.0, - "y": 35.0 + "y": 5.0 }, - "name": "YF", - "logicWidth": 1 + "name": "NSH", + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { - "x": 0.0, - "y": 15.0 + "x": 35.0, + "y": 55.0 }, - "name": "I7", - "logicWidth": 1 + "name": "QWE", + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { @@ -57,291 +62,294 @@ mograsim version: 0.1.3 "y": 25.0 }, "name": "RAMWE", - "logicWidth": 1 + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { "x": 35.0, - "y": 55.0 + "y": 15.0 }, - "name": "QWE", - "logicWidth": 1 + "name": "RSH", + "logicWidth": 1, + "usage": "OUTPUT" }, { "location": { - "x": 0.0, - "y": 5.0 + "x": 35.0, + "y": 35.0 }, - "name": "I8", - "logicWidth": 1 + "name": "YF", + "logicWidth": 1, + "usage": "OUTPUT" } ], + "innerScale": 0.25, "submodel": { - "innerScale": 0.25, - "subComps": [ + "components": [ { + "id": "GUINandGate", + "name": "GUINandGate#0", "pos": { "x": 15.0, - "y": 50.0 + "y": 10.0 }, - "id": "GUINandGate", - "name": "GUINandGate#1", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#1", "pos": { - "x": 74.0, - "y": 159.0 + "x": 15.0, + "y": 50.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#14", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#10", "pos": { - "x": 15.0, - "y": 10.0 + "x": 80.0, + "y": 145.0 }, - "id": "GUINandGate", - "name": "GUINandGate#0", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#11", "pos": { - "x": 74.0, - "y": 104.0 + "x": 110.0, + "y": 105.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#13", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#12", "pos": { - "x": 15.0, - "y": 150.0 + "x": 115.0, + "y": 210.0 }, - "id": "GUINandGate", - "name": "GUINandGate#3", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#2", "pos": { "x": 15.0, "y": 90.0 }, - "id": "GUINandGate", - "name": "GUINandGate#2", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#3", "pos": { - "x": 109.0, - "y": 214.0 + "x": 15.0, + "y": 150.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#15", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#4", "pos": { - "x": 4.0, - "y": 14.0 + "x": 50.0, + "y": 10.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#1", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#5", "pos": { - "x": 4.0, - "y": 19.0 + "x": 50.0, + "y": 50.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#0", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#6", "pos": { - "x": 9.0, - "y": 59.0 + "x": 50.0, + "y": 90.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#3", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#7", "pos": { - "x": 4.0, - "y": 24.0 + "x": 50.0, + "y": 130.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#2", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#8", "pos": { - "x": 9.0, - "y": 104.0 + "x": 80.0, + "y": 10.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#5", "params": 1 }, { + "id": "GUINandGate", + "name": "GUINandGate#9", "pos": { - "x": 9.0, - "y": 64.0 + "x": 80.0, + "y": 90.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#4", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", "pos": { - "x": 39.0, - "y": 59.0 + "x": 4.0, + "y": 19.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#7", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", "pos": { "x": 4.0, - "y": 154.0 + "y": 14.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#6", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#10", "pos": { - "x": 44.0, - "y": 54.0 + "x": 39.0, + "y": 134.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#9", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#11", "pos": { - "x": 44.0, + "x": 74.0, "y": 19.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#8", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#12", "pos": { - "x": 39.0, - "y": 134.0 + "x": 74.0, + "y": 99.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#10", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#13", "pos": { "x": 74.0, - "y": 99.0 + "y": 104.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#12", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#14", "pos": { "x": 74.0, - "y": 19.0 + "y": 159.0 }, - "id": "WireCrossPoint", - "name": "WireCrossPoint#11", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#15", "pos": { - "x": 115.0, - "y": 210.0 + "x": 109.0, + "y": 214.0 }, - "id": "GUINandGate", - "name": "GUINandGate#12", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#2", "pos": { - "x": 110.0, - "y": 105.0 + "x": 4.0, + "y": 24.0 }, - "id": "GUINandGate", - "name": "GUINandGate#11", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#3", "pos": { - "x": 80.0, - "y": 145.0 + "x": 9.0, + "y": 59.0 }, - "id": "GUINandGate", - "name": "GUINandGate#10", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#4", "pos": { - "x": 80.0, - "y": 90.0 + "x": 9.0, + "y": 64.0 }, - "id": "GUINandGate", - "name": "GUINandGate#9", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#5", "pos": { - "x": 80.0, - "y": 10.0 + "x": 9.0, + "y": 104.0 }, - "id": "GUINandGate", - "name": "GUINandGate#8", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#6", "pos": { - "x": 50.0, - "y": 50.0 + "x": 4.0, + "y": 154.0 }, - "id": "GUINandGate", - "name": "GUINandGate#5", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#7", "pos": { - "x": 50.0, - "y": 10.0 + "x": 39.0, + "y": 59.0 }, - "id": "GUINandGate", - "name": "GUINandGate#4", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#8", "pos": { - "x": 50.0, - "y": 130.0 + "x": 44.0, + "y": 19.0 }, - "id": "GUINandGate", - "name": "GUINandGate#7", "params": 1 }, { + "id": "WireCrossPoint", + "name": "WireCrossPoint#9", "pos": { - "x": 50.0, - "y": 90.0 + "x": 44.0, + "y": 54.0 }, - "id": "GUINandGate", - "name": "GUINandGate#6", "params": 1 } ], - "innerWires": [ + "wires": [ { "pin1": { "compName": "_submodelinterface", @@ -351,6 +359,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#0", "pinName": "" }, + "name": "unnamedWire#0", "path": [] }, { @@ -362,99 +371,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#1", "pinName": "" }, - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" - }, - "pin2": { - "compName": "WireCrossPoint#2", - "pinName": "" - }, - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" - }, - "pin2": { - "compName": "GUINandGate#0", - "pinName": "A" - }, - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#2", - "pinName": "" - }, - "pin2": { - "compName": "GUINandGate#0", - "pinName": "B" - }, - "path": [] - }, - { - "pin1": { - "compName": "_submodelinterface", - "pinName": "I7" - }, - "pin2": { - "compName": "WireCrossPoint#3", - "pinName": "" - }, - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#3", - "pinName": "" - }, - "pin2": { - "compName": "GUINandGate#1", - "pinName": "A" - }, - "path": [ - { - "x": 10.0, - "y": 55.0 - } - ] - }, - { - "pin1": { - "compName": "WireCrossPoint#3", - "pinName": "" - }, - "pin2": { - "compName": "WireCrossPoint#4", - "pinName": "" - }, - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#4", - "pinName": "" - }, - "pin2": { - "compName": "GUINandGate#1", - "pinName": "B" - }, - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#4", - "pinName": "" - }, - "pin2": { - "compName": "WireCrossPoint#5", - "pinName": "" - }, + "name": "unnamedWire#1", "path": [] }, { @@ -466,6 +383,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#2", "pinName": "B" }, + "name": "unnamedWire#10", "path": [] }, { @@ -477,6 +395,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#2", "pinName": "A" }, + "name": "unnamedWire#11", "path": [ { "x": 5.0, @@ -493,6 +412,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#6", "pinName": "" }, + "name": "unnamedWire#12", "path": [ { "x": 5.0, @@ -509,6 +429,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#3", "pinName": "A" }, + "name": "unnamedWire#13", "path": [] }, { @@ -520,6 +441,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#3", "pinName": "B" }, + "name": "unnamedWire#14", "path": [ { "x": 5.0, @@ -536,6 +458,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#4", "pinName": "A" }, + "name": "unnamedWire#15", "path": [ { "x": 5.0, @@ -560,6 +483,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#7", "pinName": "" }, + "name": "unnamedWire#16", "path": [] }, { @@ -571,6 +495,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#4", "pinName": "B" }, + "name": "unnamedWire#17", "path": [ { "x": 40.0, @@ -587,6 +512,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#5", "pinName": "B" }, + "name": "unnamedWire#18", "path": [ { "x": 40.0, @@ -603,6 +529,19 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#8", "pinName": "" }, + "name": "unnamedWire#19", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#0", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#2", + "pinName": "" + }, + "name": "unnamedWire#2", "path": [] }, { @@ -614,6 +553,7 @@ mograsim version: 0.1.3 "compName": "_submodelinterface", "pinName": "NSH" }, + "name": "unnamedWire#20", "path": [ { "x": 45.0, @@ -638,6 +578,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#9", "pinName": "" }, + "name": "unnamedWire#21", "path": [] }, { @@ -649,6 +590,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#5", "pinName": "A" }, + "name": "unnamedWire#22", "path": [] }, { @@ -660,6 +602,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#6", "pinName": "A" }, + "name": "unnamedWire#23", "path": [ { "x": 45.0, @@ -676,6 +619,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#6", "pinName": "B" }, + "name": "unnamedWire#24", "path": [ { "x": 10.0, @@ -700,6 +644,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#10", "pinName": "" }, + "name": "unnamedWire#25", "path": [ { "x": 40.0, @@ -716,6 +661,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#7", "pinName": "A" }, + "name": "unnamedWire#26", "path": [] }, { @@ -727,6 +673,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#7", "pinName": "B" }, + "name": "unnamedWire#27", "path": [ { "x": 40.0, @@ -743,6 +690,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#11", "pinName": "" }, + "name": "unnamedWire#28", "path": [] }, { @@ -754,6 +702,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#8", "pinName": "A" }, + "name": "unnamedWire#29", "path": [ { "x": 75.0, @@ -761,6 +710,18 @@ mograsim version: 0.1.3 } ] }, + { + "pin1": { + "compName": "WireCrossPoint#1", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#0", + "pinName": "A" + }, + "name": "unnamedWire#3", + "path": [] + }, { "pin1": { "compName": "WireCrossPoint#11", @@ -770,6 +731,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#8", "pinName": "B" }, + "name": "unnamedWire#30", "path": [ { "x": 75.0, @@ -786,6 +748,7 @@ mograsim version: 0.1.3 "compName": "_submodelinterface", "pinName": "RAMWE" }, + "name": "unnamedWire#31", "path": [ { "x": 125.0, @@ -806,6 +769,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#12", "pinName": "" }, + "name": "unnamedWire#32", "path": [] }, { @@ -817,6 +781,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#9", "pinName": "A" }, + "name": "unnamedWire#33", "path": [ { "x": 75.0, @@ -833,6 +798,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#13", "pinName": "" }, + "name": "unnamedWire#34", "path": [] }, { @@ -844,6 +810,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#9", "pinName": "B" }, + "name": "unnamedWire#35", "path": [] }, { @@ -855,6 +822,7 @@ mograsim version: 0.1.3 "compName": "_submodelinterface", "pinName": "LSH" }, + "name": "unnamedWire#36", "path": [ { "x": 125.0, @@ -875,6 +843,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#10", "pinName": "A" }, + "name": "unnamedWire#37", "path": [ { "x": 75.0, @@ -891,6 +860,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#14", "pinName": "" }, + "name": "unnamedWire#38", "path": [] }, { @@ -902,6 +872,19 @@ mograsim version: 0.1.3 "compName": "GUINandGate#10", "pinName": "B" }, + "name": "unnamedWire#39", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#2", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#0", + "pinName": "B" + }, + "name": "unnamedWire#4", "path": [] }, { @@ -913,6 +896,7 @@ mograsim version: 0.1.3 "compName": "_submodelinterface", "pinName": "RSH" }, + "name": "unnamedWire#40", "path": [ { "x": 130.0, @@ -932,7 +916,8 @@ mograsim version: 0.1.3 "pin2": { "compName": "GUINandGate#11", "pinName": "A" - } + }, + "name": "unnamedWire#41" }, { "pin1": { @@ -943,6 +928,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#11", "pinName": "B" }, + "name": "unnamedWire#42", "path": [ { "x": 75.0, @@ -967,6 +953,7 @@ mograsim version: 0.1.3 "compName": "WireCrossPoint#15", "pinName": "" }, + "name": "unnamedWire#43", "path": [ { "x": 110.0, @@ -983,6 +970,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#12", "pinName": "A" }, + "name": "unnamedWire#44", "path": [] }, { @@ -994,6 +982,7 @@ mograsim version: 0.1.3 "compName": "GUINandGate#12", "pinName": "B" }, + "name": "unnamedWire#45", "path": [ { "x": 110.0, @@ -1009,7 +998,8 @@ mograsim version: 0.1.3 "pin2": { "compName": "_submodelinterface", "pinName": "YF" - } + }, + "name": "unnamedWire#46" }, { "pin1": { @@ -1020,16 +1010,86 @@ mograsim version: 0.1.3 "compName": "_submodelinterface", "pinName": "QWE" }, + "name": "unnamedWire#47", + "path": [] + }, + { + "pin1": { + "compName": "_submodelinterface", + "pinName": "I7" + }, + "pin2": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "name": "unnamedWire#5", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#1", + "pinName": "A" + }, + "name": "unnamedWire#6", + "path": [ + { + "x": 10.0, + "y": 55.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#4", + "pinName": "" + }, + "name": "unnamedWire#7", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#4", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#1", + "pinName": "B" + }, + "name": "unnamedWire#8", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#4", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#5", + "pinName": "" + }, + "name": "unnamedWire#9", "path": [] } - ] + ], + "version": "0.1.1" }, - "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer", + "symbolRendererSnippetID": "simpleRectangularLike", "symbolRendererParams": { "centerText": "GUIAm2901DestDecode", - "horizontalComponentCenter": 17.5, "centerTextHeight": 5.0, + "horizontalComponentCenter": 17.5, "pinLabelHeight": 3.5, "pinLabelMargin": 0.5 - } + }, + "outlineRendererSnippetID": "default", + "highLevelStateHandlerSnippetID": "default", + "version": "0.1.5" } \ No newline at end of file