X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fcomponents%2FGUImux1_4.json;h=21e2f213ab6e5f64b8cdfe2440e0e5de8e9caa50;hb=5ece0acf049bf9af2933f513fe0206565681f622;hp=7d326ba7b055898e390d04fbff624da5071e86dd;hpb=70d9098dd01dfe29142a4184438175d5a013bb5b;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/components/GUImux1_4.json b/net.mograsim.logic.ui.am2900/components/GUImux1_4.json index 7d326ba7..21e2f213 100644 --- a/net.mograsim.logic.ui.am2900/components/GUImux1_4.json +++ b/net.mograsim.logic.ui.am2900/components/GUImux1_4.json @@ -1,7 +1,5 @@ -mograsim version: 0.1.2 +mograsim version: 0.1.3 { - "type": "SimpleRectangularSubmodelComponent", - "name": "GUImux1_4", "width": 35.0, "height": 90.0, "interfacePins": [ @@ -110,102 +108,99 @@ mograsim version: 0.1.2 "logicWidth": 1 } ], - "composition": { + "submodel": { "innerScale": 0.4, "subComps": [ { "pos": { "x": 30.0, - "y": 7.5 + "y": 112.5 }, - "name": "GUImux1", - "params": {} + "id": "GUImux1", + "name": "GUImux1#3" }, { "pos": { - "x": 30.0, - "y": 42.5 + "x": 24.0, + "y": 46.5 }, - "name": "GUImux1", - "params": {} + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", + "params": 1 }, { "pos": { - "x": 30.0, - "y": 77.5 + "x": 24.0, + "y": 11.5 }, - "name": "GUImux1", - "params": {} + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", + "params": 1 }, { "pos": { "x": 30.0, - "y": 112.5 + "y": 7.5 }, - "name": "GUImux1", - "params": {} + "id": "GUImux1", + "name": "GUImux1#0" }, { "pos": { "x": 24.0, - "y": 11.5 + "y": 81.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#2", + "params": 1 }, { "pos": { - "x": 24.0, - "y": 46.5 + "x": 30.0, + "y": 77.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUImux1", + "name": "GUImux1#2" }, { "pos": { - "x": 24.0, - "y": 81.5 + "x": 30.0, + "y": 42.5 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUImux1", + "name": "GUImux1#1" } ], "innerWires": [ { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "S0" }, "pin2": { - "compId": 5, + "compName": "WireCrossPoint#0", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 5, + "compName": "WireCrossPoint#0", "pinName": "" }, "pin2": { - "compId": 1, + "compName": "GUImux1#0", "pinName": "S0" }, "path": [] }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I0_1" }, "pin2": { - "compId": 1, + "compName": "GUImux1#0", "pinName": "I0" }, "path": [ @@ -221,11 +216,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I1_1" }, "pin2": { - "compId": 1, + "compName": "GUImux1#0", "pinName": "I1" }, "path": [ @@ -241,44 +236,44 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 1, + "compName": "GUImux1#0", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "Y1" }, "path": [] }, { "pin1": { - "compId": 5, + "compName": "WireCrossPoint#0", "pinName": "" }, "pin2": { - "compId": 6, + "compName": "WireCrossPoint#1", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 6, + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { - "compId": 2, + "compName": "GUImux1#1", "pinName": "S0" }, "path": [] }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I0_2" }, "pin2": { - "compId": 2, + "compName": "GUImux1#1", "pinName": "I0" }, "path": [ @@ -294,11 +289,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I1_2" }, "pin2": { - "compId": 2, + "compName": "GUImux1#1", "pinName": "I1" }, "path": [ @@ -314,43 +309,43 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 2, + "compName": "GUImux1#1", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "Y2" } }, { "pin1": { - "compId": 6, + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { - "compId": 7, + "compName": "WireCrossPoint#2", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 7, + "compName": "WireCrossPoint#2", "pinName": "" }, "pin2": { - "compId": 3, + "compName": "GUImux1#2", "pinName": "S0" }, "path": [] }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I0_3" }, "pin2": { - "compId": 3, + "compName": "GUImux1#2", "pinName": "I0" }, "path": [ @@ -366,11 +361,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I1_3" }, "pin2": { - "compId": 3, + "compName": "GUImux1#2", "pinName": "I1" }, "path": [ @@ -386,21 +381,21 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 3, + "compName": "GUImux1#2", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "Y3" } }, { "pin1": { - "compId": 7, + "compName": "WireCrossPoint#2", "pinName": "" }, "pin2": { - "compId": 4, + "compName": "GUImux1#3", "pinName": "S0" }, "path": [ @@ -412,11 +407,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I0_4" }, "pin2": { - "compId": 4, + "compName": "GUImux1#3", "pinName": "I0" }, "path": [ @@ -432,11 +427,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I1_4" }, "pin2": { - "compId": 4, + "compName": "GUImux1#3", "pinName": "I1" }, "path": [ @@ -452,35 +447,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 4, + "compName": "GUImux1#3", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "Y4" } } ] }, - "specialized": { - "input_count": [ - "S0", - "I0_1", - "I0_2", - "I0_3", - "I0_4", - "I1_1", - "I1_2", - "I1_3", - "I1_4" - ], - "label": "GUImux1_4", - "logic_width": 1, - "output_count": [ - "Y1", - "Y2", - "Y3", - "Y4" - ] + "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer", + "symbolRendererParams": { + "centerText": "GUImux1_4", + "horizontalComponentCenter": 17.5, + "centerTextHeight": 5.0, + "pinLabelHeight": 3.5, + "pinLabelMargin": 0.5 } } \ No newline at end of file