X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui%2FHalfAdder.json;fp=net.mograsim.logic.ui%2FHalfAdder.json;h=0000000000000000000000000000000000000000;hb=f14ea37d69488dd51518a36413af7176916b8bd7;hp=48c198020f16253996d703a8c19dbe2212579e38;hpb=a84700145147c263ad6692c99117a7cf37832378;p=Mograsim.git diff --git a/net.mograsim.logic.ui/HalfAdder.json b/net.mograsim.logic.ui/HalfAdder.json deleted file mode 100644 index 48c19802..00000000 --- a/net.mograsim.logic.ui/HalfAdder.json +++ /dev/null @@ -1,323 +0,0 @@ -mograsim version: 0.1.1 -{ - "type": "SimpleRectangularSubmodelComponent", - "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 - }, - { - "location": { - "x": 35.0, - "y": 15.0 - }, - "name": "_Z", - "logicWidth": 1 - } - ], - "composition": { - "innerScale": 0.4, - "subComps": [ - { - "pos": { - "x": 10.0, - "y": 15.0 - }, - "type": "class:net.mograsim.logic.ui.model.components.GUINandGate", - "params": { - "logicWidth": 1 - } - }, - { - "pos": { - "x": 40.0, - "y": 2.5 - }, - "type": "class:net.mograsim.logic.ui.model.components.GUINandGate", - "params": { - "logicWidth": 1 - } - }, - { - "pos": { - "x": 40.0, - "y": 27.5 - }, - "type": "class:net.mograsim.logic.ui.model.components.GUINandGate", - "params": { - "logicWidth": 1 - } - }, - { - "pos": { - "x": 65.0, - "y": 2.5 - }, - "type": "class:net.mograsim.logic.ui.model.components.GUINandGate", - "params": { - "logicWidth": 1 - } - }, - { - "pos": { - "x": 4.0, - "y": 11.5 - }, - "type": "class:net.mograsim.logic.ui.model.wires.WireCrossPoint", - "params": { - "logicWidth": 1 - } - }, - { - "pos": { - "x": 4.0, - "y": 36.5 - }, - "type": "class:net.mograsim.logic.ui.model.wires.WireCrossPoint", - "params": { - "logicWidth": 1 - } - }, - { - "pos": { - "x": 34.0, - "y": 24.0 - }, - "type": "class:net.mograsim.logic.ui.model.wires.WireCrossPoint", - "params": { - "logicWidth": 1 - } - } - ], - "innerWires": [ - { - "pin1": { - "compId": 0, - "pinName": "A" - }, - "pin2": { - "compId": 5, - "pinName": "" - }, - "path": [] - }, - { - "pin1": { - "compId": 5, - "pinName": "" - }, - "pin2": { - "compId": 2, - "pinName": "A" - }, - "path": [ - { - "x": 5.0, - "y": 7.5 - } - ] - }, - { - "pin1": { - "compId": 5, - "pinName": "" - }, - "pin2": { - "compId": 1, - "pinName": "A" - }, - "path": [ - { - "x": 5.0, - "y": 20.0 - } - ] - }, - { - "pin1": { - "compId": 0, - "pinName": "B" - }, - "pin2": { - "compId": 6, - "pinName": "" - }, - "path": [] - }, - { - "pin1": { - "compId": 6, - "pinName": "" - }, - "pin2": { - "compId": 3, - "pinName": "B" - }, - "path": [ - { - "x": 5.0, - "y": 42.5 - } - ] - }, - { - "pin1": { - "compId": 6, - "pinName": "" - }, - "pin2": { - "compId": 1, - "pinName": "B" - }, - "path": [ - { - "x": 5.0, - "y": 30.0 - } - ] - }, - { - "pin1": { - "compId": 1, - "pinName": "Y" - }, - "pin2": { - "compId": 7, - "pinName": "" - }, - "path": [] - }, - { - "pin1": { - "compId": 7, - "pinName": "" - }, - "pin2": { - "compId": 0, - "pinName": "_Z" - }, - "path": [ - { - "x": 80.0, - "y": 25.0 - }, - { - "x": 80.0, - "y": 37.5 - } - ] - }, - { - "pin1": { - "compId": 7, - "pinName": "" - }, - "pin2": { - "compId": 2, - "pinName": "B" - }, - "path": [ - { - "x": 35.0, - "y": 17.5 - } - ] - }, - { - "pin1": { - "compId": 7, - "pinName": "" - }, - "pin2": { - "compId": 3, - "pinName": "A" - }, - "path": [ - { - "x": 35.0, - "y": 32.5 - } - ] - }, - { - "pin1": { - "compId": 2, - "pinName": "Y" - }, - "pin2": { - "compId": 4, - "pinName": "A" - }, - "path": [ - { - "x": 62.5, - "y": 12.5 - }, - { - "x": 62.5, - "y": 7.5 - } - ] - }, - { - "pin1": { - "compId": 3, - "pinName": "Y" - }, - "pin2": { - "compId": 4, - "pinName": "B" - }, - "path": [ - { - "x": 62.5, - "y": 37.5 - }, - { - "x": 62.5, - "y": 17.5 - } - ] - }, - { - "pin1": { - "compId": 4, - "pinName": "Y" - }, - "pin2": { - "compId": 0, - "pinName": "Y" - }, - "path": [] - } - ] - }, - "specialized": { - "input_count": 2, - "label": "GUIhalfadder", - "logic_width": 1, - "output_count": 2 - } -} \ No newline at end of file