X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fcomponents%2FGUIand.json;fp=net.mograsim.logic.ui.am2900%2Fcomponents%2FGUIand.json;h=2ea368358a10c5a60232d7c396d3f6f41663a77d;hb=70d9098dd01dfe29142a4184438175d5a013bb5b;hp=0000000000000000000000000000000000000000;hpb=b37ba7609a925cc945bbac0f6ead619d07912238;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/components/GUIand.json b/net.mograsim.logic.ui.am2900/components/GUIand.json new file mode 100644 index 00000000..2ea36835 --- /dev/null +++ b/net.mograsim.logic.ui.am2900/components/GUIand.json @@ -0,0 +1,154 @@ +mograsim version: 0.1.2 +{ + "type": "SimpleRectangularSubmodelComponent", + "name": "GUIand", + "width": 35.0, + "height": 20.0, + "interfacePins": [ + { + "location": { + "x": 0.0, + "y": 5.0 + }, + "name": "A", + "logicWidth": 1 + }, + { + "location": { + "x": 0.0, + "y": 15.0 + }, + "name": "B", + "logicWidth": 1 + }, + { + "location": { + "x": 35.0, + "y": 5.0 + }, + "name": "Y", + "logicWidth": 1 + } + ], + "composition": { + "innerScale": 0.4, + "subComps": [ + { + "pos": { + "x": 20.0, + "y": 15.0 + }, + "name": "GUINandGate", + "params": { + "logicWidth": 1 + } + }, + { + "pos": { + "x": 50.0, + "y": 15.0 + }, + "name": "GUINandGate", + "params": { + "logicWidth": 1 + } + }, + { + "pos": { + "x": 44.0, + "y": 24.0 + }, + "name": "WireCrossPoint", + "params": { + "logicWidth": 1 + } + } + ], + "innerWires": [ + { + "pin1": { + "compId": 0, + "pinName": "A" + }, + "pin2": { + "compId": 1, + "pinName": "A" + } + }, + { + "pin1": { + "compId": 0, + "pinName": "B" + }, + "pin2": { + "compId": 1, + "pinName": "B" + } + }, + { + "pin1": { + "compId": 1, + "pinName": "Y" + }, + "pin2": { + "compId": 3, + "pinName": "" + }, + "path": [] + }, + { + "pin1": { + "compId": 3, + "pinName": "" + }, + "pin2": { + "compId": 2, + "pinName": "A" + }, + "path": [ + { + "x": 45.0, + "y": 20.0 + } + ] + }, + { + "pin1": { + "compId": 3, + "pinName": "" + }, + "pin2": { + "compId": 2, + "pinName": "B" + }, + "path": [ + { + "x": 45.0, + "y": 30.0 + } + ] + }, + { + "pin1": { + "compId": 2, + "pinName": "Y" + }, + "pin2": { + "compId": 0, + "pinName": "Y" + } + } + ] + }, + "specialized": { + "input_count": [ + "A", + "B" + ], + "label": "GUIand", + "logic_width": 1, + "output_count": [ + "Y" + ] + } +} \ No newline at end of file