X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fcomponents%2Fam2901%2FGUIAm2901SourceDecode.json;h=33b3ff103b31e23a0cd5c4f292ed75573e05328e;hb=9ca90120a47e07c9182162351dc47aa89ae703be;hp=c8823710ea8eb6852b3030650ab167c0f5b0a2be;hpb=70d9098dd01dfe29142a4184438175d5a013bb5b;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901SourceDecode.json b/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901SourceDecode.json index c8823710..33b3ff10 100644 --- a/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901SourceDecode.json +++ b/net.mograsim.logic.ui.am2900/components/am2901/GUIAm2901SourceDecode.json @@ -1,7 +1,5 @@ -mograsim version: 0.1.2 +mograsim version: 0.1.3 { - "type": "SimpleRectangularSubmodelComponent", - "name": "GUIAm2901SourceDecode", "width": 35.0, "height": 50.0, "interfacePins": [ @@ -70,7 +68,7 @@ mograsim version: 0.1.2 "logicWidth": 1 } ], - "composition": { + "submodel": { "innerScale": 0.25, "subComps": [ { @@ -78,310 +76,248 @@ mograsim version: 0.1.2 "x": 10.0, "y": 10.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 10.0, "y": 50.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 10.0, "y": 90.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 40.0, "y": 10.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 40.0, "y": 50.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 40.0, "y": 90.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 40.0, "y": 130.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 40.0, "y": 170.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 70.0, "y": 10.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 70.0, "y": 50.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 70.0, "y": 90.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 70.0, "y": 130.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 70.0, "y": 170.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 100.0, "y": 10.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 100.0, "y": 170.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "params": 1 }, { "pos": { "x": 4.0, "y": 19.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 6.5, "y": 19.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 4.0, "y": 144.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 6.5, "y": 59.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 6.5, "y": 99.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 6.5, "y": 104.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 31.5, "y": 54.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 34.0, "y": 59.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 34.0, "y": 64.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 34.0, "y": 134.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 36.5, "y": 99.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 64.0, "y": 59.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 64.0, "y": 99.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 64.0, "y": 139.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 94.0, "y": 19.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 }, { "pos": { "x": 94.0, "y": 179.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "params": 1 } ], "innerWires": [ @@ -1098,20 +1034,12 @@ mograsim version: 0.1.2 } ] }, - "specialized": { - "input_count": [ - "I2", - "I1", - "I0" - ], - "label": "Am2901SourceDecode", - "logic_width": 1, - "output_count": [ - "SQ", - "RA", - "SB", - "SA", - "RD" - ] + "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer", + "symbolRendererParams": { + "centerText": "Am2901SourceDecode", + "horizontalComponentCenter": 17.5, + "centerTextHeight": 5, + "pinLabelHeight": 3.5, + "pinLabelMargin": 0.5 } } \ No newline at end of file