X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.logic.model.am2900%2Fcomponents%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fcomponents%2Fnot4.json;h=2cd7024e8513cd017baef79bb77032a87294ff1a;hb=de50afe9150ec4d6430eb4347768798a40993ced;hp=4b4e51f1c87046c8af24dc7f79343c2aaee26916;hpb=7d05144c25daa53e60fc9ed9fd503546a86567f8;p=Mograsim.git diff --git a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/not4.json b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/not4.json index 4b4e51f1..2cd7024e 100644 --- a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/not4.json +++ b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/not4.json @@ -5,73 +5,19 @@ { "location": { "x": 0.0, - "y": 5.0 + "y": 20.0 }, - "name": "A1", - "logicWidth": 1, + "name": "A", + "logicWidth": 4, "usage": "INPUT" }, - { - "location": { - "x": 0.0, - "y": 15.0 - }, - "name": "A2", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 0.0, - "y": 25.0 - }, - "name": "A3", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 0.0, - "y": 35.0 - }, - "name": "A4", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 35.0, - "y": 5.0 - }, - "name": "Y1", - "logicWidth": 1, - "usage": "OUTPUT" - }, { "location": { "x": 35.0, - "y": 15.0 + "y": 20.0 }, - "name": "Y2", - "logicWidth": 1, - "usage": "OUTPUT" - }, - { - "location": { - "x": 35.0, - "y": 25.0 - }, - "name": "Y3", - "logicWidth": 1, - "usage": "OUTPUT" - }, - { - "location": { - "x": 35.0, - "y": 35.0 - }, - "name": "Y4", - "logicWidth": 1, + "name": "Y", + "logicWidth": 4, "usage": "OUTPUT" } ], @@ -82,7 +28,7 @@ "id": "NandGate", "name": "NandGate#0", "pos": { - "x": 30.0, + "x": 35.0, "y": 2.5 }, "params": 1 @@ -91,7 +37,7 @@ "id": "NandGate", "name": "NandGate#1", "pos": { - "x": 30.0, + "x": 35.0, "y": 27.5 }, "params": 1 @@ -100,7 +46,7 @@ "id": "NandGate", "name": "NandGate#2", "pos": { - "x": 30.0, + "x": 35.0, "y": 52.5 }, "params": 1 @@ -109,16 +55,40 @@ "id": "NandGate", "name": "NandGate#3", "pos": { - "x": 30.0, + "x": 35.0, "y": 77.5 }, "params": 1 }, + { + "id": "Splitter", + "name": "Splitter#0", + "pos": { + "x": 5.0, + "y": 35.0 + }, + "params": { + "logicWidth": 4, + "orientation": "RIGHT" + } + }, + { + "id": "Splitter", + "name": "Splitter#1", + "pos": { + "x": 70.0, + "y": 35.0 + }, + "params": { + "logicWidth": 4, + "orientation": "LEFT" + } + }, { "id": "WireCrossPoint", "name": "WireCrossPoint#0", "pos": { - "x": 14.0, + "x": 29.0, "y": 11.5 }, "params": 1 @@ -127,7 +97,7 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#1", "pos": { - "x": 14.0, + "x": 29.0, "y": 36.5 }, "params": 1 @@ -136,7 +106,7 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#2", "pos": { - "x": 14.0, + "x": 29.0, "y": 61.5 }, "params": 1 @@ -145,7 +115,7 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#3", "pos": { - "x": 14.0, + "x": 29.0, "y": 86.5 }, "params": 1 @@ -154,133 +124,87 @@ "wires": [ { "pin1": { - "compName": "_submodelinterface", - "pinName": "A1" - }, - "pin2": { "compName": "WireCrossPoint#0", "pinName": "" }, - "name": "unnamedWire#0", - "path": [] - }, - { - "pin1": { - "compName": "_submodelinterface", - "pinName": "A2" - }, - "pin2": { - "compName": "WireCrossPoint#1", - "pinName": "" - }, - "name": "unnamedWire#1", - "path": [] - }, - { - "pin1": { - "compName": "WireCrossPoint#2", - "pinName": "" - }, "pin2": { - "compName": "NandGate#2", - "pinName": "B" + "compName": "Splitter#0", + "pinName": "O3" }, - "name": "unnamedWire#10", + "name": "unnamedWire#0", "path": [ { - "x": 15.0, - "y": 67.5 + "x": 20.0, + "y": 12.5 + }, + { + "x": 20.0, + "y": 35.0 } ] }, { "pin1": { - "compName": "WireCrossPoint#3", + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { - "compName": "NandGate#3", - "pinName": "B" + "compName": "Splitter#0", + "pinName": "O2" }, - "name": "unnamedWire#11", + "name": "unnamedWire#1", "path": [ { - "x": 15.0, - "y": 92.5 + "x": 25.0, + "y": 37.5 + }, + { + "x": 25.0, + "y": 45.0 } ] }, { "pin1": { - "compName": "NandGate#0", - "pinName": "Y" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Y1" - }, - "name": "unnamedWire#12", - "path": [] - }, - { - "pin1": { - "compName": "NandGate#1", - "pinName": "Y" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Y2" - }, - "name": "unnamedWire#13", - "path": [] - }, - { - "pin1": { - "compName": "NandGate#2", - "pinName": "Y" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Y3" - }, - "name": "unnamedWire#14", - "path": [] - }, - { - "pin1": { - "compName": "NandGate#3", - "pinName": "Y" - }, - "pin2": { - "compName": "_submodelinterface", - "pinName": "Y4" - }, - "name": "unnamedWire#15", - "path": [] - }, - { - "pin1": { - "compName": "_submodelinterface", - "pinName": "A3" + "compName": "Splitter#0", + "pinName": "O1" }, "pin2": { "compName": "WireCrossPoint#2", "pinName": "" }, "name": "unnamedWire#2", - "path": [] + "path": [ + { + "x": 25.0, + "y": 55.0 + }, + { + "x": 25.0, + "y": 62.5 + } + ] }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "A4" + "compName": "Splitter#0", + "pinName": "O0" }, "pin2": { "compName": "WireCrossPoint#3", "pinName": "" }, "name": "unnamedWire#3", - "path": [] + "path": [ + { + "x": 20.0, + "y": 65.0 + }, + { + "x": 20.0, + "y": 87.5 + } + ] }, { "pin1": { @@ -294,7 +218,7 @@ "name": "unnamedWire#4", "path": [ { - "x": 15.0, + "x": 30.0, "y": 7.5 } ] @@ -311,7 +235,7 @@ "name": "unnamedWire#5", "path": [ { - "x": 15.0, + "x": 30.0, "y": 32.5 } ] @@ -328,7 +252,7 @@ "name": "unnamedWire#6", "path": [ { - "x": 15.0, + "x": 30.0, "y": 57.5 } ] @@ -345,7 +269,7 @@ "name": "unnamedWire#7", "path": [ { - "x": 15.0, + "x": 30.0, "y": 82.5 } ] @@ -362,7 +286,7 @@ "name": "unnamedWire#8", "path": [ { - "x": 15.0, + "x": 30.0, "y": 17.5 } ] @@ -379,10 +303,152 @@ "name": "unnamedWire#9", "path": [ { - "x": 15.0, + "x": 30.0, "y": 42.5 } ] + }, + { + "pin1": { + "compName": "WireCrossPoint#2", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#2", + "pinName": "B" + }, + "name": "unnamedWire#10", + "path": [ + { + "x": 30.0, + "y": 67.5 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#3", + "pinName": "B" + }, + "name": "unnamedWire#11", + "path": [ + { + "x": 30.0, + "y": 92.5 + } + ] + }, + { + "pin1": { + "compName": "Splitter#1", + "pinName": "O3" + }, + "pin2": { + "compName": "NandGate#0", + "pinName": "Y" + }, + "name": "unnamedWire#12", + "path": [ + { + "x": 65.0, + "y": 35.0 + }, + { + "x": 65.0, + "y": 12.5 + } + ] + }, + { + "pin1": { + "compName": "Splitter#1", + "pinName": "O2" + }, + "pin2": { + "compName": "NandGate#1", + "pinName": "Y" + }, + "name": "unnamedWire#13", + "path": [ + { + "x": 60.0, + "y": 45.0 + }, + { + "x": 60.0, + "y": 37.5 + } + ] + }, + { + "pin1": { + "compName": "Splitter#1", + "pinName": "O1" + }, + "pin2": { + "compName": "NandGate#2", + "pinName": "Y" + }, + "name": "unnamedWire#14", + "path": [ + { + "x": 60.0, + "y": 55.0 + }, + { + "x": 60.0, + "y": 62.5 + } + ] + }, + { + "pin1": { + "compName": "Splitter#1", + "pinName": "O0" + }, + "pin2": { + "compName": "NandGate#3", + "pinName": "Y" + }, + "name": "unnamedWire#15", + "path": [ + { + "x": 65.0, + "y": 65.0 + }, + { + "x": 65.0, + "y": 87.5 + } + ] + }, + { + "pin1": { + "compName": "Splitter#1", + "pinName": "I" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "Y" + }, + "name": "unnamedWire#16", + "path": [] + }, + { + "pin1": { + "compName": "Splitter#0", + "pinName": "I" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "A" + }, + "name": "unnamedWire#17", + "path": [] } ], "version": "0.1.1"