projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move components to an actual resource folder (that will remain in jar)
[Mograsim.git]
/
net.mograsim.logic.model.editor
/
components
/
GUIdff.json
diff --git
a/net.mograsim.logic.model.editor/components/GUIdff.json
b/net.mograsim.logic.model.editor/components/GUIdff.json
index
66af673
..
30c17e6
100644
(file)
--- a/
net.mograsim.logic.model.editor/components/GUIdff.json
+++ b/
net.mograsim.logic.model.editor/components/GUIdff.json
@@
-1,44
+1,56
@@
-mograsim version: 0.1.3
{
"width": 35.0,
"height": 20.0,
"interfacePins": [
{
"location": {
{
"width": 35.0,
"height": 20.0,
"interfacePins": [
{
"location": {
- "x":
35
.0,
+ "x":
0
.0,
"y": 5.0
},
"y": 5.0
},
- "name": "Q",
- "logicWidth": 1
+ "name": "C",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
},
{
"location": {
- "x":
35
.0,
+ "x":
0
.0,
"y": 15.0
},
"y": 15.0
},
- "name": "_Q",
- "logicWidth": 1
+ "name": "D",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
},
{
"location": {
- "x":
0
.0,
+ "x":
35
.0,
"y": 5.0
},
"y": 5.0
},
- "name": "C",
- "logicWidth": 1
+ "name": "Q",
+ "logicWidth": 1,
+ "usage": "OUTPUT"
},
{
"location": {
},
{
"location": {
- "x":
0
.0,
+ "x":
35
.0,
"y": 15.0
},
"y": 15.0
},
- "name": "D",
- "logicWidth": 1
+ "name": "_Q",
+ "logicWidth": 1,
+ "usage": "OUTPUT"
}
],
}
],
+ "innerScale": 0.2,
"submodel": {
"submodel": {
- "innerScale": 0.2,
- "subComps": [
+ "components": [
+ {
+ "id": "GUINandGate",
+ "name": "GUINandGate#0",
+ "pos": {
+ "x": 120.0,
+ "y": 60.0
+ },
+ "params": 1
+ },
{
"id": "GUI_rsLatch",
"name": "GUI_rsLatch#0",
{
"id": "GUI_rsLatch",
"name": "GUI_rsLatch#0",
@@
-47,6
+59,14
@@
mograsim version: 0.1.3
"y": 10.0
}
},
"y": 10.0
}
},
+ {
+ "id": "GUI_rsLatch",
+ "name": "GUI_rsLatch#1",
+ "pos": {
+ "x": 120.0,
+ "y": 30.0
+ }
+ },
{
"id": "GUInand3",
"name": "GUInand3#0",
{
"id": "GUInand3",
"name": "GUInand3#0",
@@
-56,22
+76,14
@@
mograsim version: 0.1.3
}
},
{
}
},
{
- "id": "
GUINandGate
",
- "name": "
GUINandGate
#0",
+ "id": "
WireCrossPoint
",
+ "name": "
WireCrossPoint
#0",
"pos": {
"pos": {
- "x":
120
.0,
- "y":
60
.0
+ "x":
9
.0,
+ "y":
24
.0
},
"params": 1
},
},
"params": 1
},
- {
- "id": "GUI_rsLatch",
- "name": "GUI_rsLatch#1",
- "pos": {
- "x": 120.0,
- "y": 30.0
- }
- },
{
"id": "WireCrossPoint",
"name": "WireCrossPoint#1",
{
"id": "WireCrossPoint",
"name": "WireCrossPoint#1",
@@
-83,10
+95,10
@@
mograsim version: 0.1.3
},
{
"id": "WireCrossPoint",
},
{
"id": "WireCrossPoint",
- "name": "WireCrossPoint#
0
",
+ "name": "WireCrossPoint#
2
",
"pos": {
"pos": {
- "x": 9.0,
- "y":
2
4.0
+ "x": 9
9
.0,
+ "y":
3
4.0
},
"params": 1
},
},
"params": 1
},
@@
-98,153
+110,123
@@
mograsim version: 0.1.3
"y": 44.0
},
"params": 1
"y": 44.0
},
"params": 1
- },
- {
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#2",
- "pos": {
- "x": 99.0,
- "y": 34.0
- },
- "params": 1
}
],
}
],
- "
innerW
ires": [
+ "
w
ires": [
{
"pin1": {
{
"pin1": {
- "compName": "
GUI_rsLatch#1
",
- "pinName": "
_Q
"
+ "compName": "
_submodelinterface
",
+ "pinName": "
C
"
},
"pin2": {
},
"pin2": {
- "compName": "
_submodelinterface
",
- "pinName": "
_Q
"
+ "compName": "
WireCrossPoint#0
",
+ "pinName": ""
},
},
- "name": "unnamedWire#14"
+ "name": "unnamedWire#0",
+ "path": []
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
GUI_rsLatch#1
",
- "pinName": "
Q
"
+ "compName": "
WireCrossPoint#0
",
+ "pinName": ""
},
"pin2": {
},
"pin2": {
- "compName": "
_submodelinterface
",
- "pinName": "
Q
"
+ "compName": "
GUI_rsLatch#0
",
+ "pinName": "
_R
"
},
},
- "name": "unnamedWire#13"
+ "name": "unnamedWire#1",
+ "path": []
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
WireCrossPoint#2
",
- "pinName": ""
+ "compName": "
GUInand3#0
",
+ "pinName": "
Y
"
},
"pin2": {
},
"pin2": {
- "compName": "
GUI_rsLatch#1
",
- "pinName": "
_S
"
+ "compName": "
WireCrossPoint#3
",
+ "pinName": ""
},
},
- "name": "unnamedWire#
9
",
+ "name": "unnamedWire#
10
",
"path": []
},
{
"pin1": {
"path": []
},
{
"pin1": {
- "compName": "WireCrossPoint#
2
",
+ "compName": "WireCrossPoint#
3
",
"pinName": ""
},
"pin2": {
"pinName": ""
},
"pin2": {
- "compName": "GUI
nand3#0
",
- "pinName": "
A
"
+ "compName": "GUI
_rsLatch#1
",
+ "pinName": "
_R
"
},
},
- "name": "unnamedWire#8",
- "path": [
- {
- "x": 30.0,
- "y": 35.0
- },
- {
- "x": 30.0,
- "y": 45.0
- }
- ]
+ "name": "unnamedWire#11",
+ "path": []
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
GUI_rsLatch#0
",
- "pinName": "
_Q
"
+ "compName": "
WireCrossPoint#3
",
+ "pinName": ""
},
"pin2": {
},
"pin2": {
- "compName": "
WireCrossPoint#2
",
- "pinName": ""
+ "compName": "
GUINandGate#0
",
+ "pinName": "
A
"
},
},
- "name": "unnamedWire#
7
",
+ "name": "unnamedWire#
12
",
"path": [
{
"x": 100.0,
"path": [
{
"x": 100.0,
- "y":
2
5.0
+ "y":
6
5.0
}
]
},
{
"pin1": {
}
]
},
{
"pin1": {
- "compName": "
WireCrossPoint
#1",
- "pinName": ""
+ "compName": "
GUI_rsLatch
#1",
+ "pinName": "
Q
"
},
"pin2": {
},
"pin2": {
- "compName": "
GUInand3#0
",
- "pinName": "
C
"
+ "compName": "
_submodelinterface
",
+ "pinName": "
Q
"
},
},
- "name": "unnamedWire#6",
- "path": []
+ "name": "unnamedWire#13"
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
WireCrossPoint#0
",
- "pinName": ""
+ "compName": "
GUI_rsLatch#1
",
+ "pinName": "
_Q
"
},
"pin2": {
},
"pin2": {
- "compName": "GUI_rsLatch#0",
- "pinName": "_R"
- },
- "name": "unnamedWire#1",
- "path": []
- },
- {
- "pin1": {
"compName": "_submodelinterface",
"compName": "_submodelinterface",
- "pinName": "C"
- },
- "pin2": {
- "compName": "WireCrossPoint#0",
- "pinName": ""
+ "pinName": "_Q"
},
},
- "name": "unnamedWire#0",
- "path": []
+ "name": "unnamedWire#14"
},
{
"pin1": {
},
{
"pin1": {
- "compName": "WireCrossPoint#
1
",
+ "compName": "WireCrossPoint#
0
",
"pinName": ""
},
"pin2": {
"pinName": ""
},
"pin2": {
- "compName": "GUI
_rsLatch
#0",
- "pinName": "
_S
"
+ "compName": "GUI
nand3
#0",
+ "pinName": "
B
"
},
},
- "name": "unnamedWire#
5
",
+ "name": "unnamedWire#
2
",
"path": [
{
"path": [
{
- "x":
2
0.0,
- "y":
1
5.0
+ "x":
1
0.0,
+ "y":
5
5.0
}
]
},
{
"pin1": {
}
]
},
{
"pin1": {
- "compName": "
GUInand3#0
",
- "pinName": "
Y
"
+ "compName": "
_submodelinterface
",
+ "pinName": "
D
"
},
"pin2": {
},
"pin2": {
- "compName": "
WireCrossPoint#3
",
- "pinName": ""
+ "compName": "
GUINandGate#0
",
+ "pinName": "
B
"
},
},
- "name": "unnamedWire#
10
",
+ "name": "unnamedWire#
3
",
"path": []
},
{
"path": []
},
{
@@
-274,63
+256,85
@@
mograsim version: 0.1.3
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
_submodelinterface
",
- "pinName": "
D
"
+ "compName": "
WireCrossPoint#1
",
+ "pinName": ""
},
"pin2": {
},
"pin2": {
- "compName": "GUI
NandGate
#0",
- "pinName": "
B
"
+ "compName": "GUI
_rsLatch
#0",
+ "pinName": "
_S
"
},
},
- "name": "unnamedWire#3",
- "path": []
+ "name": "unnamedWire#5",
+ "path": [
+ {
+ "x": 20.0,
+ "y": 15.0
+ }
+ ]
},
{
"pin1": {
},
{
"pin1": {
- "compName": "WireCrossPoint#
3
",
+ "compName": "WireCrossPoint#
1
",
"pinName": ""
},
"pin2": {
"pinName": ""
},
"pin2": {
- "compName": "GUI
NandGate
#0",
- "pinName": "
A
"
+ "compName": "GUI
nand3
#0",
+ "pinName": "
C
"
},
},
- "name": "unnamedWire#12",
+ "name": "unnamedWire#6",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "GUI_rsLatch#0",
+ "pinName": "_Q"
+ },
+ "pin2": {
+ "compName": "WireCrossPoint#2",
+ "pinName": ""
+ },
+ "name": "unnamedWire#7",
"path": [
{
"x": 100.0,
"path": [
{
"x": 100.0,
- "y":
6
5.0
+ "y":
2
5.0
}
]
},
{
"pin1": {
}
]
},
{
"pin1": {
- "compName": "WireCrossPoint#
0
",
+ "compName": "WireCrossPoint#
2
",
"pinName": ""
},
"pin2": {
"compName": "GUInand3#0",
"pinName": ""
},
"pin2": {
"compName": "GUInand3#0",
- "pinName": "
B
"
+ "pinName": "
A
"
},
},
- "name": "unnamedWire#
2
",
+ "name": "unnamedWire#
8
",
"path": [
{
"path": [
{
- "x": 10.0,
- "y": 55.0
+ "x": 30.0,
+ "y": 35.0
+ },
+ {
+ "x": 30.0,
+ "y": 45.0
}
]
},
{
"pin1": {
}
]
},
{
"pin1": {
- "compName": "WireCrossPoint#
3
",
+ "compName": "WireCrossPoint#
2
",
"pinName": ""
},
"pin2": {
"compName": "GUI_rsLatch#1",
"pinName": ""
},
"pin2": {
"compName": "GUI_rsLatch#1",
- "pinName": "_
R
"
+ "pinName": "_
S
"
},
},
- "name": "unnamedWire#
11
",
+ "name": "unnamedWire#
9
",
"path": []
}
"path": []
}
- ]
+ ],
+ "version": "0.1.1"
},
"symbolRendererSnippetID": "simpleRectangularLike",
"symbolRendererParams": {
},
"symbolRendererSnippetID": "simpleRectangularLike",
"symbolRendererParams": {
@@
-353,5
+357,6
@@
mograsim version: 0.1.3
}
}
}
}
}
}
- }
+ },
+ "version": "0.1.5"
}
\ No newline at end of file
}
\ No newline at end of file