projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GUIram5_12 now has HighLevelStates
[Mograsim.git]
/
net.mograsim.logic.model.editor
/
components
/
GUIdlatch.json
diff --git
a/net.mograsim.logic.model.editor/components/GUIdlatch.json
b/net.mograsim.logic.model.editor/components/GUIdlatch.json
index
26c4071
..
9e01a2c
100644
(file)
--- a/
net.mograsim.logic.model.editor/components/GUIdlatch.json
+++ b/
net.mograsim.logic.model.editor/components/GUIdlatch.json
@@
-1,46
+1,58
@@
-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": "D",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
},
{
"location": {
- "x":
35
.0,
+ "x":
0
.0,
"y": 15.0
},
"y": 15.0
},
- "name": "_Q",
- "logicWidth": 1
+ "name": "E",
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
},
{
"location": {
- "x":
0
.0,
+ "x":
35
.0,
"y": 5.0
},
"y": 5.0
},
- "name": "D",
- "logicWidth": 1
+ "name": "Q",
+ "logicWidth": 1,
+ "usage": "OUTPUT"
},
{
"location": {
},
{
"location": {
- "x":
0
.0,
+ "x":
35
.0,
"y": 15.0
},
"y": 15.0
},
- "name": "E",
- "logicWidth": 1
+ "name": "_Q",
+ "logicWidth": 1,
+ "usage": "OUTPUT"
}
],
}
],
+ "innerScale": 0.4,
"submodel": {
"submodel": {
- "innerScale": 0.4,
- "subComps": [
+ "components": [
+ {
+ "id": "class:net.mograsim.logic.model.model.components.atomic.GUINandGate",
+ "name": "GUINandGate#0",
+ "pos": {
+ "x": 10.0,
+ "y": 2.5
+ },
+ "params": 1
+ },
{
{
- "id": "GUINandGate",
+ "id": "
class:net.mograsim.logic.model.model.components.atomic.
GUINandGate",
"name": "GUINandGate#1",
"pos": {
"x": 15.0,
"name": "GUINandGate#1",
"pos": {
"x": 15.0,
@@
-57,113
+69,94
@@
mograsim version: 0.1.3
}
},
{
}
},
{
- "id": "
GUINandGate
",
- "name": "
GUINandGate
#0",
+ "id": "
class:net.mograsim.logic.model.model.wires.WireCrossPoint
",
+ "name": "
WireCrossPoint
#0",
"pos": {
"pos": {
- "x":
10
.0,
- "y":
2
.5
+ "x":
4
.0,
+ "y":
36
.5
},
"params": 1
},
{
},
"params": 1
},
{
- "id": "WireCrossPoint",
+ "id": "
class:net.mograsim.logic.model.model.wires.
WireCrossPoint",
"name": "WireCrossPoint#1",
"pos": {
"x": 34.0,
"y": 11.5
},
"params": 1
"name": "WireCrossPoint#1",
"pos": {
"x": 34.0,
"y": 11.5
},
"params": 1
- },
- {
- "id": "WireCrossPoint",
- "name": "WireCrossPoint#0",
- "pos": {
- "x": 4.0,
- "y": 36.5
- },
- "params": 1
}
],
}
],
- "
innerW
ires": [
+ "
w
ires": [
{
"pin1": {
{
"pin1": {
- "compName": "
GUI_rsLatch#0
",
- "pinName": "
_Q
"
+ "compName": "
_submodelinterface
",
+ "pinName": "
D
"
},
"pin2": {
},
"pin2": {
- "compName": "
_submodelinterface
",
- "pinName": "
_Q
"
+ "compName": "
GUINandGate#0
",
+ "pinName": "
A
"
},
},
- "name": "unnamedWire#
9
"
+ "name": "unnamedWire#
0
"
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
GUI_rsLatch#0
",
- "pinName": "
Q
"
+ "compName": "
_submodelinterface
",
+ "pinName": "
E
"
},
"pin2": {
},
"pin2": {
- "compName": "
_submodelinterface
",
- "pinName": "
Q
"
+ "compName": "
WireCrossPoint#0
",
+ "pinName": ""
},
},
- "name": "unnamedWire#
8
",
+ "name": "unnamedWire#
1
",
"path": []
},
{
"pin1": {
"path": []
},
{
"pin1": {
- "compName": "
GUINandGate#1
",
- "pinName": "
Y
"
+ "compName": "
WireCrossPoint#0
",
+ "pinName": ""
},
"pin2": {
},
"pin2": {
- "compName": "GUI
_rsLatch
#0",
- "pinName": "
_R
"
+ "compName": "GUI
NandGate
#0",
+ "pinName": "
B
"
},
},
- "name": "unnamedWire#
7
",
+ "name": "unnamedWire#
2
",
"path": [
{
"path": [
{
- "x": 40.0,
- "y": 37.5
- },
- {
- "x": 40.0,
- "y": 22.5
+ "x": 5.0,
+ "y": 17.5
}
]
},
{
"pin1": {
}
]
},
{
"pin1": {
- "compName": "WireCrossPoint#
1
",
+ "compName": "WireCrossPoint#
0
",
"pinName": ""
},
"pin2": {
"pinName": ""
},
"pin2": {
- "compName": "GUI
_rsLatch#0
",
- "pinName": "
_S
"
+ "compName": "GUI
NandGate#1
",
+ "pinName": "
B
"
},
},
- "name": "unnamedWire#6",
- "path": []
+ "name": "unnamedWire#3",
+ "path": [
+ {
+ "x": 5.0,
+ "y": 42.5
+ }
+ ]
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
_submodelinterface
",
- "pinName": "
E
"
+ "compName": "
GUINandGate#0
",
+ "pinName": "
Y
"
},
"pin2": {
},
"pin2": {
- "compName": "WireCrossPoint#
0
",
+ "compName": "WireCrossPoint#
1
",
"pinName": ""
},
"pinName": ""
},
- "name": "unnamedWire#
1
",
+ "name": "unnamedWire#
4
",
"path": []
},
"path": []
},
- {
- "pin1": {
- "compName": "_submodelinterface",
- "pinName": "D"
- },
- "pin2": {
- "compName": "GUINandGate#0",
- "pinName": "A"
- },
- "name": "unnamedWire#0"
- },
{
"pin1": {
"compName": "WireCrossPoint#1",
{
"pin1": {
"compName": "WireCrossPoint#1",
@@
-191,51
+184,62
@@
mograsim version: 0.1.3
},
{
"pin1": {
},
{
"pin1": {
- "compName": "GUINandGate#0",
- "pinName": "Y"
- },
- "pin2": {
"compName": "WireCrossPoint#1",
"pinName": ""
},
"compName": "WireCrossPoint#1",
"pinName": ""
},
- "name": "unnamedWire#4",
+ "pin2": {
+ "compName": "GUI_rsLatch#0",
+ "pinName": "_S"
+ },
+ "name": "unnamedWire#6",
"path": []
},
{
"pin1": {
"path": []
},
{
"pin1": {
- "compName": "
WireCrossPoint#0
",
- "pinName": ""
+ "compName": "
GUINandGate#1
",
+ "pinName": "
Y
"
},
"pin2": {
},
"pin2": {
- "compName": "GUI
NandGate#1
",
- "pinName": "
B
"
+ "compName": "GUI
_rsLatch#0
",
+ "pinName": "
_R
"
},
},
- "name": "unnamedWire#
3
",
+ "name": "unnamedWire#
7
",
"path": [
{
"path": [
{
- "x": 5.0,
- "y": 42.5
+ "x": 40.0,
+ "y": 37.5
+ },
+ {
+ "x": 40.0,
+ "y": 22.5
}
]
},
{
"pin1": {
}
]
},
{
"pin1": {
- "compName": "
WireCrossPoint
#0",
- "pinName": ""
+ "compName": "
GUI_rsLatch
#0",
+ "pinName": "
Q
"
},
"pin2": {
},
"pin2": {
- "compName": "
GUINandGate#0
",
- "pinName": "
B
"
+ "compName": "
_submodelinterface
",
+ "pinName": "
Q
"
},
},
- "name": "unnamedWire#2",
- "path": [
- {
- "x": 5.0,
- "y": 17.5
- }
- ]
+ "name": "unnamedWire#8",
+ "path": []
+ },
+ {
+ "pin1": {
+ "compName": "GUI_rsLatch#0",
+ "pinName": "_Q"
+ },
+ "pin2": {
+ "compName": "_submodelinterface",
+ "pinName": "_Q"
+ },
+ "name": "unnamedWire#9"
}
}
- ]
+ ],
+ "version": "0.1.1"
},
"symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
"symbolRendererParams": {
},
"symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
"symbolRendererParams": {
@@
-258,5
+262,6
@@
mograsim version: 0.1.3
}
}
}
}
}
}
- }
+ },
+ "version": "0.1.5"
}
\ No newline at end of file
}
\ No newline at end of file