+++ /dev/null
-mograsim version: 0.1.1
-{
- "type": "SimpleRectangularSubmodelComponent",
- "width": 35.0,
- "height": 30.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": 0.0,
- "y": 25.0
- },
- "name": "C",
- "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": 5.0,
- "y": 40.0
- },
- "type": "class:net.mograsim.logic.ui.model.components.mi.nandbased.GUIhalfadder",
- "params": {}
- },
- {
- "pos": {
- "x": 45.0,
- "y": 7.5
- },
- "type": "class:net.mograsim.logic.ui.model.components.mi.nandbased.GUIhalfadder",
- "params": {}
- },
- {
- "pos": {
- "x": 57.5,
- "y": 40.0
- },
- "type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
- "params": {
- "logicWidth": 1
- }
- }
- ],
- "innerWires": [
- {
- "pin1": {
- "compId": 0,
- "pinName": "A"
- },
- "pin2": {
- "compId": 2,
- "pinName": "A"
- },
- "path": []
- },
- {
- "pin1": {
- "compId": 0,
- "pinName": "B"
- },
- "pin2": {
- "compId": 1,
- "pinName": "A"
- }
- },
- {
- "pin1": {
- "compId": 0,
- "pinName": "C"
- },
- "pin2": {
- "compId": 1,
- "pinName": "B"
- }
- },
- {
- "pin1": {
- "compId": 1,
- "pinName": "Y"
- },
- "pin2": {
- "compId": 2,
- "pinName": "B"
- }
- },
- {
- "pin1": {
- "compId": 1,
- "pinName": "_Z"
- },
- "pin2": {
- "compId": 3,
- "pinName": "B"
- },
- "path": []
- },
- {
- "pin1": {
- "compId": 2,
- "pinName": "Y"
- },
- "pin2": {
- "compId": 0,
- "pinName": "Y"
- },
- "path": []
- },
- {
- "pin1": {
- "compId": 2,
- "pinName": "_Z"
- },
- "pin2": {
- "compId": 3,
- "pinName": "A"
- },
- "path": [
- {
- "x": 82.5,
- "y": 22.5
- },
- {
- "x": 82.5,
- "y": 35.0
- },
- {
- "x": 52.5,
- "y": 35.0
- },
- {
- "x": 52.5,
- "y": 45.0
- }
- ]
- },
- {
- "pin1": {
- "compId": 3,
- "pinName": "Y"
- },
- "pin2": {
- "compId": 0,
- "pinName": "Z"
- }
- }
- ]
- },
- "specialized": {
- "input_count": 3,
- "label": "GUIfulladder",
- "logic_width": 1,
- "output_count": 2
- }
-}
\ No newline at end of file