X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fnet.mograsim.logic.model.am2900%2Fcomponents%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fcomponents%2Fam2901%2FAm2901ALUFuncDecode.json;h=003a88f9b24832b8b3d9b27c24c60bf6e1a4a65b;hb=9110eabe62a55d928959b2aa85844d18e4368745;hp=90f0ad9570baa92287ddf6d56a869e0ae48e7eec;hpb=7d05144c25daa53e60fc9ed9fd503546a86567f8;p=Mograsim.git diff --git a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901ALUFuncDecode.json b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901ALUFuncDecode.json index 90f0ad95..003a88f9 100644 --- a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901ALUFuncDecode.json +++ b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901ALUFuncDecode.json @@ -23,28 +23,10 @@ { "location": { "x": 0.0, - "y": 25.0 - }, - "name": "I3", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 0.0, - "y": 15.0 - }, - "name": "I4", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 0.0, - "y": 5.0 + "y": 10.0 }, - "name": "I5", - "logicWidth": 1, + "name": "I", + "logicWidth": 3, "usage": "INPUT" }, { @@ -91,7 +73,7 @@ "id": "NandGate", "name": "NandGate#0", "pos": { - "x": 15.0, + "x": 30.0, "y": 10.0 }, "params": 1 @@ -100,8 +82,8 @@ "id": "NandGate", "name": "NandGate#1", "pos": { - "x": 15.0, - "y": 50.0 + "x": 30.0, + "y": 65.0 }, "params": 1 }, @@ -109,8 +91,8 @@ "id": "NandGate", "name": "NandGate#2", "pos": { - "x": 55.0, - "y": 45.0 + "x": 70.0, + "y": 60.0 }, "params": 1 }, @@ -118,8 +100,8 @@ "id": "NandGate", "name": "NandGate#3", "pos": { - "x": 55.0, - "y": 70.0 + "x": 70.0, + "y": 115.0 }, "params": 1 }, @@ -127,35 +109,38 @@ "id": "NandGate", "name": "NandGate#4", "pos": { - "x": 100.0, + "x": 115.0, "y": 50.0 }, "params": 1 }, { - "id": "WireCrossPoint", - "name": "WireCrossPoint#0", + "id": "Splitter", + "name": "Splitter#0", "pos": { - "x": 4.0, - "y": 19.0 + "x": 5.0, + "y": 30.0 }, - "params": 1 + "params": { + "logicWidth": 3, + "orientation": "RIGHT" + } }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#1", + "name": "WireCrossPoint#0", "pos": { - "x": 4.0, - "y": 24.0 + "x": 24.0, + "y": 39.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#10", + "name": "WireCrossPoint#1", "pos": { - "x": 39.0, - "y": 34.0 + "x": 19.0, + "y": 24.0 }, "params": 1 }, @@ -163,7 +148,7 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#2", "pos": { - "x": 4.0, + "x": 19.0, "y": 44.0 }, "params": 1 @@ -172,8 +157,8 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#3", "pos": { - "x": 9.0, - "y": 59.0 + "x": 24.0, + "y": 69.0 }, "params": 1 }, @@ -181,8 +166,8 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#4", "pos": { - "x": 9.0, - "y": 54.0 + "x": 24.0, + "y": 79.0 }, "params": 1 }, @@ -190,8 +175,8 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#5", "pos": { - "x": 9.0, - "y": 64.0 + "x": 24.0, + "y": 99.0 }, "params": 1 }, @@ -199,8 +184,8 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#6", "pos": { - "x": 9.0, - "y": 84.0 + "x": 64.0, + "y": 119.0 }, "params": 1 }, @@ -208,8 +193,8 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#7", "pos": { - "x": 49.0, - "y": 99.0 + "x": 64.0, + "y": 49.0 }, "params": 1 }, @@ -217,8 +202,8 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#8", "pos": { - "x": 49.0, - "y": 74.0 + "x": 54.0, + "y": 19.0 }, "params": 1 }, @@ -226,8 +211,17 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#9", "pos": { - "x": 39.0, - "y": 19.0 + "x": 54.0, + "y": 29.0 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#10", + "pos": { + "x": 19.0, + "y": 29.0 }, "params": 1 }, @@ -235,7 +229,7 @@ "id": "and", "name": "and#0", "pos": { - "x": 100.0, + "x": 110.0, "y": 135.0 } }, @@ -243,8 +237,8 @@ "id": "nand3", "name": "nand3#0", "pos": { - "x": 55.0, - "y": 10.0 + "x": 70.0, + "y": 25.0 } } ], @@ -252,18 +246,18 @@ { "pin1": { "compName": "_submodelinterface", - "pinName": "I5" + "pinName": "I" }, "pin2": { - "compName": "WireCrossPoint#0", - "pinName": "" + "compName": "Splitter#0", + "pinName": "I" }, "name": "unnamedWire#0", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#0", + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { @@ -273,129 +267,197 @@ "name": "unnamedWire#1", "path": [ { - "x": 5.0, + "x": 20.0, "y": 15.0 } ] }, { "pin1": { - "compName": "WireCrossPoint#4", + "compName": "WireCrossPoint#3", "pinName": "" }, "pin2": { - "compName": "NandGate#1", - "pinName": "A" + "compName": "WireCrossPoint#0", + "pinName": "" }, - "name": "unnamedWire#10", + "name": "unnamedWire#2", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#3", + "compName": "WireCrossPoint#2", "pinName": "" }, "pin2": { - "compName": "WireCrossPoint#5", + "compName": "WireCrossPoint#10", "pinName": "" }, - "name": "unnamedWire#11", + "name": "unnamedWire#3", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#5", + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { - "compName": "NandGate#1", + "compName": "NandGate#0", "pinName": "B" }, - "name": "unnamedWire#12", + "name": "unnamedWire#4", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#5", + "compName": "WireCrossPoint#2", "pinName": "" }, "pin2": { - "compName": "WireCrossPoint#6", + "compName": "NandGate#2", + "pinName": "A" + }, + "name": "unnamedWire#5", + "path": [ + { + "x": 60.0, + "y": 45.0 + }, + { + "x": 60.0, + "y": 65.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#2", "pinName": "" }, - "name": "unnamedWire#13", + "pin2": { + "compName": "_submodelinterface", + "pinName": "FN" + }, + "name": "unnamedWire#6", + "path": [ + { + "x": 20.0, + "y": 180.0 + } + ] + }, + { + "pin1": { + "compName": "Splitter#0", + "pinName": "O0" + }, + "pin2": { + "compName": "WireCrossPoint#7", + "pinName": "" + }, + "name": "unnamedWire#7", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#6", + "compName": "WireCrossPoint#9", "pinName": "" }, "pin2": { - "compName": "NandGate#3", + "compName": "nand3#0", + "pinName": "A" + }, + "name": "unnamedWire#8", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#0", + "pinName": "" + }, + "pin2": { + "compName": "nand3#0", "pinName": "B" }, - "name": "unnamedWire#14", + "name": "unnamedWire#9", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#6", + "compName": "WireCrossPoint#3", "pinName": "" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "SN" + "compName": "NandGate#1", + "pinName": "A" }, - "name": "unnamedWire#15", - "path": [ - { - "x": 10.0, - "y": 105.0 - }, - { - "x": 135.0, - "y": 105.0 - }, - { - "x": 135.0, - "y": 100.0 - } - ] + "name": "unnamedWire#10", + "path": [] }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "I3" + "compName": "WireCrossPoint#3", + "pinName": "" }, "pin2": { - "compName": "WireCrossPoint#7", + "compName": "WireCrossPoint#4", "pinName": "" }, - "name": "unnamedWire#16", + "name": "unnamedWire#11", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#4", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#1", + "pinName": "B" + }, + "name": "unnamedWire#12", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#4", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#5", + "pinName": "" + }, + "name": "unnamedWire#13", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#5", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#3", + "pinName": "B" + }, + "name": "unnamedWire#14", "path": [ { - "x": 50.0, - "y": 100.0 + "x": 25.0, + "y": 130.0 } ] }, { "pin1": { - "compName": "WireCrossPoint#7", + "compName": "WireCrossPoint#5", "pinName": "" }, "pin2": { "compName": "_submodelinterface", - "pinName": "RN" + "pinName": "SN" }, - "name": "unnamedWire#17", - "path": [ - { - "x": 50.0, - "y": 220.0 - } - ] + "name": "unnamedWire#15", + "path": [] }, { "pin1": { @@ -403,51 +465,51 @@ "pinName": "" }, "pin2": { - "compName": "WireCrossPoint#8", - "pinName": "" + "compName": "nand3#0", + "pinName": "C" }, - "name": "unnamedWire#18", + "name": "unnamedWire#16", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#8", + "compName": "WireCrossPoint#6", "pinName": "" }, "pin2": { - "compName": "nand3#0", - "pinName": "B" + "compName": "_submodelinterface", + "pinName": "RN" }, - "name": "unnamedWire#19", + "name": "unnamedWire#17", "path": [ { - "x": 50.0, - "y": 25.0 + "x": 65.0, + "y": 220.0 } ] }, { "pin1": { - "compName": "WireCrossPoint#0", + "compName": "WireCrossPoint#6", "pinName": "" }, "pin2": { - "compName": "WireCrossPoint#1", + "compName": "WireCrossPoint#7", "pinName": "" }, - "name": "unnamedWire#2", + "name": "unnamedWire#18", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#8", + "compName": "WireCrossPoint#6", "pinName": "" }, "pin2": { "compName": "NandGate#3", "pinName": "A" }, - "name": "unnamedWire#20", + "name": "unnamedWire#19", "path": [] }, { @@ -456,74 +518,62 @@ "pinName": "Y" }, "pin2": { - "compName": "WireCrossPoint#9", + "compName": "WireCrossPoint#8", "pinName": "" }, - "name": "unnamedWire#21", + "name": "unnamedWire#20", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#9", + "compName": "WireCrossPoint#8", "pinName": "" }, "pin2": { "compName": "_submodelinterface", "pinName": "CinE" }, - "name": "unnamedWire#22", + "name": "unnamedWire#21", "path": [ { - "x": 40.0, + "x": 55.0, "y": 5.0 }, { - "x": 115.0, + "x": 130.0, "y": 5.0 }, { - "x": 115.0, + "x": 130.0, "y": 20.0 } ] }, { "pin1": { - "compName": "WireCrossPoint#9", + "compName": "WireCrossPoint#8", "pinName": "" }, "pin2": { - "compName": "WireCrossPoint#10", - "pinName": "" - }, - "name": "unnamedWire#23", - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#10", + "compName": "WireCrossPoint#9", "pinName": "" }, - "pin2": { - "compName": "nand3#0", - "pinName": "C" - }, - "name": "unnamedWire#24", + "name": "unnamedWire#22", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#10", + "compName": "WireCrossPoint#9", "pinName": "" }, "pin2": { "compName": "and#0", "pinName": "B" }, - "name": "unnamedWire#25", + "name": "unnamedWire#23", "path": [ { - "x": 40.0, + "x": 55.0, "y": 150.0 } ] @@ -537,7 +587,7 @@ "compName": "NandGate#2", "pinName": "B" }, - "name": "unnamedWire#26", + "name": "unnamedWire#24", "path": [] }, { @@ -549,7 +599,17 @@ "compName": "NandGate#4", "pinName": "A" }, - "name": "unnamedWire#27" + "name": "unnamedWire#25", + "path": [ + { + "x": 110.0, + "y": 30.0 + }, + { + "x": 110.0, + "y": 55.0 + } + ] }, { "pin1": { @@ -560,7 +620,17 @@ "compName": "NandGate#4", "pinName": "B" }, - "name": "unnamedWire#28" + "name": "unnamedWire#26", + "path": [ + { + "x": 110.0, + "y": 70.0 + }, + { + "x": 110.0, + "y": 65.0 + } + ] }, { "pin1": { @@ -571,19 +641,7 @@ "compName": "and#0", "pinName": "A" }, - "name": "unnamedWire#29" - }, - { - "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" - }, - "pin2": { - "compName": "NandGate#0", - "pinName": "B" - }, - "name": "unnamedWire#3", - "path": [] + "name": "unnamedWire#27" }, { "pin1": { @@ -594,7 +652,7 @@ "compName": "_submodelinterface", "pinName": "L" }, - "name": "unnamedWire#30", + "name": "unnamedWire#28", "path": [] }, { @@ -606,114 +664,51 @@ "compName": "_submodelinterface", "pinName": "SBE" }, - "name": "unnamedWire#31", + "name": "unnamedWire#29", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" + "compName": "Splitter#0", + "pinName": "O2" }, "pin2": { - "compName": "WireCrossPoint#2", + "compName": "WireCrossPoint#10", "pinName": "" }, - "name": "unnamedWire#4", + "name": "unnamedWire#30", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#2", - "pinName": "" - }, - "pin2": { - "compName": "NandGate#2", - "pinName": "A" - }, - "name": "unnamedWire#5", - "path": [ - { - "x": 45.0, - "y": 45.0 - }, - { - "x": 45.0, - "y": 50.0 - } - ] - }, - { - "pin1": { - "compName": "WireCrossPoint#2", - "pinName": "" + "compName": "Splitter#0", + "pinName": "O1" }, "pin2": { - "compName": "_submodelinterface", - "pinName": "FN" - }, - "name": "unnamedWire#6", - "path": [ - { - "x": 5.0, - "y": 180.0 - } - ] - }, - { - "pin1": { - "compName": "_submodelinterface", - "pinName": "I4" - }, - "pin2": { - "compName": "WireCrossPoint#3", + "compName": "WireCrossPoint#0", "pinName": "" }, - "name": "unnamedWire#7", + "name": "unnamedWire#31", "path": [] }, { "pin1": { - "compName": "WireCrossPoint#3", + "compName": "WireCrossPoint#10", "pinName": "" }, "pin2": { - "compName": "WireCrossPoint#4", + "compName": "WireCrossPoint#1", "pinName": "" }, - "name": "unnamedWire#8", + "name": "unnamedWire#32", "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#4", - "pinName": "" - }, - "pin2": { - "compName": "nand3#0", - "pinName": "A" - }, - "name": "unnamedWire#9", - "path": [ - { - "x": 10.0, - "y": 40.0 - }, - { - "x": 45.0, - "y": 40.0 - }, - { - "x": 45.0, - "y": 15.0 - } - ] } ], "version": "0.1.1" }, "symbolRendererSnippetID": "simpleRectangularLike", "symbolRendererParams": { - "centerText": "Am2901ALUFuncDecode", + "centerText": "Function\ndecode", "centerTextHeight": 5.0, "horizontalComponentCenter": 17.5, "pinLabelHeight": 3.5,