-mograsim version: 0.1.3
{
"width": 35.0,
"height": 20.0,
"y": 5.0
},
"name": "A",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"y": 15.0
},
"name": "B",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
"y": 5.0
},
"name": "Y",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "OUTPUT"
}
],
+ "innerScale": 0.4,
"submodel": {
- "innerScale": 0.4,
- "subComps": [
+ "components": [
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#0",
"pos": {
- "x": 50.0,
+ "x": 20.0,
"y": 15.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#1",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#1",
"pos": {
- "x": 20.0,
+ "x": 50.0,
"y": 15.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#0",
"params": 1
},
{
+ "id": "class:net.mograsim.logic.model.model.wires.WireCrossPoint",
+ "name": "WireCrossPoint#0",
"pos": {
"x": 44.0,
"y": 24.0
},
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#0",
"params": 1
}
],
- "innerWires": [
+ "wires": [
{
"pin1": {
"compName": "_submodelinterface",
"pin2": {
"compName": "GUINandGate#0",
"pinName": "A"
- }
+ },
+ "name": "unnamedWire#0"
},
{
"pin1": {
"pin2": {
"compName": "GUINandGate#0",
"pinName": "B"
- }
+ },
+ "name": "unnamedWire#1"
},
{
"pin1": {
"compName": "WireCrossPoint#0",
"pinName": ""
},
+ "name": "unnamedWire#2",
"path": []
},
{
"compName": "GUINandGate#1",
"pinName": "A"
},
+ "name": "unnamedWire#3",
"path": [
{
"x": 45.0,
"compName": "GUINandGate#1",
"pinName": "B"
},
+ "name": "unnamedWire#4",
"path": [
{
"x": 45.0,
"pin2": {
"compName": "_submodelinterface",
"pinName": "Y"
- }
+ },
+ "name": "unnamedWire#5"
}
- ]
+ ],
+ "version": "0.1.1"
},
- "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
+ "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
"symbolRendererParams": {
"centerText": "GUIand",
- "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