X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.logic.model.am2900%2Fcomponents%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fcomponents%2Fam2901%2FAm2901SourceDecode.json;h=926bc764f4f0fa9814d46c8f6bfdb29def0b4dcb;hb=989cf7da1ea37c4174bea281ae56ead12cb725be;hp=25a6483919eb3a89ee17acdcfda86442a55a0d8a;hpb=58babf45ae7d259a296656451d796dbe601377a4;p=Mograsim.git diff --git a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901SourceDecode.json b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901SourceDecode.json index 25a64839..926bc764 100644 --- a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901SourceDecode.json +++ b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901SourceDecode.json @@ -1,37 +1,19 @@ { - "width": 35.0, + "width": 40.0, "height": 50.0, "interfacePins": [ - { - "location": { - "x": 0.0, - "y": 25.0 - }, - "name": "I0", - "logicWidth": 1, - "usage": "INPUT" - }, { "location": { "x": 0.0, "y": 15.0 }, - "name": "I1", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 0.0, - "y": 5.0 - }, - "name": "I2", - "logicWidth": 1, + "name": "I", + "logicWidth": 3, "usage": "INPUT" }, { "location": { - "x": 35.0, + "x": 40.0, "y": 15.0 }, "name": "RA", @@ -40,7 +22,7 @@ }, { "location": { - "x": 35.0, + "x": 40.0, "y": 45.0 }, "name": "RD", @@ -49,7 +31,7 @@ }, { "location": { - "x": 35.0, + "x": 40.0, "y": 35.0 }, "name": "SA", @@ -58,7 +40,7 @@ }, { "location": { - "x": 35.0, + "x": 40.0, "y": 25.0 }, "name": "SB", @@ -67,7 +49,7 @@ }, { "location": { - "x": 35.0, + "x": 40.0, "y": 5.0 }, "name": "SQ", @@ -82,7 +64,7 @@ "id": "NandGate", "name": "NandGate#0", "pos": { - "x": 10.0, + "x": 35.0, "y": 10.0 }, "params": 1 @@ -91,133 +73,145 @@ "id": "NandGate", "name": "NandGate#1", "pos": { - "x": 10.0, + "x": 35.0, "y": 50.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#10", + "name": "NandGate#2", "pos": { - "x": 70.0, + "x": 35.0, "y": 90.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#11", + "name": "NandGate#3", "pos": { - "x": 70.0, - "y": 130.0 + "x": 75.0, + "y": 10.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#12", + "name": "NandGate#4", "pos": { - "x": 70.0, - "y": 170.0 + "x": 75.0, + "y": 50.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#13", + "name": "NandGate#5", "pos": { - "x": 100.0, - "y": 10.0 + "x": 75.0, + "y": 90.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#14", + "name": "NandGate#6", "pos": { - "x": 100.0, - "y": 170.0 + "x": 75.0, + "y": 130.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#2", + "name": "NandGate#7", "pos": { - "x": 10.0, - "y": 90.0 + "x": 75.0, + "y": 170.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#3", + "name": "NandGate#8", "pos": { - "x": 40.0, + "x": 105.0, "y": 10.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#4", + "name": "NandGate#9", "pos": { - "x": 40.0, + "x": 105.0, "y": 50.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#5", + "name": "NandGate#10", "pos": { - "x": 40.0, + "x": 105.0, "y": 90.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#6", + "name": "NandGate#11", "pos": { - "x": 40.0, + "x": 105.0, "y": 130.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#7", + "name": "NandGate#12", "pos": { - "x": 40.0, + "x": 105.0, "y": 170.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#8", + "name": "NandGate#13", "pos": { - "x": 70.0, + "x": 135.0, "y": 10.0 }, "params": 1 }, { "id": "NandGate", - "name": "NandGate#9", + "name": "NandGate#14", "pos": { - "x": 70.0, - "y": 50.0 + "x": 135.0, + "y": 170.0 }, "params": 1 }, + { + "id": "Splitter", + "name": "Splitter#0", + "pos": { + "x": 5.0, + "y": 50.0 + }, + "params": { + "logicWidth": 3, + "orientation": "RIGHT" + } + }, { "id": "WireCrossPoint", "name": "WireCrossPoint#0", "pos": { - "x": 4.0, + "x": 19.0, "y": 19.0 }, "params": 1 @@ -226,134 +220,143 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#1", "pos": { - "x": 6.5, + "x": 29.0, "y": 19.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#10", + "name": "WireCrossPoint#2", "pos": { - "x": 36.5, - "y": 99.0 + "x": 19.0, + "y": 144.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#11", + "name": "WireCrossPoint#3", "pos": { - "x": 64.0, + "x": 29.0, "y": 59.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#12", + "name": "WireCrossPoint#4", "pos": { - "x": 64.0, - "y": 99.0 + "x": 29.0, + "y": 94.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#13", + "name": "WireCrossPoint#5", "pos": { - "x": 64.0, - "y": 139.0 + "x": 29.0, + "y": 104.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#14", + "name": "WireCrossPoint#6", "pos": { - "x": 94.0, - "y": 19.0 + "x": 59.0, + "y": 54.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#15", + "name": "WireCrossPoint#7", "pos": { - "x": 94.0, - "y": 179.0 + "x": 64.0, + "y": 59.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#2", + "name": "WireCrossPoint#8", "pos": { - "x": 4.0, - "y": 144.0 + "x": 64.0, + "y": 64.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#3", + "name": "WireCrossPoint#9", "pos": { - "x": 6.5, - "y": 59.0 + "x": 64.0, + "y": 134.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#4", + "name": "WireCrossPoint#10", "pos": { - "x": 6.5, + "x": 69.0, "y": 99.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#5", + "name": "WireCrossPoint#11", "pos": { - "x": 6.5, - "y": 104.0 + "x": 99.0, + "y": 59.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#6", + "name": "WireCrossPoint#12", "pos": { - "x": 31.5, - "y": 54.0 + "x": 99.0, + "y": 99.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#7", + "name": "WireCrossPoint#13", "pos": { - "x": 34.0, - "y": 59.0 + "x": 99.0, + "y": 139.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#8", + "name": "WireCrossPoint#14", "pos": { - "x": 34.0, - "y": 64.0 + "x": 129.0, + "y": 19.0 }, "params": 1 }, { "id": "WireCrossPoint", - "name": "WireCrossPoint#9", + "name": "WireCrossPoint#15", "pos": { - "x": 34.0, - "y": 134.0 + "x": 129.0, + "y": 179.0 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#16", + "pos": { + "x": 19.0, + "y": 49.0 }, "params": 1 } @@ -361,15 +364,20 @@ "wires": [ { "pin1": { - "compName": "_submodelinterface", - "pinName": "I2" + "compName": "Splitter#0", + "pinName": "O0" }, "pin2": { - "compName": "WireCrossPoint#0", + "compName": "WireCrossPoint#4", "pinName": "" }, "name": "unnamedWire#0", - "path": [] + "path": [ + { + "x": 30.0, + "y": 70.0 + } + ] }, { "pin1": { @@ -383,19 +391,143 @@ "name": "unnamedWire#1", "path": [ { - "x": 5.0, + "x": 20.0, "y": 5.0 }, { - "x": 35.0, + "x": 70.0, "y": 5.0 }, { - "x": 35.0, + "x": 70.0, + "y": 15.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#0", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#1", + "pinName": "" + }, + "name": "unnamedWire#2", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#1", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#0", + "pinName": "A" + }, + "name": "unnamedWire#3", + "path": [ + { + "x": 30.0, "y": 15.0 } ] }, + { + "pin1": { + "compName": "WireCrossPoint#1", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#0", + "pinName": "B" + }, + "name": "unnamedWire#4", + "path": [ + { + "x": 30.0, + "y": 25.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#2", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#16", + "pinName": "" + }, + "name": "unnamedWire#5", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#2", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#6", + "pinName": "B" + }, + "name": "unnamedWire#6", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#2", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#12", + "pinName": "B" + }, + "name": "unnamedWire#7", + "path": [ + { + "x": 20.0, + "y": 195.0 + }, + { + "x": 100.0, + "y": 195.0 + }, + { + "x": 100.0, + "y": 185.0 + } + ] + }, + { + "pin1": { + "compName": "Splitter#0", + "pinName": "O1" + }, + "pin2": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "name": "unnamedWire#8", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#1", + "pinName": "A" + }, + "name": "unnamedWire#9", + "path": [ + { + "x": 30.0, + "y": 55.0 + } + ] + }, { "pin1": { "compName": "WireCrossPoint#3", @@ -408,7 +540,7 @@ "name": "unnamedWire#10", "path": [ { - "x": 7.5, + "x": 30.0, "y": 65.0 } ] @@ -416,11 +548,11 @@ { "pin1": { "compName": "_submodelinterface", - "pinName": "I0" + "pinName": "I" }, "pin2": { - "compName": "WireCrossPoint#4", - "pinName": "" + "compName": "Splitter#0", + "pinName": "I" }, "name": "unnamedWire#11", "path": [] @@ -435,12 +567,7 @@ "pinName": "A" }, "name": "unnamedWire#12", - "path": [ - { - "x": 7.5, - "y": 95.0 - } - ] + "path": [] }, { "pin1": { @@ -478,15 +605,15 @@ "name": "unnamedWire#15", "path": [ { - "x": 7.5, - "y": 112.5 + "x": 30.0, + "y": 115.0 }, { - "x": 32.5, - "y": 112.5 + "x": 60.0, + "y": 115.0 }, { - "x": 32.5, + "x": 60.0, "y": 105.0 } ] @@ -503,7 +630,7 @@ "name": "unnamedWire#16", "path": [ { - "x": 32.5, + "x": 60.0, "y": 20.0 } ] @@ -532,7 +659,7 @@ "name": "unnamedWire#18", "path": [ { - "x": 32.5, + "x": 60.0, "y": 95.0 } ] @@ -549,18 +676,6 @@ "name": "unnamedWire#19", "path": [] }, - { - "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" - }, - "pin2": { - "compName": "WireCrossPoint#1", - "pinName": "" - }, - "name": "unnamedWire#2", - "path": [] - }, { "pin1": { "compName": "WireCrossPoint#7", @@ -573,7 +688,7 @@ "name": "unnamedWire#20", "path": [ { - "x": 35.0, + "x": 65.0, "y": 25.0 } ] @@ -638,7 +753,7 @@ "name": "unnamedWire#25", "path": [ { - "x": 35.0, + "x": 65.0, "y": 175.0 } ] @@ -667,15 +782,15 @@ "name": "unnamedWire#27", "path": [ { - "x": 37.5, + "x": 70.0, "y": 35.0 }, { - "x": 65.0, + "x": 100.0, "y": 35.0 }, { - "x": 65.0, + "x": 100.0, "y": 25.0 } ] @@ -692,7 +807,7 @@ "name": "unnamedWire#28", "path": [ { - "x": 37.5, + "x": 70.0, "y": 185.0 } ] @@ -708,23 +823,6 @@ }, "name": "unnamedWire#29" }, - { - "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" - }, - "pin2": { - "compName": "NandGate#0", - "pinName": "A" - }, - "name": "unnamedWire#3", - "path": [ - { - "x": 7.5, - "y": 15.0 - } - ] - }, { "pin1": { "compName": "NandGate#4", @@ -749,7 +847,7 @@ "name": "unnamedWire#31", "path": [ { - "x": 65.0, + "x": 100.0, "y": 55.0 } ] @@ -766,7 +864,7 @@ "name": "unnamedWire#32", "path": [ { - "x": 65.0, + "x": 100.0, "y": 65.0 } ] @@ -795,7 +893,7 @@ "name": "unnamedWire#34", "path": [ { - "x": 65.0, + "x": 100.0, "y": 95.0 } ] @@ -812,7 +910,7 @@ "name": "unnamedWire#35", "path": [ { - "x": 65.0, + "x": 100.0, "y": 105.0 } ] @@ -841,7 +939,7 @@ "name": "unnamedWire#37", "path": [ { - "x": 65.0, + "x": 100.0, "y": 135.0 } ] @@ -858,7 +956,7 @@ "name": "unnamedWire#38", "path": [ { - "x": 65.0, + "x": 100.0, "y": 145.0 } ] @@ -874,23 +972,6 @@ }, "name": "unnamedWire#39" }, - { - "pin1": { - "compName": "WireCrossPoint#1", - "pinName": "" - }, - "pin2": { - "compName": "NandGate#0", - "pinName": "B" - }, - "name": "unnamedWire#4", - "path": [ - { - "x": 7.5, - "y": 25.0 - } - ] - }, { "pin1": { "compName": "NandGate#8", @@ -915,7 +996,7 @@ "name": "unnamedWire#41", "path": [ { - "x": 95.0, + "x": 130.0, "y": 15.0 } ] @@ -932,7 +1013,7 @@ "name": "unnamedWire#42", "path": [ { - "x": 95.0, + "x": 130.0, "y": 25.0 } ] @@ -997,7 +1078,7 @@ "name": "unnamedWire#47", "path": [ { - "x": 95.0, + "x": 130.0, "y": 175.0 } ] @@ -1014,7 +1095,7 @@ "name": "unnamedWire#48", "path": [ { - "x": 95.0, + "x": 130.0, "y": 185.0 } ] @@ -1031,18 +1112,6 @@ "name": "unnamedWire#49", "path": [] }, - { - "pin1": { - "compName": "WireCrossPoint#0", - "pinName": "" - }, - "pin2": { - "compName": "WireCrossPoint#2", - "pinName": "" - }, - "name": "unnamedWire#5", - "path": [] - }, { "pin1": { "compName": "NandGate#14", @@ -1057,76 +1126,34 @@ }, { "pin1": { - "compName": "WireCrossPoint#2", + "compName": "WireCrossPoint#0", "pinName": "" }, "pin2": { - "compName": "NandGate#6", - "pinName": "B" - }, - "name": "unnamedWire#6", - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#2", + "compName": "WireCrossPoint#16", "pinName": "" }, - "pin2": { - "compName": "NandGate#12", - "pinName": "B" - }, - "name": "unnamedWire#7", - "path": [ - { - "x": 5.0, - "y": 195.0 - }, - { - "x": 65.0, - "y": 195.0 - }, - { - "x": 65.0, - "y": 185.0 - } - ] + "name": "unnamedWire#51", + "path": [] }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "I1" + "compName": "Splitter#0", + "pinName": "O2" }, "pin2": { - "compName": "WireCrossPoint#3", + "compName": "WireCrossPoint#16", "pinName": "" }, - "name": "unnamedWire#8", + "name": "unnamedWire#52", "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#3", - "pinName": "" - }, - "pin2": { - "compName": "NandGate#1", - "pinName": "A" - }, - "name": "unnamedWire#9", - "path": [ - { - "x": 7.5, - "y": 55.0 - } - ] } ], "version": "0.1.1" }, "symbolRendererSnippetID": "simpleRectangularLike", "symbolRendererParams": { - "centerText": "Am2901SourceDecode", + "centerText": "Source\ndecode", "centerTextHeight": 5.0, "horizontalComponentCenter": 17.5, "pinLabelHeight": 3.5,