-mograsim version: 0.1.3
{
"width": 35.0,
"height": 50.0,
"y": 5.0
},
"name": "A1",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"y": 15.0
},
"name": "A2",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"y": 25.0
},
"name": "A3",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 45.0
+ "y": 35.0
},
- "name": "B",
- "logicWidth": 1
+ "name": "A4",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 35.0
+ "y": 45.0
},
- "name": "A4",
- "logicWidth": 1
+ "name": "B",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"y": 5.0
},
"name": "Y1",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "OUTPUT"
},
{
"location": {
"y": 15.0
},
"name": "Y2",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "OUTPUT"
},
{
"location": {
"y": 25.0
},
"name": "Y3",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "OUTPUT"
},
{
"location": {
"y": 35.0
},
"name": "Y4",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "OUTPUT"
}
],
+ "innerScale": 0.4,
"submodel": {
- "innerScale": 0.4,
- "subComps": [
+ "components": [
{
+ "id": "GUIand",
+ "name": "GUIand#0",
"pos": {
- "x": 24.0,
- "y": 71.5
- },
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#1",
- "params": 1
+ "x": 30.0,
+ "y": 7.5
+ }
},
{
+ "id": "GUIand",
+ "name": "GUIand#1",
"pos": {
- "x": 24.0,
- "y": 46.5
- },
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#0",
- "params": 1
+ "x": 30.0,
+ "y": 32.5
+ }
},
{
+ "id": "GUIand",
+ "name": "GUIand#2",
"pos": {
- "x": 24.0,
- "y": 96.5
- },
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#2",
- "params": 1
+ "x": 30.0,
+ "y": 57.5
+ }
},
{
+ "id": "GUIand",
+ "name": "GUIand#3",
"pos": {
"x": 30.0,
- "y": 7.5
- },
- "id": "GUIand",
- "name": "GUIand#0"
+ "y": 82.5
+ }
},
{
+ "id": "class:net.mograsim.logic.model.model.wires.WireCrossPoint",
+ "name": "WireCrossPoint#0",
"pos": {
- "x": 30.0,
- "y": 57.5
+ "x": 24.0,
+ "y": 46.5
},
- "id": "GUIand",
- "name": "GUIand#2"
+ "params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.wires.WireCrossPoint",
+ "name": "WireCrossPoint#1",
"pos": {
- "x": 30.0,
- "y": 32.5
+ "x": 24.0,
+ "y": 71.5
},
- "id": "GUIand",
- "name": "GUIand#1"
+ "params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.wires.WireCrossPoint",
+ "name": "WireCrossPoint#2",
"pos": {
- "x": 30.0,
- "y": 82.5
+ "x": 24.0,
+ "y": 96.5
},
- "id": "GUIand",
- "name": "GUIand#3"
+ "params": 1
}
],
- "innerWires": [
+ "wires": [
{
"pin1": {
"compName": "_submodelinterface",
"compName": "GUIand#0",
"pinName": "A"
},
+ "name": "unnamedWire#0",
"path": []
},
{
"compName": "GUIand#1",
"pinName": "A"
},
+ "name": "unnamedWire#1",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "WireCrossPoint#0",
+ "pinName": ""
+ },
+ "pin2": {
+ "compName": "GUIand#0",
+ "pinName": "B"
+ },
+ "name": "unnamedWire#10",
+ "path": [
+ {
+ "x": 25.0,
+ "y": 22.5
+ }
+ ]
+ },
+ {
+ "pin1": {
+ "compName": "GUIand#0",
+ "pinName": "Y"
+ },
+ "pin2": {
+ "compName": "_submodelinterface",
+ "pinName": "Y1"
+ },
+ "name": "unnamedWire#11",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "GUIand#1",
+ "pinName": "Y"
+ },
+ "pin2": {
+ "compName": "_submodelinterface",
+ "pinName": "Y2"
+ },
+ "name": "unnamedWire#12",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "GUIand#2",
+ "pinName": "Y"
+ },
+ "pin2": {
+ "compName": "_submodelinterface",
+ "pinName": "Y3"
+ },
+ "name": "unnamedWire#13",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "GUIand#3",
+ "pinName": "Y"
+ },
+ "pin2": {
+ "compName": "_submodelinterface",
+ "pinName": "Y4"
+ },
+ "name": "unnamedWire#14",
"path": []
},
{
"compName": "GUIand#2",
"pinName": "A"
},
+ "name": "unnamedWire#2",
"path": []
},
{
"compName": "GUIand#3",
"pinName": "A"
},
+ "name": "unnamedWire#3",
"path": []
},
{
"compName": "WireCrossPoint#2",
"pinName": ""
},
+ "name": "unnamedWire#4",
"path": [
{
"x": 25.0,
"compName": "GUIand#3",
"pinName": "B"
},
+ "name": "unnamedWire#5",
"path": []
},
{
"compName": "WireCrossPoint#1",
"pinName": ""
},
+ "name": "unnamedWire#6",
"path": []
},
{
"compName": "GUIand#2",
"pinName": "B"
},
+ "name": "unnamedWire#7",
"path": []
},
{
"compName": "WireCrossPoint#0",
"pinName": ""
},
+ "name": "unnamedWire#8",
"path": []
},
{
"compName": "GUIand#1",
"pinName": "B"
},
- "path": []
- },
- {
- "pin1": {
- "compName": "WireCrossPoint#0",
- "pinName": ""
- },
- "pin2": {
- "compName": "GUIand#0",
- "pinName": "B"
- },
- "path": [
- {
- "x": 25.0,
- "y": 22.5
- }
- ]
- },
- {
- "pin1": {
- "compName": "GUIand#0",
- "pinName": "Y"
- },
- "pin2": {
- "compName": "_submodelinterface",
- "pinName": "Y1"
- },
- "path": []
- },
- {
- "pin1": {
- "compName": "GUIand#1",
- "pinName": "Y"
- },
- "pin2": {
- "compName": "_submodelinterface",
- "pinName": "Y2"
- },
- "path": []
- },
- {
- "pin1": {
- "compName": "GUIand#2",
- "pinName": "Y"
- },
- "pin2": {
- "compName": "_submodelinterface",
- "pinName": "Y3"
- },
- "path": []
- },
- {
- "pin1": {
- "compName": "GUIand#3",
- "pinName": "Y"
- },
- "pin2": {
- "compName": "_submodelinterface",
- "pinName": "Y4"
- },
+ "name": "unnamedWire#9",
"path": []
}
- ]
+ ],
+ "version": "0.1.1"
},
- "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
+ "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
"symbolRendererParams": {
"centerText": "GUIand41",
- "horizontalComponentCenter": 17.5,
"centerTextHeight": 5.0,
+ "horizontalComponentCenter": 17.5,
"pinLabelHeight": 3.5,
"pinLabelMargin": 0.5
- }
+ },
+ "outlineRendererSnippetID": "class:net.mograsim.logic.model.snippets.outlinerenderers.DefaultOutlineRenderer",
+ "highLevelStateHandlerSnippetID": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.DefaultHighLevelStateHandler",
+ "version": "0.1.5"
}
\ No newline at end of file