X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fcomponents%2Fam2901%2FGUIAm2901SourceDecode.json;h=e36193d97af387ce6d4c512d5d7239138dc849fc;hb=5ece0acf049bf9af2933f513fe0206565681f622;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..e36193d9 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,339 +68,308 @@ mograsim version: 0.1.2 "logicWidth": 1 } ], - "composition": { + "submodel": { "innerScale": 0.25, "subComps": [ { "pos": { "x": 10.0, - "y": 10.0 + "y": 50.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#1", + "params": 1 }, { "pos": { - "x": 10.0, - "y": 50.0 + "x": 94.0, + "y": 19.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#14", + "params": 1 }, { "pos": { "x": 10.0, - "y": 90.0 + "y": 10.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#0", + "params": 1 }, { "pos": { - "x": 40.0, - "y": 10.0 + "x": 64.0, + "y": 139.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#13", + "params": 1 }, { "pos": { "x": 40.0, - "y": 50.0 + "y": 10.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#3", + "params": 1 }, { "pos": { - "x": 40.0, + "x": 10.0, "y": 90.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#2", + "params": 1 }, { "pos": { - "x": 40.0, - "y": 130.0 + "x": 94.0, + "y": 179.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#15", + "params": 1 }, { "pos": { - "x": 40.0, - "y": 170.0 + "x": 6.5, + "y": 19.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#1", + "params": 1 }, { "pos": { - "x": 70.0, - "y": 10.0 + "x": 4.0, + "y": 19.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#0", + "params": 1 }, { "pos": { - "x": 70.0, - "y": 50.0 + "x": 6.5, + "y": 59.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#3", + "params": 1 }, { "pos": { - "x": 70.0, - "y": 90.0 + "x": 4.0, + "y": 144.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#2", + "params": 1 }, { "pos": { - "x": 70.0, - "y": 130.0 + "x": 6.5, + "y": 104.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#5", + "params": 1 }, { "pos": { - "x": 70.0, - "y": 170.0 + "x": 6.5, + "y": 99.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#4", + "params": 1 }, { "pos": { - "x": 100.0, - "y": 10.0 + "x": 34.0, + "y": 59.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#7", + "params": 1 }, { "pos": { - "x": 100.0, - "y": 170.0 + "x": 31.5, + "y": 54.0 }, - "name": "GUINandGate", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#6", + "params": 1 }, { "pos": { - "x": 4.0, - "y": 19.0 + "x": 34.0, + "y": 134.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#9", + "params": 1 }, { "pos": { - "x": 6.5, - "y": 19.0 + "x": 34.0, + "y": 64.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#8", + "params": 1 }, { "pos": { - "x": 4.0, - "y": 144.0 + "x": 36.5, + "y": 99.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#10", + "params": 1 }, { "pos": { - "x": 6.5, - "y": 59.0 + "x": 64.0, + "y": 99.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#12", + "params": 1 }, { "pos": { - "x": 6.5, - "y": 99.0 + "x": 64.0, + "y": 59.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "WireCrossPoint", + "name": "WireCrossPoint#11", + "params": 1 }, { "pos": { - "x": 6.5, - "y": 104.0 + "x": 70.0, + "y": 170.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#12", + "params": 1 }, { "pos": { - "x": 31.5, - "y": 54.0 + "x": 70.0, + "y": 130.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#11", + "params": 1 }, { "pos": { - "x": 34.0, - "y": 59.0 + "x": 100.0, + "y": 170.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#14", + "params": 1 }, { "pos": { - "x": 34.0, - "y": 64.0 + "x": 100.0, + "y": 10.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#13", + "params": 1 }, { "pos": { - "x": 34.0, - "y": 134.0 + "x": 70.0, + "y": 90.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#10", + "params": 1 }, { "pos": { - "x": 36.5, - "y": 99.0 + "x": 70.0, + "y": 50.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#9", + "params": 1 }, { "pos": { - "x": 64.0, - "y": 59.0 + "x": 70.0, + "y": 10.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#8", + "params": 1 }, { "pos": { - "x": 64.0, - "y": 99.0 + "x": 40.0, + "y": 90.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#5", + "params": 1 }, { "pos": { - "x": 64.0, - "y": 139.0 + "x": 40.0, + "y": 50.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#4", + "params": 1 }, { "pos": { - "x": 94.0, - "y": 19.0 + "x": 40.0, + "y": 170.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#7", + "params": 1 }, { "pos": { - "x": 94.0, - "y": 179.0 + "x": 40.0, + "y": 130.0 }, - "name": "WireCrossPoint", - "params": { - "logicWidth": 1 - } + "id": "GUINandGate", + "name": "GUINandGate#6", + "params": 1 } ], "innerWires": [ { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I2" }, "pin2": { - "compId": 16, + "compName": "WireCrossPoint#0", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 16, + "compName": "WireCrossPoint#0", "pinName": "" }, "pin2": { - "compId": 4, + "compName": "GUINandGate#3", "pinName": "A" }, "path": [ @@ -422,22 +389,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 16, + "compName": "WireCrossPoint#0", "pinName": "" }, "pin2": { - "compId": 17, + "compName": "WireCrossPoint#1", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 17, + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { - "compId": 1, + "compName": "GUINandGate#0", "pinName": "A" }, "path": [ @@ -449,11 +416,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 17, + "compName": "WireCrossPoint#1", "pinName": "" }, "pin2": { - "compId": 1, + "compName": "GUINandGate#0", "pinName": "B" }, "path": [ @@ -465,33 +432,33 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 16, + "compName": "WireCrossPoint#0", "pinName": "" }, "pin2": { - "compId": 18, + "compName": "WireCrossPoint#2", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 18, + "compName": "WireCrossPoint#2", "pinName": "" }, "pin2": { - "compId": 7, + "compName": "GUINandGate#6", "pinName": "B" }, "path": [] }, { "pin1": { - "compId": 18, + "compName": "WireCrossPoint#2", "pinName": "" }, "pin2": { - "compId": 13, + "compName": "GUINandGate#12", "pinName": "B" }, "path": [ @@ -511,22 +478,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I1" }, "pin2": { - "compId": 19, + "compName": "WireCrossPoint#3", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 19, + "compName": "WireCrossPoint#3", "pinName": "" }, "pin2": { - "compId": 2, + "compName": "GUINandGate#1", "pinName": "A" }, "path": [ @@ -538,11 +505,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 19, + "compName": "WireCrossPoint#3", "pinName": "" }, "pin2": { - "compId": 2, + "compName": "GUINandGate#1", "pinName": "B" }, "path": [ @@ -554,22 +521,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "I0" }, "pin2": { - "compId": 20, + "compName": "WireCrossPoint#4", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 20, + "compName": "WireCrossPoint#4", "pinName": "" }, "pin2": { - "compId": 3, + "compName": "GUINandGate#2", "pinName": "A" }, "path": [ @@ -581,33 +548,33 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 20, + "compName": "WireCrossPoint#4", "pinName": "" }, "pin2": { - "compId": 21, + "compName": "WireCrossPoint#5", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 21, + "compName": "WireCrossPoint#5", "pinName": "" }, "pin2": { - "compId": 3, + "compName": "GUINandGate#2", "pinName": "B" }, "path": [] }, { "pin1": { - "compId": 21, + "compName": "WireCrossPoint#5", "pinName": "" }, "pin2": { - "compId": 6, + "compName": "GUINandGate#5", "pinName": "B" }, "path": [ @@ -627,11 +594,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 1, + "compName": "GUINandGate#0", "pinName": "Y" }, "pin2": { - "compId": 22, + "compName": "WireCrossPoint#6", "pinName": "" }, "path": [ @@ -643,22 +610,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 22, + "compName": "WireCrossPoint#6", "pinName": "" }, "pin2": { - "compId": 5, + "compName": "GUINandGate#4", "pinName": "A" }, "path": [] }, { "pin1": { - "compId": 22, + "compName": "WireCrossPoint#6", "pinName": "" }, "pin2": { - "compId": 6, + "compName": "GUINandGate#5", "pinName": "A" }, "path": [ @@ -670,22 +637,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 2, + "compName": "GUINandGate#1", "pinName": "Y" }, "pin2": { - "compId": 23, + "compName": "WireCrossPoint#7", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 23, + "compName": "WireCrossPoint#7", "pinName": "" }, "pin2": { - "compId": 4, + "compName": "GUINandGate#3", "pinName": "B" }, "path": [ @@ -697,55 +664,55 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 23, + "compName": "WireCrossPoint#7", "pinName": "" }, "pin2": { - "compId": 24, + "compName": "WireCrossPoint#8", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 24, + "compName": "WireCrossPoint#8", "pinName": "" }, "pin2": { - "compId": 5, + "compName": "GUINandGate#4", "pinName": "B" }, "path": [] }, { "pin1": { - "compId": 24, + "compName": "WireCrossPoint#8", "pinName": "" }, "pin2": { - "compId": 25, + "compName": "WireCrossPoint#9", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 25, + "compName": "WireCrossPoint#9", "pinName": "" }, "pin2": { - "compId": 7, + "compName": "GUINandGate#6", "pinName": "A" }, "path": [] }, { "pin1": { - "compId": 25, + "compName": "WireCrossPoint#9", "pinName": "" }, "pin2": { - "compId": 8, + "compName": "GUINandGate#7", "pinName": "A" }, "path": [ @@ -757,22 +724,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 3, + "compName": "GUINandGate#2", "pinName": "Y" }, "pin2": { - "compId": 26, + "compName": "WireCrossPoint#10", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 26, + "compName": "WireCrossPoint#10", "pinName": "" }, "pin2": { - "compId": 9, + "compName": "GUINandGate#8", "pinName": "B" }, "path": [ @@ -792,11 +759,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 26, + "compName": "WireCrossPoint#10", "pinName": "" }, "pin2": { - "compId": 8, + "compName": "GUINandGate#7", "pinName": "B" }, "path": [ @@ -808,32 +775,32 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 4, + "compName": "GUINandGate#3", "pinName": "Y" }, "pin2": { - "compId": 9, + "compName": "GUINandGate#8", "pinName": "A" } }, { "pin1": { - "compId": 5, + "compName": "GUINandGate#4", "pinName": "Y" }, "pin2": { - "compId": 27, + "compName": "WireCrossPoint#11", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 27, + "compName": "WireCrossPoint#11", "pinName": "" }, "pin2": { - "compId": 10, + "compName": "GUINandGate#9", "pinName": "A" }, "path": [ @@ -845,11 +812,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 27, + "compName": "WireCrossPoint#11", "pinName": "" }, "pin2": { - "compId": 10, + "compName": "GUINandGate#9", "pinName": "B" }, "path": [ @@ -861,22 +828,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 6, + "compName": "GUINandGate#5", "pinName": "Y" }, "pin2": { - "compId": 28, + "compName": "WireCrossPoint#12", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 28, + "compName": "WireCrossPoint#12", "pinName": "" }, "pin2": { - "compId": 11, + "compName": "GUINandGate#10", "pinName": "A" }, "path": [ @@ -888,11 +855,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 28, + "compName": "WireCrossPoint#12", "pinName": "" }, "pin2": { - "compId": 11, + "compName": "GUINandGate#10", "pinName": "B" }, "path": [ @@ -904,22 +871,22 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 7, + "compName": "GUINandGate#6", "pinName": "Y" }, "pin2": { - "compId": 29, + "compName": "WireCrossPoint#13", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 29, + "compName": "WireCrossPoint#13", "pinName": "" }, "pin2": { - "compId": 12, + "compName": "GUINandGate#11", "pinName": "A" }, "path": [ @@ -931,11 +898,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 29, + "compName": "WireCrossPoint#13", "pinName": "" }, "pin2": { - "compId": 12, + "compName": "GUINandGate#11", "pinName": "B" }, "path": [ @@ -947,32 +914,32 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 8, + "compName": "GUINandGate#7", "pinName": "Y" }, "pin2": { - "compId": 13, + "compName": "GUINandGate#12", "pinName": "A" } }, { "pin1": { - "compId": 9, + "compName": "GUINandGate#8", "pinName": "Y" }, "pin2": { - "compId": 30, + "compName": "WireCrossPoint#14", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 30, + "compName": "WireCrossPoint#14", "pinName": "" }, "pin2": { - "compId": 14, + "compName": "GUINandGate#13", "pinName": "A" }, "path": [ @@ -984,11 +951,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 30, + "compName": "WireCrossPoint#14", "pinName": "" }, "pin2": { - "compId": 14, + "compName": "GUINandGate#13", "pinName": "B" }, "path": [ @@ -1000,55 +967,55 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 10, + "compName": "GUINandGate#9", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "RA" }, "path": [] }, { "pin1": { - "compId": 11, + "compName": "GUINandGate#10", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "SB" }, "path": [] }, { "pin1": { - "compId": 12, + "compName": "GUINandGate#11", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "SA" }, "path": [] }, { "pin1": { - "compId": 13, + "compName": "GUINandGate#12", "pinName": "Y" }, "pin2": { - "compId": 31, + "compName": "WireCrossPoint#15", "pinName": "" }, "path": [] }, { "pin1": { - "compId": 31, + "compName": "WireCrossPoint#15", "pinName": "" }, "pin2": { - "compId": 15, + "compName": "GUINandGate#14", "pinName": "A" }, "path": [ @@ -1060,11 +1027,11 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 31, + "compName": "WireCrossPoint#15", "pinName": "" }, "pin2": { - "compId": 15, + "compName": "GUINandGate#14", "pinName": "B" }, "path": [ @@ -1076,42 +1043,34 @@ mograsim version: 0.1.2 }, { "pin1": { - "compId": 14, + "compName": "GUINandGate#13", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "SQ" }, "path": [] }, { "pin1": { - "compId": 15, + "compName": "GUINandGate#14", "pinName": "Y" }, "pin2": { - "compId": 0, + "compName": "_submodelinterface", "pinName": "RD" }, "path": [] } ] }, - "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.0, + "pinLabelHeight": 3.5, + "pinLabelMargin": 0.5 } } \ No newline at end of file