X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fcomponents%2Fam2901%2FGUIAm2901ALUFuncDecode.json;h=a24476b3c4ca5e6de3abe5761d5d1583c8ee1a05;hb=5ece0acf049bf9af2933f513fe0206565681f622;hp=1a838efce9eb25d1b0e0a27e74b7024614c3bd82;hpb=70d9098dd01dfe29142a4184438175d5a013bb5b;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901ALUFuncDecode.json b/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901ALUFuncDecode.json index 1a838efc..a24476b3 100644 --- a/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901ALUFuncDecode.json +++ b/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901ALUFuncDecode.json @@ -1,7 +1,5 @@ -mograsim version: 0.1.2 +mograsim version: 0.1.3 { - "type": "SimpleRectangularSubmodelComponent", - "name": "GUIAm2901ALUFuncDecode", "width": 35.0, "height": 60.0, "interfacePins": [ @@ -78,205 +76,189 @@ mograsim version: 0.1.2 "logicWidth": 1 } ], - "composition": { + "submodel": { "innerScale": 0.25, "subComps": [ { "pos": { "x": 15.0, - "y": 10.0 + "y": 50.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#1", + "params": 1 }, { "pos": { - "x": 15.0, - "y": 50.0 + "x": 55.0, + "y": 10.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUInand3", + "name": "GUInand3#0" }, { "pos": { - "x": 55.0, + "x": 15.0, "y": 10.0 }, - "name": "GUInand3", - "params": {} + "id": "GUINandGate", + "name": "GUINandGate#0", + "params": 1 }, { "pos": { "x": 55.0, - "y": 45.0 + "y": 70.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#3", + "params": 1 }, { "pos": { "x": 55.0, - "y": 70.0 + "y": 45.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#2", + "params": 1 }, { "pos": { "x": 100.0, - "y": 50.0 + "y": 135.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUIand", + "name": "GUIand#0" }, { "pos": { - "x": 100.0, - "y": 135.0 + "x": 4.0, + "y": 24.0 }, - "name": "GUIand", - "params": {} + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", + "params": 1 }, { "pos": { "x": 4.0, "y": 19.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", + "params": 1 }, { "pos": { - "x": 4.0, - "y": 24.0 + "x": 9.0, + "y": 59.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#3", + "params": 1 }, { "pos": { "x": 4.0, "y": 44.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#2", + "params": 1 }, { "pos": { "x": 9.0, - "y": 59.0 + "y": 64.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#5", + "params": 1 }, { "pos": { "x": 9.0, "y": 54.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#4", + "params": 1 }, { "pos": { - "x": 9.0, - "y": 64.0 + "x": 49.0, + "y": 99.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#7", + "params": 1 }, { "pos": { "x": 9.0, "y": 84.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#6", + "params": 1 }, { "pos": { - "x": 49.0, - "y": 99.0 + "x": 39.0, + "y": 19.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#9", + "params": 1 }, { "pos": { "x": 49.0, "y": 74.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#8", + "params": 1 }, { "pos": { "x": 39.0, - "y": 19.0 + "y": 34.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#10", + "params": 1 }, { "pos": { - "x": 39.0, - "y": 34.0 + "x": 100.0, + "y": 50.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#4", + "params": 1 } ], "innerWires": [ { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I5" }, "pin2": { - "compId": 8, + "compName": "WireCrossPoint#0", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 8, + "compName": "WireCrossPoint#0", "pinName": "" }, "pin2": { - "compId": 1, + "compName": "GUINandGate#0", "pinName": "A" }, "path": [ @@ -288,44 +270,44 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 8, + "compName": "WireCrossPoint#0", "pinName": "" }, "pin2": { - "compId": 9, + "compName": "WireCrossPoint#1", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 9, + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { - "compId": 1, + "compName": "GUINandGate#0", "pinName": "B" }, "path": [] }, { "pin1": { - "compId": 9, + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { - "compId": 10, + "compName": "WireCrossPoint#2", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 10, + "compName": "WireCrossPoint#2", "pinName": "" }, "pin2": { - "compId": 4, + "compName": "GUINandGate#2", "pinName": "A" }, "path": [ @@ -341,11 +323,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 10, + "compName": "WireCrossPoint#2", "pinName": "" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "FN" }, "path": [ @@ -357,33 +339,33 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I4" }, "pin2": { - "compId": 11, + "compName": "WireCrossPoint#3", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 11, + "compName": "WireCrossPoint#3", "pinName": "" }, "pin2": { - "compId": 12, + "compName": "WireCrossPoint#4", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 12, + "compName": "WireCrossPoint#4", "pinName": "" }, "pin2": { - "compId": 3, + "compName": "GUInand3#0", "pinName": "A" }, "path": [ @@ -403,66 +385,66 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 12, + "compName": "WireCrossPoint#4", "pinName": "" }, "pin2": { - "compId": 2, + "compName": "GUINandGate#1", "pinName": "A" }, "path": [] }, { "pin1": { - "compId": 11, + "compName": "WireCrossPoint#3", "pinName": "" }, "pin2": { - "compId": 13, + "compName": "WireCrossPoint#5", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 13, + "compName": "WireCrossPoint#5", "pinName": "" }, "pin2": { - "compId": 2, + "compName": "GUINandGate#1", "pinName": "B" }, "path": [] }, { "pin1": { - "compId": 13, + "compName": "WireCrossPoint#5", "pinName": "" }, "pin2": { - "compId": 14, + "compName": "WireCrossPoint#6", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 14, + "compName": "WireCrossPoint#6", "pinName": "" }, "pin2": { - "compId": 5, + "compName": "GUINandGate#3", "pinName": "B" }, "path": [] }, { "pin1": { - "compId": 14, + "compName": "WireCrossPoint#6", "pinName": "" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "SN" }, "path": [ @@ -482,11 +464,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I3" }, "pin2": { - "compId": 15, + "compName": "WireCrossPoint#7", "pinName": "" }, "path": [ @@ -498,11 +480,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 15, + "compName": "WireCrossPoint#7", "pinName": "" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "RN" }, "path": [ @@ -514,22 +496,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 15, + "compName": "WireCrossPoint#7", "pinName": "" }, "pin2": { - "compId": 16, + "compName": "WireCrossPoint#8", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 16, + "compName": "WireCrossPoint#8", "pinName": "" }, "pin2": { - "compId": 3, + "compName": "GUInand3#0", "pinName": "B" }, "path": [ @@ -541,33 +523,33 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 16, + "compName": "WireCrossPoint#8", "pinName": "" }, "pin2": { - "compId": 5, + "compName": "GUINandGate#3", "pinName": "A" }, "path": [] }, { "pin1": { - "compId": 1, + "compName": "GUINandGate#0", "pinName": "Y" }, "pin2": { - "compId": 17, + "compName": "WireCrossPoint#9", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 17, + "compName": "WireCrossPoint#9", "pinName": "" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "CinE" }, "path": [ @@ -587,33 +569,33 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 17, + "compName": "WireCrossPoint#9", "pinName": "" }, "pin2": { - "compId": 18, + "compName": "WireCrossPoint#10", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 18, + "compName": "WireCrossPoint#10", "pinName": "" }, "pin2": { - "compId": 3, + "compName": "GUInand3#0", "pinName": "C" }, "path": [] }, { "pin1": { - "compId": 18, + "compName": "WireCrossPoint#10", "pinName": "" }, "pin2": { - "compId": 7, + "compName": "GUIand#0", "pinName": "B" }, "path": [ @@ -625,84 +607,75 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 2, + "compName": "GUINandGate#1", "pinName": "Y" }, "pin2": { - "compId": 4, + "compName": "GUINandGate#2", "pinName": "B" }, "path": [] }, { "pin1": { - "compId": 3, + "compName": "GUInand3#0", "pinName": "Y" }, "pin2": { - "compId": 6, + "compName": "GUINandGate#4", "pinName": "A" } }, { "pin1": { - "compId": 4, + "compName": "GUINandGate#2", "pinName": "Y" }, "pin2": { - "compId": 6, + "compName": "GUINandGate#4", "pinName": "B" } }, { "pin1": { - "compId": 5, + "compName": "GUINandGate#3", "pinName": "Y" }, "pin2": { - "compId": 7, + "compName": "GUIand#0", "pinName": "A" } }, { "pin1": { - "compId": 6, + "compName": "GUINandGate#4", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "L" }, "path": [] }, { "pin1": { - "compId": 7, + "compName": "GUIand#0", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "SBE" }, "path": [] } ] }, - "specialized": { - "input_count": [ - "I5", - "I4", - "I3" - ], - "label": "GUIAm2901ALUFuncDecode", - "logic_width": 1, - "output_count": [ - "CinE", - "L", - "SN", - "SBE", - "FN", - "RN" - ] + "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer", + "symbolRendererParams": { + "centerText": "GUIAm2901ALUFuncDecode", + "horizontalComponentCenter": 17.5, + "centerTextHeight": 5.0, + "pinLabelHeight": 3.5, + "pinLabelMargin": 0.5 } } \ No newline at end of file