X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.logic.model.am2900%2Fcomponents%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fcomponents%2FAm2900.json;h=74c0beb840bd791cd79b42ba12279e61698bdc70;hb=3274bf1091e8c29cc3bff7f909bdd8b29220848d;hp=136fcd06ef55953f140a27560b0c0fba84d99a7c;hpb=5c03a4fa605a1c3946eddece3b566b5aa0677759;p=Mograsim.git diff --git a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json index 136fcd06..74c0beb8 100644 --- a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json +++ b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json @@ -10,7 +10,7 @@ "name": "Am2900MainMemory#0", "pos": { "x": 35.0, - "y": 30.0 + "y": 70.0 } }, { @@ -96,6 +96,18 @@ }, "params": 16 }, + { + "id": "Clock", + "name": "Clock#0", + "pos": { + "x": 70.0, + "y": 365.0 + }, + "params": { + "delta": 500, + "orientation": "RIGHT" + } + }, { "id": "FixedOutput", "name": "FixedOutput#0", @@ -204,8 +216,17 @@ "id": "ManualSwitch", "name": "ManualSwitch#0", "pos": { - "x": 120.0, - "y": 355.0 + "x": 70.0, + "y": 347.5 + }, + "params": 1 + }, + { + "id": "ManualSwitch", + "name": "ManualSwitch#1", + "pos": { + "x": 70.0, + "y": 387.5 }, "params": 1 }, @@ -258,8 +279,8 @@ "id": "NandGate", "name": "NandGate#5", "pos": { - "x": 190.0, - "y": 100.0 + "x": 105.0, + "y": 235.0 }, "params": 1 }, @@ -267,11 +288,20 @@ "id": "NandGate", "name": "NandGate#6", "pos": { - "x": 150.0, + "x": 145.0, "y": 375.0 }, "params": 1 }, + { + "id": "NandGate", + "name": "NandGate#7", + "pos": { + "x": 110.0, + "y": 270.0 + }, + "params": 1 + }, { "id": "Splitter", "name": "Splitter#0", @@ -827,15 +857,6 @@ }, "params": "MPM addr" }, - { - "id": "TextComponent", - "name": "TextComponent#3", - "pos": { - "x": 110.0, - "y": 355.0 - }, - "params": "c" - }, { "id": "TriStateBuffer", "name": "TriStateBuffer#0", @@ -888,14 +909,26 @@ "id": "TriStateBuffer", "name": "TriStateBuffer#4", "pos": { - "x": 205.0, - "y": 70.0 + "x": 185.0, + "y": 175.0 }, "params": { "logicWidth": 16, "orientation": "RIGHT_ALT" } }, + { + "id": "TriStateBuffer", + "name": "TriStateBuffer#5", + "pos": { + "x": 185.0, + "y": 145.0 + }, + "params": { + "logicWidth": 16, + "orientation": "LEFT" + } + }, { "id": "WireCrossPoint", "name": "WireCrossPoint#0", @@ -1242,7 +1275,7 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#38", "pos": { - "x": 174.0, + "x": 169.0, "y": 384.0 }, "params": 1 @@ -1251,7 +1284,7 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#39", "pos": { - "x": 179.0, + "x": 174.0, "y": 364.0 }, "params": 1 @@ -1260,7 +1293,7 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#40", "pos": { - "x": 144.0, + "x": 139.0, "y": 364.0 }, "params": 1 @@ -1269,7 +1302,7 @@ "id": "WireCrossPoint", "name": "WireCrossPoint#41", "pos": { - "x": 144.0, + "x": 139.0, "y": 379.0 }, "params": 1 @@ -1279,7 +1312,7 @@ "name": "WireCrossPoint#42", "pos": { "x": 364.0, - "y": 289.0 + "y": 314.0 }, "params": 1 }, @@ -1292,6 +1325,87 @@ }, "params": 12 }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#44", + "pos": { + "x": 174.0, + "y": 254.0 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#45", + "pos": { + "x": 174.0, + "y": 304.0 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#46", + "pos": { + "x": 174.0, + "y": 279.0 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#47", + "pos": { + "x": 104.0, + "y": 294.0 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#48", + "pos": { + "x": 129.0, + "y": 244.0 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#49", + "pos": { + "x": 104.0, + "y": 274.0 + }, + "params": 1 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#50", + "pos": { + "x": 234.0, + "y": 154.0 + }, + "params": 16 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#51", + "pos": { + "x": 164.0, + "y": 154.0 + }, + "params": 16 + }, + { + "id": "WireCrossPoint", + "name": "WireCrossPoint#52", + "pos": { + "x": 104.0, + "y": 284.0 + }, + "params": 1 + }, { "id": "and", "name": "and#0", @@ -1316,6 +1430,22 @@ "y": 595.0 } }, + { + "id": "and", + "name": "and#3", + "pos": { + "x": 135.0, + "y": 240.0 + } + }, + { + "id": "and", + "name": "and#4", + "pos": { + "x": 135.0, + "y": 265.0 + } + }, { "id": "dff16", "name": "dff16#0", @@ -1324,6 +1454,14 @@ "y": 105.0 } }, + { + "id": "dff16", + "name": "dff16#1", + "pos": { + "x": 180.0, + "y": 65.0 + } + }, { "id": "dff16_invwe", "name": "dff16_invwe#0", @@ -1332,6 +1470,30 @@ "y": 165.0 } }, + { + "id": "dff", + "name": "dff#0", + "pos": { + "x": 180.0, + "y": 265.0 + } + }, + { + "id": "dff", + "name": "dff#1", + "pos": { + "x": 180.0, + "y": 240.0 + } + }, + { + "id": "dff", + "name": "dff#2", + "pos": { + "x": 180.0, + "y": 290.0 + } + }, { "id": "dlatch80", "name": "dlatch80#0", @@ -1357,6 +1519,14 @@ }, "params": 16 }, + { + "id": "mux1", + "name": "mux1#0", + "pos": { + "x": 100.0, + "y": 360.0 + } + }, { "id": "mux1_4", "name": "mux1_4#0", @@ -2999,8 +3169,8 @@ }, { "pin1": { - "compName": "ManualSwitch#0", - "pinName": "" + "compName": "mux1#0", + "pinName": "Y" }, "pin2": { "compName": "WireCrossPoint#40", @@ -3033,7 +3203,7 @@ "name": "unnamedWire#96", "path": [ { - "x": 145.0, + "x": 140.0, "y": 390.0 } ] @@ -3074,7 +3244,7 @@ "name": "unnamedWire#99", "path": [ { - "x": 175.0, + "x": 170.0, "y": 485.0 }, { @@ -3132,7 +3302,7 @@ "name": "unnamedWire#102", "path": [ { - "x": 180.0, + "x": 175.0, "y": 480.0 }, { @@ -3458,7 +3628,7 @@ }, "pin2": { "compName": "NandGate#5", - "pinName": "A" + "pinName": "B" }, "name": "unnamedWire#121", "path": [ @@ -3468,15 +3638,15 @@ }, { "x": 340.0, - "y": 260.0 + "y": 325.0 }, { - "x": 180.0, - "y": 260.0 + "x": 100.0, + "y": 325.0 }, { - "x": 180.0, - "y": 105.0 + "x": 100.0, + "y": 250.0 } ] }, @@ -3532,11 +3702,20 @@ "pinName": "" }, "pin2": { - "compName": "Am2900MainMemory#0", - "pinName": "A" + "compName": "dff16#1", + "pinName": "D" }, "name": "unnamedWire#125", - "path": [] + "path": [ + { + "x": 170.0, + "y": 60.0 + }, + { + "x": 170.0, + "y": 90.0 + } + ] }, { "pin1": { @@ -3544,11 +3723,16 @@ "pinName": "D" }, "pin2": { - "compName": "TriStateBuffer#4", - "pinName": "IN" + "compName": "WireCrossPoint#51", + "pinName": "" }, "name": "unnamedWire#126", - "path": [] + "path": [ + { + "x": 165.0, + "y": 120.0 + } + ] }, { "pin1": { @@ -3699,18 +3883,14 @@ "pinName": "OUT" }, "pin2": { - "compName": "WireCrossPoint#29", + "compName": "WireCrossPoint#50", "pinName": "" }, "name": "unnamedWire#135", "path": [ { - "x": 230.0, - "y": 80.0 - }, - { - "x": 230.0, - "y": 45.0 + "x": 235.0, + "y": 185.0 } ] }, @@ -5143,26 +5323,22 @@ }, { "pin1": { - "compName": "Am2900MainMemory#0", - "pinName": "RW" - }, - "pin2": { "compName": "Splitter#10", "pinName": "O0" }, + "pin2": { + "compName": "WireCrossPoint#47", + "pinName": "" + }, "name": "unnamedWire#241", "path": [ { - "x": 175.0, - "y": 100.0 - }, - { - "x": 175.0, - "y": 265.0 + "x": 345.0, + "y": 320.0 }, { - "x": 345.0, - "y": 265.0 + "x": 105.0, + "y": 320.0 } ] }, @@ -5865,14 +6041,14 @@ "path": [ { "x": 355.0, - "y": 265.0 + "y": 320.0 }, { - "x": 480.0, - "y": 265.0 + "x": 485.0, + "y": 320.0 }, { - "x": 480.0, + "x": 485.0, "y": 185.0 } ] @@ -6628,17 +6804,17 @@ }, "pin2": { "compName": "NandGate#5", - "pinName": "B" + "pinName": "A" }, "name": "unnamedWire#335", "path": [ { - "x": 185.0, + "x": 100.0, "y": 230.0 }, { - "x": 185.0, - "y": 115.0 + "x": 100.0, + "y": 240.0 } ] }, @@ -6745,20 +6921,15 @@ }, { "pin1": { - "compName": "TriStateBuffer#4", - "pinName": "EN" + "compName": "WireCrossPoint#52", + "pinName": "" }, "pin2": { - "compName": "NandGate#5", - "pinName": "Y" + "compName": "NandGate#7", + "pinName": "B" }, "name": "unnamedWire#344", - "path": [ - { - "x": 215.0, - "y": 110.0 - } - ] + "path": [] }, { "pin1": { @@ -6793,8 +6964,8 @@ "name": "unnamedWire#346", "path": [ { - "x": 175.0, - "y": 290.0 + "x": 170.0, + "y": 315.0 } ] }, @@ -6827,11 +6998,11 @@ "name": "unnamedWire#348", "path": [ { - "x": 485.0, - "y": 290.0 + "x": 480.0, + "y": 315.0 }, { - "x": 485.0, + "x": 480.0, "y": 170.0 } ] @@ -6864,6 +7035,465 @@ }, "name": "unnamedWire#350", "path": [] + }, + { + "pin1": { + "compName": "Am2900MainMemory#0", + "pinName": "A" + }, + "pin2": { + "compName": "dff16#1", + "pinName": "Q" + }, + "name": "unnamedWire#351", + "path": [ + { + "x": 170.0, + "y": 100.0 + }, + { + "x": 170.0, + "y": 125.0 + }, + { + "x": 230.0, + "y": 125.0 + }, + { + "x": 230.0, + "y": 90.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#46", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#44", + "pinName": "" + }, + "name": "unnamedWire#352", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#39", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#45", + "pinName": "" + }, + "name": "unnamedWire#353", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#44", + "pinName": "" + }, + "pin2": { + "compName": "dff16#1", + "pinName": "C" + }, + "name": "unnamedWire#354", + "path": [ + { + "x": 175.0, + "y": 70.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#44", + "pinName": "" + }, + "pin2": { + "compName": "dff#1", + "pinName": "C" + }, + "name": "unnamedWire#355", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#45", + "pinName": "" + }, + "pin2": { + "compName": "dff#2", + "pinName": "C" + }, + "name": "unnamedWire#356", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#45", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#46", + "pinName": "" + }, + "name": "unnamedWire#357", + "path": [] + }, + { + "pin1": { + "compName": "dff#1", + "pinName": "Q" + }, + "pin2": { + "compName": "TriStateBuffer#4", + "pinName": "EN" + }, + "name": "unnamedWire#358", + "path": [ + { + "x": 220.0, + "y": 245.0 + }, + { + "x": 220.0, + "y": 200.0 + }, + { + "x": 195.0, + "y": 200.0 + } + ] + }, + { + "pin1": { + "compName": "dff#0", + "pinName": "Q" + }, + "pin2": { + "compName": "TriStateBuffer#5", + "pinName": "EN" + }, + "name": "unnamedWire#359", + "path": [ + { + "x": 225.0, + "y": 270.0 + }, + { + "x": 225.0, + "y": 170.0 + }, + { + "x": 195.0, + "y": 170.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#47", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#52", + "pinName": "" + }, + "name": "unnamedWire#360", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#49", + "pinName": "" + }, + "pin2": { + "compName": "NandGate#7", + "pinName": "A" + }, + "name": "unnamedWire#361", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#48", + "pinName": "" + }, + "pin2": { + "compName": "and#3", + "pinName": "A" + }, + "name": "unnamedWire#362", + "path": [] + }, + { + "pin1": { + "compName": "and#4", + "pinName": "Y" + }, + "pin2": { + "compName": "dff#0", + "pinName": "D" + }, + "name": "unnamedWire#363", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#49", + "pinName": "" + }, + "pin2": { + "compName": "and#3", + "pinName": "B" + }, + "name": "unnamedWire#364", + "path": [ + { + "x": 105.0, + "y": 260.0 + }, + { + "x": 125.0, + "y": 260.0 + }, + { + "x": 125.0, + "y": 255.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#48", + "pinName": "" + }, + "pin2": { + "compName": "and#4", + "pinName": "A" + }, + "name": "unnamedWire#365", + "path": [ + { + "x": 130.0, + "y": 270.0 + } + ] + }, + { + "pin1": { + "compName": "NandGate#5", + "pinName": "Y" + }, + "pin2": { + "compName": "WireCrossPoint#48", + "pinName": "" + }, + "name": "unnamedWire#366", + "path": [] + }, + { + "pin1": { + "compName": "and#3", + "pinName": "Y" + }, + "pin2": { + "compName": "dff#1", + "pinName": "D" + }, + "name": "unnamedWire#367", + "path": [] + }, + { + "pin1": { + "compName": "NandGate#7", + "pinName": "Y" + }, + "pin2": { + "compName": "and#4", + "pinName": "B" + }, + "name": "unnamedWire#368", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#50", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#29", + "pinName": "" + }, + "name": "unnamedWire#369", + "path": [ + { + "x": 235.0, + "y": 45.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#51", + "pinName": "" + }, + "pin2": { + "compName": "TriStateBuffer#5", + "pinName": "OUT" + }, + "name": "unnamedWire#370", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#51", + "pinName": "" + }, + "pin2": { + "compName": "TriStateBuffer#4", + "pinName": "IN" + }, + "name": "unnamedWire#371", + "path": [ + { + "x": 165.0, + "y": 185.0 + } + ] + }, + { + "pin1": { + "compName": "TriStateBuffer#5", + "pinName": "IN" + }, + "pin2": { + "compName": "WireCrossPoint#50", + "pinName": "" + }, + "name": "unnamedWire#372", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#52", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#49", + "pinName": "" + }, + "name": "unnamedWire#373", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#47", + "pinName": "" + }, + "pin2": { + "compName": "dff#2", + "pinName": "D" + }, + "name": "unnamedWire#374", + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#46", + "pinName": "" + }, + "pin2": { + "compName": "dff#0", + "pinName": "C" + }, + "name": "unnamedWire#375", + "path": [] + }, + { + "pin1": { + "compName": "dff#2", + "pinName": "Q" + }, + "pin2": { + "compName": "Am2900MainMemory#0", + "pinName": "RW" + }, + "name": "unnamedWire#376", + "path": [ + { + "x": 230.0, + "y": 295.0 + }, + { + "x": 230.0, + "y": 210.0 + }, + { + "x": 160.0, + "y": 210.0 + }, + { + "x": 160.0, + "y": 140.0 + } + ] + }, + { + "pin1": { + "compName": "ManualSwitch#0", + "pinName": "" + }, + "pin2": { + "compName": "mux1#0", + "pinName": "S0" + }, + "name": "unnamedWire#377", + "path": [ + { + "x": 95.0, + "y": 355.0 + }, + { + "x": 95.0, + "y": 365.0 + } + ] + }, + { + "pin1": { + "compName": "ManualSwitch#1", + "pinName": "" + }, + "pin2": { + "compName": "mux1#0", + "pinName": "I1" + }, + "name": "unnamedWire#378", + "path": [ + { + "x": 95.0, + "y": 395.0 + }, + { + "x": 95.0, + "y": 385.0 + } + ] + }, + { + "pin1": { + "compName": "Clock#0", + "pinName": "" + }, + "pin2": { + "compName": "mux1#0", + "pinName": "I0" + }, + "name": "unnamedWire#379", + "path": [] } ], "version": "0.1.1"