X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fcomponents%2Fam2901%2FGUIAm2901ALUOneBit.json;h=5c6215db56c162dac58dcc208076da80829de67c;hb=9ca90120a47e07c9182162351dc47aa89ae703be;hp=5466a04e0b94e99eb5e142d7fb4d47cd444ad8d2;hpb=70d9098dd01dfe29142a4184438175d5a013bb5b;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901ALUOneBit.json b/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901ALUOneBit.json index 5466a04e..5c6215db 100644 --- a/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901ALUOneBit.json +++ b/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901ALUOneBit.json @@ -1,7 +1,5 @@ -mograsim version: 0.1.2 +mograsim version: 0.1.3 { - "type": "SimpleRectangularSubmodelComponent", - "name": "GUIAm2901ALUOneBit", "width": 35.0, "height": 90.0, "interfacePins": [ @@ -94,7 +92,7 @@ mograsim version: 0.1.2 "logicWidth": 1 } ], - "composition": { + "submodel": { "innerScale": 0.2, "subComps": [ { @@ -102,86 +100,73 @@ mograsim version: 0.1.2 "x": 10.0, "y": 20.0 }, - "name": "GUIand", - "params": {} + "id": "GUIand" }, { "pos": { "x": 10.0, "y": 190.0 }, - "name": "GUIxor", - "params": {} + "id": "GUIxor" }, { "pos": { "x": 10.0, "y": 290.0 }, - "name": "GUIxor", - "params": {} + "id": "GUIxor" }, { "pos": { "x": 60.0, "y": 20.0 }, - "name": "GUIfulladder", - "params": {} + "id": "GUIfulladder" }, { "pos": { "x": 60.0, "y": 55.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 135.0, "y": 20.0 }, - "name": "GUIand", - "params": {} + "id": "GUIand" }, { "pos": { "x": 90.0, "y": 70.0 }, - "name": "GUImux1", - "params": {} + "id": "GUImux1" }, { "pos": { "x": 135.0, "y": 70.0 }, - "name": "GUIxor", - "params": {} + "id": "GUIxor" }, { "pos": { "x": 49.0, "y": 59.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 54.0, "y": 69.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 } ], "innerWires": [ @@ -515,23 +500,12 @@ mograsim version: 0.1.2 } ] }, - "specialized": { - "input_count": [ - "Cin", - "CoutE", - "CinE", - "R", - "RN", - "S", - "SN", - "FN", - "L" - ], - "label": "GUIAm2901ALUOneBit", - "logic_width": 1, - "output_count": [ - "Cout", - "F" - ] + "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer", + "symbolRendererParams": { + "centerText": "Am2901ALUOneBit", + "horizontalComponentCenter": 17.5, + "centerTextHeight": 5, + "pinLabelHeight": 3.5, + "pinLabelMargin": 0.5 } } \ No newline at end of file