-mograsim version: 0.1.3
{
"width": 35.0,
"height": 40.0,
"interfacePins": [
{
"location": {
- "x": 35.0,
+ "x": 0.0,
"y": 5.0
},
- "name": "Y00",
- "logicWidth": 1
+ "name": "S0",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
- "x": 35.0,
- "y": 35.0
+ "x": 0.0,
+ "y": 15.0
},
- "name": "Y11",
- "logicWidth": 1
+ "name": "S1",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 35.0,
- "y": 25.0
+ "y": 5.0
},
- "name": "Y10",
- "logicWidth": 1
+ "name": "Y00",
+ "logicWidth": 1,
+ "usage": "OUTPUT"
},
{
"location": {
"y": 15.0
},
"name": "Y01",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "OUTPUT"
},
{
"location": {
- "x": 0.0,
- "y": 5.0
+ "x": 35.0,
+ "y": 25.0
},
- "name": "S0",
- "logicWidth": 1
+ "name": "Y10",
+ "logicWidth": 1,
+ "usage": "OUTPUT"
},
{
"location": {
- "x": 0.0,
- "y": 15.0
+ "x": 35.0,
+ "y": 35.0
},
- "name": "S1",
- "logicWidth": 1
+ "name": "Y11",
+ "logicWidth": 1,
+ "usage": "OUTPUT"
}
],
+ "innerScale": 0.4,
"submodel": {
- "innerScale": 0.4,
- "subComps": [
+ "components": [
{
+ "id": "GUINandGate",
+ "name": "GUINandGate#0",
"pos": {
"x": 10.0,
- "y": 27.5
+ "y": 2.5
},
- "id": "GUINandGate",
- "name": "GUINandGate#1",
"params": 1
},
{
+ "id": "GUINandGate",
+ "name": "GUINandGate#1",
"pos": {
"x": 10.0,
- "y": 2.5
+ "y": 27.5
},
- "id": "GUINandGate",
- "name": "GUINandGate#0",
"params": 1
},
{
+ "id": "GUIand",
+ "name": "GUIand#0",
"pos": {
"x": 40.0,
"y": 2.5
- },
- "id": "GUIand",
- "name": "GUIand#0"
+ }
},
{
+ "id": "GUIand",
+ "name": "GUIand#1",
"pos": {
"x": 40.0,
- "y": 52.5
- },
- "id": "GUIand",
- "name": "GUIand#2"
+ "y": 27.5
+ }
},
{
+ "id": "GUIand",
+ "name": "GUIand#2",
"pos": {
"x": 40.0,
- "y": 27.5
- },
- "id": "GUIand",
- "name": "GUIand#1"
+ "y": 52.5
+ }
},
{
+ "id": "GUIand",
+ "name": "GUIand#3",
"pos": {
"x": 40.0,
"y": 77.5
- },
- "id": "GUIand",
- "name": "GUIand#3"
+ }
},
{
- "pos": {
- "x": 6.5,
- "y": 16.5
- },
"id": "WireCrossPoint",
- "name": "WireCrossPoint#1",
- "params": 1
- },
- {
+ "name": "WireCrossPoint#0",
"pos": {
"x": 6.5,
"y": 11.5
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#0",
"params": 1
},
{
+ "id": "WireCrossPoint",
+ "name": "WireCrossPoint#1",
"pos": {
- "x": 4.0,
- "y": 36.5
+ "x": 6.5,
+ "y": 16.5
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#3",
"params": 1
},
{
+ "id": "WireCrossPoint",
+ "name": "WireCrossPoint#2",
"pos": {
"x": 36.5,
"y": 61.5
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#2",
"params": 1
},
{
+ "id": "WireCrossPoint",
+ "name": "WireCrossPoint#3",
"pos": {
- "x": 31.5,
- "y": 66.5
+ "x": 4.0,
+ "y": 36.5
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#5",
"params": 1
},
{
+ "id": "WireCrossPoint",
+ "name": "WireCrossPoint#4",
"pos": {
"x": 4.0,
"y": 41.5
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#4",
"params": 1
},
{
+ "id": "WireCrossPoint",
+ "name": "WireCrossPoint#5",
"pos": {
- "x": 34.0,
- "y": 36.5
+ "x": 31.5,
+ "y": 66.5
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#7",
"params": 1
},
{
+ "id": "WireCrossPoint",
+ "name": "WireCrossPoint#6",
"pos": {
"x": 31.5,
"y": 11.5
},
+ "params": 1
+ },
+ {
"id": "WireCrossPoint",
- "name": "WireCrossPoint#6",
+ "name": "WireCrossPoint#7",
+ "pos": {
+ "x": 34.0,
+ "y": 36.5
+ },
"params": 1
}
],
- "innerWires": [
+ "wires": [
{
"pin1": {
"compName": "_submodelinterface",
"compName": "WireCrossPoint#0",
"pinName": ""
},
+ "name": "unnamedWire#0",
"path": []
},
{
"compName": "WireCrossPoint#3",
"pinName": ""
},
+ "name": "unnamedWire#1",
"path": []
},
- {
- "pin1": {
- "compName": "WireCrossPoint#0",
- "pinName": ""
- },
- "pin2": {
- "compName": "GUINandGate#0",
- "pinName": "A"
- },
- "path": [
- {
- "x": 7.5,
- "y": 7.5
- }
- ]
- },
- {
- "pin1": {
- "compName": "WireCrossPoint#3",
- "pinName": ""
- },
- "pin2": {
- "compName": "GUINandGate#1",
- "pinName": "A"
- },
- "path": [
- {
- "x": 5.0,
- "y": 32.5
- }
- ]
- },
- {
- "pin1": {
- "compName": "WireCrossPoint#0",
- "pinName": ""
- },
- "pin2": {
- "compName": "WireCrossPoint#1",
- "pinName": ""
- },
- "path": []
- },
- {
- "pin1": {
- "compName": "WireCrossPoint#3",
- "pinName": ""
- },
- "pin2": {
- "compName": "WireCrossPoint#4",
- "pinName": ""
- },
- "path": []
- },
- {
- "pin1": {
- "compName": "WireCrossPoint#1",
- "pinName": ""
- },
- "pin2": {
- "compName": "GUINandGate#0",
- "pinName": "B"
- },
- "path": []
- },
- {
- "pin1": {
- "compName": "WireCrossPoint#4",
- "pinName": ""
- },
- "pin2": {
- "compName": "GUINandGate#1",
- "pinName": "B"
- },
- "path": []
- },
- {
- "pin1": {
- "compName": "WireCrossPoint#1",
- "pinName": ""
- },
- "pin2": {
- "compName": "WireCrossPoint#2",
- "pinName": ""
- },
- "path": [
- {
- "x": 7.5,
- "y": 62.5
- }
- ]
- },
- {
- "pin1": {
- "compName": "WireCrossPoint#4",
- "pinName": ""
- },
- "pin2": {
- "compName": "WireCrossPoint#5",
- "pinName": ""
- },
- "path": [
- {
- "x": 5.0,
- "y": 67.5
- },
- {
- "x": 32.5,
- "y": 67.5
- }
- ]
- },
{
"pin1": {
"compName": "GUINandGate#0",
"compName": "WireCrossPoint#6",
"pinName": ""
},
+ "name": "unnamedWire#10",
"path": []
},
{
"compName": "WireCrossPoint#7",
"pinName": ""
},
+ "name": "unnamedWire#11",
"path": []
},
{
"compName": "GUIand#0",
"pinName": "A"
},
+ "name": "unnamedWire#12",
"path": [
{
"x": 32.5,
"compName": "GUIand#0",
"pinName": "B"
},
+ "name": "unnamedWire#13",
"path": [
{
"x": 35.0,
"compName": "GUIand#1",
"pinName": "A"
},
+ "name": "unnamedWire#14",
"path": [
{
"x": 37.5,
"compName": "GUIand#1",
"pinName": "B"
},
+ "name": "unnamedWire#15",
"path": [
{
"x": 35.0,
"compName": "GUIand#2",
"pinName": "A"
},
+ "name": "unnamedWire#16",
"path": [
{
"x": 32.5,
"compName": "GUIand#2",
"pinName": "B"
},
+ "name": "unnamedWire#17",
"path": []
},
{
"compName": "GUIand#3",
"pinName": "A"
},
+ "name": "unnamedWire#18",
"path": [
{
"x": 37.5,
"compName": "GUIand#3",
"pinName": "B"
},
+ "name": "unnamedWire#19",
"path": [
{
"x": 32.5,
}
]
},
+ {
+ "pin1": {
+ "compName": "WireCrossPoint#0",
+ "pinName": ""
+ },
+ "pin2": {
+ "compName": "GUINandGate#0",
+ "pinName": "A"
+ },
+ "name": "unnamedWire#2",
+ "path": [
+ {
+ "x": 7.5,
+ "y": 7.5
+ }
+ ]
+ },
{
"pin1": {
"compName": "GUIand#0",
"pin2": {
"compName": "_submodelinterface",
"pinName": "Y00"
- }
+ },
+ "name": "unnamedWire#20"
},
{
"pin1": {
"pin2": {
"compName": "_submodelinterface",
"pinName": "Y01"
- }
+ },
+ "name": "unnamedWire#21"
},
{
"pin1": {
"pin2": {
"compName": "_submodelinterface",
"pinName": "Y10"
- }
+ },
+ "name": "unnamedWire#22"
},
{
"pin1": {
"pin2": {
"compName": "_submodelinterface",
"pinName": "Y11"
- }
+ },
+ "name": "unnamedWire#23"
+ },
+ {
+ "pin1": {
+ "compName": "WireCrossPoint#3",
+ "pinName": ""
+ },
+ "pin2": {
+ "compName": "GUINandGate#1",
+ "pinName": "A"
+ },
+ "name": "unnamedWire#3",
+ "path": [
+ {
+ "x": 5.0,
+ "y": 32.5
+ }
+ ]
+ },
+ {
+ "pin1": {
+ "compName": "WireCrossPoint#0",
+ "pinName": ""
+ },
+ "pin2": {
+ "compName": "WireCrossPoint#1",
+ "pinName": ""
+ },
+ "name": "unnamedWire#4",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "WireCrossPoint#3",
+ "pinName": ""
+ },
+ "pin2": {
+ "compName": "WireCrossPoint#4",
+ "pinName": ""
+ },
+ "name": "unnamedWire#5",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "WireCrossPoint#1",
+ "pinName": ""
+ },
+ "pin2": {
+ "compName": "GUINandGate#0",
+ "pinName": "B"
+ },
+ "name": "unnamedWire#6",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "WireCrossPoint#4",
+ "pinName": ""
+ },
+ "pin2": {
+ "compName": "GUINandGate#1",
+ "pinName": "B"
+ },
+ "name": "unnamedWire#7",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "WireCrossPoint#1",
+ "pinName": ""
+ },
+ "pin2": {
+ "compName": "WireCrossPoint#2",
+ "pinName": ""
+ },
+ "name": "unnamedWire#8",
+ "path": [
+ {
+ "x": 7.5,
+ "y": 62.5
+ }
+ ]
+ },
+ {
+ "pin1": {
+ "compName": "WireCrossPoint#4",
+ "pinName": ""
+ },
+ "pin2": {
+ "compName": "WireCrossPoint#5",
+ "pinName": ""
+ },
+ "name": "unnamedWire#9",
+ "path": [
+ {
+ "x": 5.0,
+ "y": 67.5
+ },
+ {
+ "x": 32.5,
+ "y": 67.5
+ }
+ ]
}
- ]
+ ],
+ "version": "0.1.1"
},
"symbolRendererSnippetID": "simpleRectangularLike",
"symbolRendererParams": {
"horizontalComponentCenter": 17.5,
"pinLabelHeight": 3.5,
"pinLabelMargin": 0.5
- }
+ },
+ "outlineRendererSnippetID": "default",
+ "highLevelStateHandlerSnippetID": "default",
+ "version": "0.1.5"
}
\ No newline at end of file