X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.am2900%2Fcomponents%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fcomponents%2Fam2901%2FAm2901.json;h=9979587f6bbc952807f3d115e329a26c4f73f1d9;hb=cb1ae62b05f07b9980c80a99cf39c4a426974e9f;hp=bd5a844132262fa1a314ebe4814913f266692589;hpb=fef6208422d970ce5929750595a8b52f01d91be7;p=Mograsim.git diff --git a/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901.json b/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901.json index bd5a8441..9979587f 100644 --- a/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901.json +++ b/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2901/Am2901.json @@ -2,40 +2,13 @@ "width": 90.0, "height": 125.0, "interfacePins": [ - { - "location": { - "x": 90.0, - "y": 10.0 - }, - "name": "A0", - "logicWidth": 1, - "usage": "INPUT" - }, { "location": { "x": 90.0, "y": 15.0 }, - "name": "A1", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 90.0, - "y": 20.0 - }, - "name": "A2", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 90.0, - "y": 25.0 - }, - "name": "A3", - "logicWidth": 1, + "name": "A", + "logicWidth": 4, "usage": "INPUT" }, { @@ -43,35 +16,8 @@ "x": 90.0, "y": 35.0 }, - "name": "B0", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 90.0, - "y": 40.0 - }, - "name": "B1", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 90.0, - "y": 45.0 - }, - "name": "B2", - "logicWidth": 1, - "usage": "INPUT" - }, - { - "location": { - "x": 90.0, - "y": 50.0 - }, - "name": "B3", - "logicWidth": 1, + "name": "B", + "logicWidth": 4, "usage": "INPUT" }, { @@ -265,6 +211,30 @@ "orientation": "RIGHT" } }, + { + "id": "Splitter", + "name": "Splitter#3", + "pos": { + "x": 670.0, + "y": 135.0 + }, + "params": { + "logicWidth": 4, + "orientation": "LEFT" + } + }, + { + "id": "Splitter", + "name": "Splitter#4", + "pos": { + "x": 670.0, + "y": 335.0 + }, + "params": { + "logicWidth": 4, + "orientation": "LEFT" + } + }, { "id": "TriStateBuffer", "name": "TriStateBuffer#0", @@ -2311,6 +2281,39 @@ } ] }, + { + "pin1": { + "compName": "Splitter#4", + "pinName": "O0" + }, + "pin2": { + "compName": "ram4#0", + "pinName": "B0" + }, + "name": "unnamedWire#178", + "path": [ + { + "x": 635.0, + "y": 365.0 + }, + { + "x": 635.0, + "y": 215.0 + } + ] + }, + { + "pin1": { + "compName": "Splitter#4", + "pinName": "I" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "B" + }, + "name": "unnamedWire#179", + "path": [] + }, { "pin1": { "compName": "Am2901DestDecode#0", @@ -2500,72 +2503,55 @@ }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "A0" + "compName": "Splitter#3", + "pinName": "I" }, "pin2": { - "compName": "ram4#0", - "pinName": "A0" + "compName": "_submodelinterface", + "pinName": "A" }, "name": "unnamedWire#27", - "path": [ - { - "x": 650.0, - "y": 100.0 - }, - { - "x": 650.0, - "y": 175.0 - } - ] + "path": [] }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "A1" + "compName": "ram4#0", + "pinName": "B3" }, "pin2": { - "compName": "ram4#0", - "pinName": "A1" + "compName": "Splitter#4", + "pinName": "O3" }, "name": "unnamedWire#28", "path": [ { - "x": 645.0, - "y": 150.0 + "x": 650.0, + "y": 245.0 }, { - "x": 645.0, - "y": 185.0 + "x": 650.0, + "y": 335.0 } ] }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "A2" + "compName": "ram4#0", + "pinName": "B2" }, "pin2": { - "compName": "ram4#0", - "pinName": "A2" + "compName": "Splitter#4", + "pinName": "O2" }, "name": "unnamedWire#29", "path": [ { - "x": 860.0, - "y": 200.0 - }, - { - "x": 860.0, - "y": 160.0 - }, - { - "x": 640.0, - "y": 160.0 + "x": 645.0, + "y": 235.0 }, { - "x": 640.0, - "y": 195.0 + "x": 645.0, + "y": 345.0 } ] }, @@ -2596,68 +2582,18 @@ }, { "pin1": { - "compName": "_submodelinterface", - "pinName": "A3" - }, - "pin2": { - "compName": "ram4#0", - "pinName": "A3" - }, - "name": "unnamedWire#30", - "path": [ - { - "x": 855.0, - "y": 250.0 - }, - { - "x": 855.0, - "y": 165.0 - }, - { - "x": 635.0, - "y": 165.0 - }, - { - "x": 635.0, - "y": 205.0 - } - ] - }, - { - "pin1": { - "compName": "_submodelinterface", - "pinName": "B0" - }, - "pin2": { - "compName": "ram4#0", - "pinName": "B0" - }, - "name": "unnamedWire#31", - "path": [ - { - "x": 635.0, - "y": 350.0 - }, - { - "x": 635.0, - "y": 215.0 - } - ] - }, - { - "pin1": { - "compName": "_submodelinterface", - "pinName": "B1" + "compName": "Splitter#4", + "pinName": "O1" }, "pin2": { "compName": "ram4#0", "pinName": "B1" }, - "name": "unnamedWire#32", + "name": "unnamedWire#30", "path": [ { "x": 640.0, - "y": 400.0 + "y": 355.0 }, { "x": 640.0, @@ -2665,48 +2601,6 @@ } ] }, - { - "pin1": { - "compName": "_submodelinterface", - "pinName": "B2" - }, - "pin2": { - "compName": "ram4#0", - "pinName": "B2" - }, - "name": "unnamedWire#33", - "path": [ - { - "x": 645.0, - "y": 450.0 - }, - { - "x": 645.0, - "y": 235.0 - } - ] - }, - { - "pin1": { - "compName": "_submodelinterface", - "pinName": "B3" - }, - "pin2": { - "compName": "ram4#0", - "pinName": "B3" - }, - "name": "unnamedWire#34", - "path": [ - { - "x": 650.0, - "y": 500.0 - }, - { - "x": 650.0, - "y": 245.0 - } - ] - }, { "pin1": { "compName": "ram4#0", @@ -2921,6 +2815,90 @@ } ] }, + { + "pin1": { + "compName": "ram4#0", + "pinName": "A0" + }, + "pin2": { + "compName": "Splitter#3", + "pinName": "O0" + }, + "name": "unnamedWire#44", + "path": [ + { + "x": 650.0, + "y": 175.0 + }, + { + "x": 650.0, + "y": 165.0 + } + ] + }, + { + "pin1": { + "compName": "Splitter#3", + "pinName": "O1" + }, + "pin2": { + "compName": "ram4#0", + "pinName": "A1" + }, + "name": "unnamedWire#45", + "path": [ + { + "x": 645.0, + "y": 155.0 + }, + { + "x": 645.0, + "y": 185.0 + } + ] + }, + { + "pin1": { + "compName": "Splitter#3", + "pinName": "O2" + }, + "pin2": { + "compName": "ram4#0", + "pinName": "A2" + }, + "name": "unnamedWire#46", + "path": [ + { + "x": 640.0, + "y": 145.0 + }, + { + "x": 640.0, + "y": 195.0 + } + ] + }, + { + "pin1": { + "compName": "Splitter#3", + "pinName": "O3" + }, + "pin2": { + "compName": "ram4#0", + "pinName": "A3" + }, + "name": "unnamedWire#47", + "path": [ + { + "x": 635.0, + "y": 135.0 + }, + { + "x": 635.0, + "y": 205.0 + } + ] + }, { "pin1": { "compName": "dlatch4#0",