X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fcomponents%2FGUIandor414.json;fp=net.mograsim.logic.ui.am2900%2Fcomponents%2FGUIandor414.json;h=d581e8f7ed65b2d8dee4fd21fcd9c2150950d5b1;hb=70d9098dd01dfe29142a4184438175d5a013bb5b;hp=0000000000000000000000000000000000000000;hpb=b37ba7609a925cc945bbac0f6ead619d07912238;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/components/GUIandor414.json b/net.mograsim.logic.ui.am2900/components/GUIandor414.json new file mode 100644 index 00000000..d581e8f7 --- /dev/null +++ b/net.mograsim.logic.ui.am2900/components/GUIandor414.json @@ -0,0 +1,502 @@ +mograsim version: 0.1.2 +{ + "type": "SimpleRectangularSubmodelComponent", + "name": "GUIandor414", + "width": 35.0, + "height": 90.0, + "interfacePins": [ + { + "location": { + "x": 0.0, + "y": 85.0 + }, + "name": "B", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 5.0 + }, + "name": "C1", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 15.0 + }, + "name": "C2", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 25.0 + }, + "name": "C3", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 45.0 + }, + "name": "A1", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 35.0 + }, + "name": "C4", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 55.0 + }, + "name": "A2", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 65.0 + }, + "name": "A3", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 75.0 + }, + "name": "A4", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 5.0 + }, + "name": "Y1", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 15.0 + }, + "name": "Y2", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 25.0 + }, + "name": "Y3", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 35.0 + }, + "name": "Y4", + "logicWidth": 1 + } + ], + "composition": { + "innerScale": 0.4, + "subComps": [ + { + "pos": { + "x": 15.0, + "y": 137.5 + }, + "name": "GUIand41", + "params": {} + }, + { + "pos": { + "x": 35.0, + "y": 37.5 + }, + "name": "GUIor_4", + "params": {} + } + ], + "innerWires": [ + { + "pin1": { + "compId": 0, + "pinName": "A1" + }, + "pin2": { + "compId": 1, + "pinName": "A1" + }, + "path": [ + { + "x": 10.0, + "y": 112.5 + }, + { + "x": 10.0, + "y": 142.5 + } + ] + }, + { + "pin1": { + "compId": 0, + "pinName": "A2" + }, + "pin2": { + "compId": 1, + "pinName": "A2" + }, + "path": [ + { + "x": 5.0, + "y": 137.5 + }, + { + "x": 5.0, + "y": 152.5 + } + ] + }, + { + "pin1": { + "compId": 0, + "pinName": "A3" + }, + "pin2": { + "compId": 1, + "pinName": "A3" + }, + "path": [] + }, + { + "pin1": { + "compId": 0, + "pinName": "A4" + }, + "pin2": { + "compId": 1, + "pinName": "A4" + }, + "path": [ + { + "x": 5.0, + "y": 187.5 + }, + { + "x": 5.0, + "y": 172.5 + } + ] + }, + { + "pin1": { + "compId": 0, + "pinName": "B" + }, + "pin2": { + "compId": 1, + "pinName": "B" + }, + "path": [ + { + "x": 10.0, + "y": 212.5 + }, + { + "x": 10.0, + "y": 182.5 + } + ] + }, + { + "pin1": { + "compId": 0, + "pinName": "C1" + }, + "pin2": { + "compId": 2, + "pinName": "A1" + }, + "path": [ + { + "x": 10.0, + "y": 12.5 + }, + { + "x": 10.0, + "y": 42.5 + } + ] + }, + { + "pin1": { + "compId": 0, + "pinName": "C2" + }, + "pin2": { + "compId": 2, + "pinName": "A2" + }, + "path": [ + { + "x": 5.0, + "y": 37.5 + }, + { + "x": 5.0, + "y": 52.5 + } + ] + }, + { + "pin1": { + "compId": 0, + "pinName": "C3" + }, + "pin2": { + "compId": 2, + "pinName": "A3" + }, + "path": [] + }, + { + "pin1": { + "compId": 0, + "pinName": "C4" + }, + "pin2": { + "compId": 2, + "pinName": "A4" + }, + "path": [ + { + "x": 5.0, + "y": 87.5 + }, + { + "x": 5.0, + "y": 72.5 + } + ] + }, + { + "pin1": { + "compId": 1, + "pinName": "Y1" + }, + "pin2": { + "compId": 2, + "pinName": "B1" + }, + "path": [ + { + "x": 70.0, + "y": 142.5 + }, + { + "x": 70.0, + "y": 120.0 + }, + { + "x": 30.0, + "y": 120.0 + }, + { + "x": 30.0, + "y": 82.5 + } + ] + }, + { + "pin1": { + "compId": 1, + "pinName": "Y2" + }, + "pin2": { + "compId": 2, + "pinName": "B2" + }, + "path": [ + { + "x": 65.0, + "y": 152.5 + }, + { + "x": 65.0, + "y": 125.0 + }, + { + "x": 25.0, + "y": 125.0 + }, + { + "x": 25.0, + "y": 92.5 + } + ] + }, + { + "pin1": { + "compId": 1, + "pinName": "Y3" + }, + "pin2": { + "compId": 2, + "pinName": "B3" + }, + "path": [ + { + "x": 60.0, + "y": 162.5 + }, + { + "x": 60.0, + "y": 130.0 + }, + { + "x": 20.0, + "y": 130.0 + }, + { + "x": 20.0, + "y": 102.5 + } + ] + }, + { + "pin1": { + "compId": 1, + "pinName": "Y4" + }, + "pin2": { + "compId": 2, + "pinName": "B4" + }, + "path": [ + { + "x": 55.0, + "y": 172.5 + }, + { + "x": 55.0, + "y": 135.0 + }, + { + "x": 15.0, + "y": 135.0 + }, + { + "x": 15.0, + "y": 112.5 + } + ] + }, + { + "pin1": { + "compId": 2, + "pinName": "Y1" + }, + "pin2": { + "compId": 0, + "pinName": "Y1" + }, + "path": [ + { + "x": 75.0, + "y": 42.5 + }, + { + "x": 75.0, + "y": 12.5 + } + ] + }, + { + "pin1": { + "compId": 2, + "pinName": "Y2" + }, + "pin2": { + "compId": 0, + "pinName": "Y2" + }, + "path": [ + { + "x": 80.0, + "y": 52.5 + }, + { + "x": 80.0, + "y": 37.5 + } + ] + }, + { + "pin1": { + "compId": 2, + "pinName": "Y3" + }, + "pin2": { + "compId": 0, + "pinName": "Y3" + }, + "path": [] + }, + { + "pin1": { + "compId": 2, + "pinName": "Y4" + }, + "pin2": { + "compId": 0, + "pinName": "Y4" + }, + "path": [ + { + "x": 80.0, + "y": 72.5 + }, + { + "x": 80.0, + "y": 87.5 + } + ] + } + ] + }, + "specialized": { + "input_count": [ + "C1", + "C2", + "C3", + "C4", + "A1", + "A2", + "A3", + "A4", + "B" + ], + "label": "GUIandor414", + "logic_width": 1, + "output_count": [ + "Y1", + "Y2", + "Y3", + "Y4" + ] + } +} \ No newline at end of file