X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;ds=inline;f=net.mograsim.logic.model.editor%2Fcomponents%2Fam2901%2FGUIAm2901ALUFuncDecode.json;fp=net.mograsim.logic.model.editor%2Fcomponents%2Fam2901%2FGUIAm2901ALUFuncDecode.json;h=a24476b3c4ca5e6de3abe5761d5d1583c8ee1a05;hb=47ea68ed5c444dd14864412639f6a6fd60ab8a0f;hp=0000000000000000000000000000000000000000;hpb=06eaa32eb35adf937f1e1a7b8a640ee117bfdc55;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/components/am2901/GUIAm2901ALUFuncDecode.json b/net.mograsim.logic.model.editor/components/am2901/GUIAm2901ALUFuncDecode.json new file mode 100644 index 00000000..a24476b3 --- /dev/null +++ b/net.mograsim.logic.model.editor/components/am2901/GUIAm2901ALUFuncDecode.json @@ -0,0 +1,681 @@ +mograsim version: 0.1.3 +{ + "width": 35.0, + "height": 60.0, + "interfacePins": [ + { + "location": { + "x": 35.0, + "y": 35.0 + }, + "name": "SBE", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 45.0 + }, + "name": "FN", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 25.0 + }, + "name": "I3", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 15.0 + }, + "name": "I4", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 25.0 + }, + "name": "SN", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 5.0 + }, + "name": "I5", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 15.0 + }, + "name": "L", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 55.0 + }, + "name": "RN", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 5.0 + }, + "name": "CinE", + "logicWidth": 1 + } + ], + "submodel": { + "innerScale": 0.25, + "subComps": [ + { + "pos": { + "x": 15.0, + "y": 50.0 + }, + "id": "GUINandGate", + "name": "GUINandGate#1", + "params": 1 + }, + { + "pos": { + "x": 55.0, + "y": 10.0 + }, + "id": "GUInand3", + "name": "GUInand3#0" + }, + { + "pos": { + "x": 15.0, + "y": 10.0 + }, + "id": "GUINandGate", + "name": "GUINandGate#0", + "params": 1 + }, + { + "pos": { + "x": 55.0, + "y": 70.0 + }, + "id": "GUINandGate", + "name": "GUINandGate#3", + "params": 1 + }, + { + "pos": { + "x": 55.0, + "y": 45.0 + }, + "id": "GUINandGate", + "name": "GUINandGate#2", + "params": 1 + }, + { + "pos": { + "x": 100.0, + "y": 135.0 + }, + "id": "GUIand", + "name": "GUIand#0" + }, + { + "pos": { + "x": 4.0, + "y": 24.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", + "params": 1 + }, + { + "pos": { + "x": 4.0, + "y": 19.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", + "params": 1 + }, + { + "pos": { + "x": 9.0, + "y": 59.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#3", + "params": 1 + }, + { + "pos": { + "x": 4.0, + "y": 44.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#2", + "params": 1 + }, + { + "pos": { + "x": 9.0, + "y": 64.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#5", + "params": 1 + }, + { + "pos": { + "x": 9.0, + "y": 54.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#4", + "params": 1 + }, + { + "pos": { + "x": 49.0, + "y": 99.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#7", + "params": 1 + }, + { + "pos": { + "x": 9.0, + "y": 84.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#6", + "params": 1 + }, + { + "pos": { + "x": 39.0, + "y": 19.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#9", + "params": 1 + }, + { + "pos": { + "x": 49.0, + "y": 74.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#8", + "params": 1 + }, + { + "pos": { + "x": 39.0, + "y": 34.0 + }, + "id": "WireCrossPoint", + "name": "WireCrossPoint#10", + "params": 1 + }, + { + "pos": { + "x": 100.0, + "y": 50.0 + }, + "id": "GUINandGate", + "name": "GUINandGate#4", + "params": 1 + } + ], + "innerWires": [ + { + "pin1": { + "compName": "_submodelinterface", + "pinName": "I5" + }, + "pin2": { + "compName": "WireCrossPoint#0", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#0", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#0", + "pinName": "A" + }, + "path": [ + { + "x": 5.0, + "y": 15.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#0", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#1", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#1", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#0", + "pinName": "B" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#1", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#2", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#2", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#2", + "pinName": "A" + }, + "path": [ + { + "x": 45.0, + "y": 45.0 + }, + { + "x": 45.0, + "y": 50.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#2", + "pinName": "" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "FN" + }, + "path": [ + { + "x": 5.0, + "y": 180.0 + } + ] + }, + { + "pin1": { + "compName": "_submodelinterface", + "pinName": "I4" + }, + "pin2": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#4", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#4", + "pinName": "" + }, + "pin2": { + "compName": "GUInand3#0", + "pinName": "A" + }, + "path": [ + { + "x": 10.0, + "y": 40.0 + }, + { + "x": 45.0, + "y": 40.0 + }, + { + "x": 45.0, + "y": 15.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#4", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#1", + "pinName": "A" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#3", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#5", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#5", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#1", + "pinName": "B" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#5", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#6", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#6", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#3", + "pinName": "B" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#6", + "pinName": "" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "SN" + }, + "path": [ + { + "x": 10.0, + "y": 105.0 + }, + { + "x": 135.0, + "y": 105.0 + }, + { + "x": 135.0, + "y": 100.0 + } + ] + }, + { + "pin1": { + "compName": "_submodelinterface", + "pinName": "I3" + }, + "pin2": { + "compName": "WireCrossPoint#7", + "pinName": "" + }, + "path": [ + { + "x": 50.0, + "y": 100.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#7", + "pinName": "" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "RN" + }, + "path": [ + { + "x": 50.0, + "y": 220.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#7", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#8", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#8", + "pinName": "" + }, + "pin2": { + "compName": "GUInand3#0", + "pinName": "B" + }, + "path": [ + { + "x": 50.0, + "y": 25.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#8", + "pinName": "" + }, + "pin2": { + "compName": "GUINandGate#3", + "pinName": "A" + }, + "path": [] + }, + { + "pin1": { + "compName": "GUINandGate#0", + "pinName": "Y" + }, + "pin2": { + "compName": "WireCrossPoint#9", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#9", + "pinName": "" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "CinE" + }, + "path": [ + { + "x": 40.0, + "y": 5.0 + }, + { + "x": 115.0, + "y": 5.0 + }, + { + "x": 115.0, + "y": 20.0 + } + ] + }, + { + "pin1": { + "compName": "WireCrossPoint#9", + "pinName": "" + }, + "pin2": { + "compName": "WireCrossPoint#10", + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#10", + "pinName": "" + }, + "pin2": { + "compName": "GUInand3#0", + "pinName": "C" + }, + "path": [] + }, + { + "pin1": { + "compName": "WireCrossPoint#10", + "pinName": "" + }, + "pin2": { + "compName": "GUIand#0", + "pinName": "B" + }, + "path": [ + { + "x": 40.0, + "y": 150.0 + } + ] + }, + { + "pin1": { + "compName": "GUINandGate#1", + "pinName": "Y" + }, + "pin2": { + "compName": "GUINandGate#2", + "pinName": "B" + }, + "path": [] + }, + { + "pin1": { + "compName": "GUInand3#0", + "pinName": "Y" + }, + "pin2": { + "compName": "GUINandGate#4", + "pinName": "A" + } + }, + { + "pin1": { + "compName": "GUINandGate#2", + "pinName": "Y" + }, + "pin2": { + "compName": "GUINandGate#4", + "pinName": "B" + } + }, + { + "pin1": { + "compName": "GUINandGate#3", + "pinName": "Y" + }, + "pin2": { + "compName": "GUIand#0", + "pinName": "A" + } + }, + { + "pin1": { + "compName": "GUINandGate#4", + "pinName": "Y" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "L" + }, + "path": [] + }, + { + "pin1": { + "compName": "GUIand#0", + "pinName": "Y" + }, + "pin2": { + "compName": "_submodelinterface", + "pinName": "SBE" + }, + "path": [] + } + ] + }, + "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer", + "symbolRendererParams": { + "centerText": "GUIAm2901ALUFuncDecode", + "horizontalComponentCenter": 17.5, + "centerTextHeight": 5.0, + "pinLabelHeight": 3.5, + "pinLabelMargin": 0.5 + } +} \ No newline at end of file