-mograsim version: 0.1.3
{
"width": 35.0,
"height": 150.0,
{
"location": {
"x": 0.0,
- "y": 5.0
+ "y": 35.0
},
- "name": "SA",
- "logicWidth": 1
+ "name": "A1",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 115.0
+ "y": 45.0
},
- "name": "C1",
- "logicWidth": 1
+ "name": "A2",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 15.0
+ "y": 55.0
},
- "name": "SB",
- "logicWidth": 1
+ "name": "A3",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 75.0
+ "y": 65.0
},
- "name": "B1",
- "logicWidth": 1
+ "name": "A4",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 125.0
+ "y": 75.0
},
- "name": "C2",
- "logicWidth": 1
+ "name": "B1",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 25.0
+ "y": 85.0
},
- "name": "SC",
- "logicWidth": 1
+ "name": "B2",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 35.0
+ "y": 95.0
},
- "name": "A1",
- "logicWidth": 1
+ "name": "B3",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 85.0
+ "y": 105.0
},
- "name": "B2",
- "logicWidth": 1
+ "name": "B4",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 135.0
+ "y": 115.0
},
- "name": "C3",
- "logicWidth": 1
+ "name": "C1",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 45.0
+ "y": 125.0
},
- "name": "A2",
- "logicWidth": 1
+ "name": "C2",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 95.0
+ "y": 135.0
},
- "name": "B3",
- "logicWidth": 1
+ "name": "C3",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"y": 145.0
},
"name": "C4",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 55.0
+ "y": 5.0
},
- "name": "A3",
- "logicWidth": 1
+ "name": "SA",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 105.0
+ "y": 15.0
},
- "name": "B4",
- "logicWidth": 1
+ "name": "SB",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"x": 0.0,
- "y": 65.0
+ "y": 25.0
},
- "name": "A4",
- "logicWidth": 1
+ "name": "SC",
+ "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.2,
"submodel": {
- "innerScale": 0.2,
- "subComps": [
+ "components": [
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#0",
"pos": {
"x": 50.0,
- "y": 620.0
+ "y": 570.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#1",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#1",
"pos": {
"x": 50.0,
- "y": 570.0
+ "y": 620.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#0",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#2",
"pos": {
"x": 50.0,
- "y": 720.0
+ "y": 670.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#3",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#3",
"pos": {
"x": 50.0,
- "y": 670.0
+ "y": 720.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#2",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#4",
"pos": {
- "x": 75.0,
- "y": 250.0
+ "x": 152.5,
+ "y": 15.0
},
- "id": "GUInot4",
- "name": "GUInot4#0"
+ "params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#5",
"pos": {
- "x": 29.0,
- "y": 634.0
+ "x": 152.5,
+ "y": 65.0
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#1",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#6",
"pos": {
- "x": 29.0,
- "y": 584.0
+ "x": 152.5,
+ "y": 115.0
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#0",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#7",
"pos": {
- "x": 29.0,
- "y": 684.0
+ "x": 152.5,
+ "y": 165.0
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#2",
"params": 1
},
{
+ "id": "GUInot4",
+ "name": "GUInot4#0",
"pos": {
- "x": 152.5,
- "y": 65.0
- },
- "id": "GUINandGate",
- "name": "GUINandGate#5",
- "params": 1
+ "x": 75.0,
+ "y": 250.0
+ }
},
{
+ "id": "GUIsel2_4",
+ "name": "GUIsel2_4#0",
"pos": {
"x": 35.0,
"y": 250.0
- },
- "id": "GUIsel2_4",
- "name": "GUIsel2_4#0"
+ }
},
{
+ "id": "class:net.mograsim.logic.model.model.wires.WireCrossPoint",
+ "name": "WireCrossPoint#0",
"pos": {
- "x": 152.5,
- "y": 15.0
+ "x": 29.0,
+ "y": 584.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#4",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.wires.WireCrossPoint",
+ "name": "WireCrossPoint#1",
"pos": {
- "x": 152.5,
- "y": 165.0
+ "x": 29.0,
+ "y": 634.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#7",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.wires.WireCrossPoint",
+ "name": "WireCrossPoint#2",
"pos": {
- "x": 152.5,
- "y": 115.0
+ "x": 29.0,
+ "y": 684.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#6",
"params": 1
}
],
- "innerWires": [
+ "wires": [
{
"pin1": {
"compName": "_submodelinterface",
"compName": "GUIsel2_4#0",
"pinName": "SA"
},
+ "name": "unnamedWire#0",
"path": [
{
"x": 25.0,
"compName": "GUIsel2_4#0",
"pinName": "SB"
},
+ "name": "unnamedWire#1",
"path": [
{
"x": 20.0,
}
]
},
- {
- "pin1": {
- "compName": "_submodelinterface",
- "pinName": "A1"
- },
- "pin2": {
- "compName": "GUIsel2_4#0",
- "pinName": "A1"
- },
- "path": [
- {
- "x": 15.0,
- "y": 175.0
- },
- {
- "x": 15.0,
- "y": 275.0
- }
- ]
- },
- {
- "pin1": {
- "compName": "_submodelinterface",
- "pinName": "A2"
- },
- "pin2": {
- "compName": "GUIsel2_4#0",
- "pinName": "A2"
- },
- "path": [
- {
- "x": 10.0,
- "y": 225.0
- },
- {
- "x": 10.0,
- "y": 285.0
- }
- ]
- },
- {
- "pin1": {
- "compName": "_submodelinterface",
- "pinName": "A3"
- },
- "pin2": {
- "compName": "GUIsel2_4#0",
- "pinName": "A3"
- },
- "path": [
- {
- "x": 5.0,
- "y": 275.0
- },
- {
- "x": 5.0,
- "y": 295.0
- }
- ]
- },
- {
- "pin1": {
- "compName": "_submodelinterface",
- "pinName": "A4"
- },
- "pin2": {
- "compName": "GUIsel2_4#0",
- "pinName": "A4"
- },
- "path": [
- {
- "x": 5.0,
- "y": 325.0
- },
- {
- "x": 5.0,
- "y": 305.0
- }
- ]
- },
- {
- "pin1": {
- "compName": "_submodelinterface",
- "pinName": "B1"
- },
- "pin2": {
- "compName": "GUIsel2_4#0",
- "pinName": "B1"
- },
- "path": [
- {
- "x": 10.0,
- "y": 375.0
- },
- {
- "x": 10.0,
- "y": 315.0
- }
- ]
- },
- {
- "pin1": {
- "compName": "_submodelinterface",
- "pinName": "B2"
- },
- "pin2": {
- "compName": "GUIsel2_4#0",
- "pinName": "B2"
- },
- "path": [
- {
- "x": 15.0,
- "y": 425.0
- },
- {
- "x": 15.0,
- "y": 325.0
- }
- ]
- },
- {
- "pin1": {
- "compName": "_submodelinterface",
- "pinName": "B3"
- },
- "pin2": {
- "compName": "GUIsel2_4#0",
- "pinName": "B3"
- },
- "path": [
- {
- "x": 20.0,
- "y": 475.0
- },
- {
- "x": 20.0,
- "y": 335.0
- }
- ]
- },
- {
- "pin1": {
- "compName": "_submodelinterface",
- "pinName": "B4"
- },
- "pin2": {
- "compName": "GUIsel2_4#0",
- "pinName": "B4"
- },
- "path": [
- {
- "x": 25.0,
- "y": 525.0
- },
- {
- "x": 25.0,
- "y": 345.0
- }
- ]
- },
{
"pin1": {
"compName": "GUIsel2_4#0",
"compName": "GUInot4#0",
"pinName": "A1"
},
+ "name": "unnamedWire#10",
"path": []
},
{
"compName": "GUInot4#0",
"pinName": "A2"
},
+ "name": "unnamedWire#11",
"path": []
},
{
"compName": "GUInot4#0",
"pinName": "A3"
},
+ "name": "unnamedWire#12",
"path": []
},
{
"compName": "GUInot4#0",
"pinName": "A4"
},
+ "name": "unnamedWire#13",
"path": []
},
{
"compName": "WireCrossPoint#0",
"pinName": ""
},
+ "name": "unnamedWire#14",
"path": [
{
"x": 30.0,
"compName": "GUINandGate#0",
"pinName": "B"
},
+ "name": "unnamedWire#15",
"path": []
},
{
"compName": "WireCrossPoint#1",
"pinName": ""
},
+ "name": "unnamedWire#16",
"path": [
{
"x": 30.0,
"compName": "GUINandGate#1",
"pinName": "B"
},
+ "name": "unnamedWire#17",
"path": []
},
{
"compName": "WireCrossPoint#2",
"pinName": ""
},
+ "name": "unnamedWire#18",
"path": [
{
"x": 30.0,
"compName": "GUINandGate#2",
"pinName": "B"
},
+ "name": "unnamedWire#19",
"path": []
},
+ {
+ "pin1": {
+ "compName": "_submodelinterface",
+ "pinName": "A1"
+ },
+ "pin2": {
+ "compName": "GUIsel2_4#0",
+ "pinName": "A1"
+ },
+ "name": "unnamedWire#2",
+ "path": [
+ {
+ "x": 15.0,
+ "y": 175.0
+ },
+ {
+ "x": 15.0,
+ "y": 275.0
+ }
+ ]
+ },
{
"pin1": {
"compName": "WireCrossPoint#2",
"compName": "GUINandGate#3",
"pinName": "B"
},
+ "name": "unnamedWire#20",
"path": [
{
"x": 30.0,
"compName": "GUINandGate#0",
"pinName": "A"
},
+ "name": "unnamedWire#21",
"path": []
},
{
"compName": "GUINandGate#1",
"pinName": "A"
},
+ "name": "unnamedWire#22",
"path": []
},
{
"compName": "GUINandGate#2",
"pinName": "A"
},
+ "name": "unnamedWire#23",
"path": []
},
{
"compName": "GUINandGate#3",
"pinName": "A"
},
+ "name": "unnamedWire#24",
"path": []
},
{
"compName": "GUINandGate#4",
"pinName": "A"
},
+ "name": "unnamedWire#25",
"path": [
{
"x": 115.0,
"compName": "GUINandGate#5",
"pinName": "A"
},
+ "name": "unnamedWire#26",
"path": [
{
"x": 120.0,
"compName": "GUINandGate#6",
"pinName": "A"
},
+ "name": "unnamedWire#27",
"path": [
{
"x": 125.0,
"compName": "GUINandGate#7",
"pinName": "A"
},
+ "name": "unnamedWire#28",
"path": [
{
"x": 130.0,
"compName": "GUINandGate#4",
"pinName": "B"
},
+ "name": "unnamedWire#29",
"path": [
{
"x": 135.0,
}
]
},
+ {
+ "pin1": {
+ "compName": "_submodelinterface",
+ "pinName": "A2"
+ },
+ "pin2": {
+ "compName": "GUIsel2_4#0",
+ "pinName": "A2"
+ },
+ "name": "unnamedWire#3",
+ "path": [
+ {
+ "x": 10.0,
+ "y": 225.0
+ },
+ {
+ "x": 10.0,
+ "y": 285.0
+ }
+ ]
+ },
{
"pin1": {
"compName": "GUINandGate#1",
"compName": "GUINandGate#5",
"pinName": "B"
},
+ "name": "unnamedWire#30",
"path": [
{
"x": 140.0,
"compName": "GUINandGate#6",
"pinName": "B"
},
+ "name": "unnamedWire#31",
"path": [
{
"x": 145.0,
"compName": "GUINandGate#7",
"pinName": "B"
},
+ "name": "unnamedWire#32",
"path": [
{
"x": 150.0,
"compName": "_submodelinterface",
"pinName": "Y1"
},
+ "name": "unnamedWire#33",
"path": []
},
{
"compName": "_submodelinterface",
"pinName": "Y2"
},
+ "name": "unnamedWire#34",
"path": []
},
{
"compName": "_submodelinterface",
"pinName": "Y3"
},
+ "name": "unnamedWire#35",
"path": []
},
{
"compName": "_submodelinterface",
"pinName": "Y4"
},
+ "name": "unnamedWire#36",
"path": []
+ },
+ {
+ "pin1": {
+ "compName": "_submodelinterface",
+ "pinName": "A3"
+ },
+ "pin2": {
+ "compName": "GUIsel2_4#0",
+ "pinName": "A3"
+ },
+ "name": "unnamedWire#4",
+ "path": [
+ {
+ "x": 5.0,
+ "y": 275.0
+ },
+ {
+ "x": 5.0,
+ "y": 295.0
+ }
+ ]
+ },
+ {
+ "pin1": {
+ "compName": "_submodelinterface",
+ "pinName": "A4"
+ },
+ "pin2": {
+ "compName": "GUIsel2_4#0",
+ "pinName": "A4"
+ },
+ "name": "unnamedWire#5",
+ "path": [
+ {
+ "x": 5.0,
+ "y": 325.0
+ },
+ {
+ "x": 5.0,
+ "y": 305.0
+ }
+ ]
+ },
+ {
+ "pin1": {
+ "compName": "_submodelinterface",
+ "pinName": "B1"
+ },
+ "pin2": {
+ "compName": "GUIsel2_4#0",
+ "pinName": "B1"
+ },
+ "name": "unnamedWire#6",
+ "path": [
+ {
+ "x": 10.0,
+ "y": 375.0
+ },
+ {
+ "x": 10.0,
+ "y": 315.0
+ }
+ ]
+ },
+ {
+ "pin1": {
+ "compName": "_submodelinterface",
+ "pinName": "B2"
+ },
+ "pin2": {
+ "compName": "GUIsel2_4#0",
+ "pinName": "B2"
+ },
+ "name": "unnamedWire#7",
+ "path": [
+ {
+ "x": 15.0,
+ "y": 425.0
+ },
+ {
+ "x": 15.0,
+ "y": 325.0
+ }
+ ]
+ },
+ {
+ "pin1": {
+ "compName": "_submodelinterface",
+ "pinName": "B3"
+ },
+ "pin2": {
+ "compName": "GUIsel2_4#0",
+ "pinName": "B3"
+ },
+ "name": "unnamedWire#8",
+ "path": [
+ {
+ "x": 20.0,
+ "y": 475.0
+ },
+ {
+ "x": 20.0,
+ "y": 335.0
+ }
+ ]
+ },
+ {
+ "pin1": {
+ "compName": "_submodelinterface",
+ "pinName": "B4"
+ },
+ "pin2": {
+ "compName": "GUIsel2_4#0",
+ "pinName": "B4"
+ },
+ "name": "unnamedWire#9",
+ "path": [
+ {
+ "x": 25.0,
+ "y": 525.0
+ },
+ {
+ "x": 25.0,
+ "y": 345.0
+ }
+ ]
}
- ]
+ ],
+ "version": "0.1.1"
},
- "symbolRendererSnippetID": "simpleRectangularLike",
+ "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
"symbolRendererParams": {
"centerText": "GUIsel3_4",
"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