projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed GUIMerger/Splitter read end array order; removed resolved TODO
[Mograsim.git]
/
net.mograsim.logic.model.am2900
/
components
/
GUIfulladder.json
diff --git
a/net.mograsim.logic.model.am2900/components/GUIfulladder.json
b/net.mograsim.logic.model.am2900/components/GUIfulladder.json
index
dc4c616
..
8b41bd3
100644
(file)
--- a/
net.mograsim.logic.model.am2900/components/GUIfulladder.json
+++ b/
net.mograsim.logic.model.am2900/components/GUIfulladder.json
@@
-1,4
+1,3
@@
-mograsim version: 0.1.3
{
"width": 35.0,
"height": 30.0,
{
"width": 35.0,
"height": 30.0,
@@
-9,7
+8,8
@@
mograsim version: 0.1.3
"y": 5.0
},
"name": "A",
"y": 5.0
},
"name": "A",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
},
{
"location": {
@@
-17,7
+17,8
@@
mograsim version: 0.1.3
"y": 15.0
},
"name": "B",
"y": 15.0
},
"name": "B",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
},
{
"location": {
@@
-25,7
+26,8
@@
mograsim version: 0.1.3
"y": 25.0
},
"name": "C",
"y": 25.0
},
"name": "C",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "INPUT"
},
{
"location": {
},
{
"location": {
@@
-33,7
+35,8
@@
mograsim version: 0.1.3
"y": 5.0
},
"name": "Y",
"y": 5.0
},
"name": "Y",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "OUTPUT"
},
{
"location": {
},
{
"location": {
@@
-41,39
+44,40
@@
mograsim version: 0.1.3
"y": 15.0
},
"name": "Z",
"y": 15.0
},
"name": "Z",
- "logicWidth": 1
+ "logicWidth": 1,
+ "usage": "OUTPUT"
}
],
}
],
+ "innerScale": 0.4,
"submodel": {
"submodel": {
- "innerScale": 0.4,
- "subComps": [
+ "components": [
{
{
+ "id": "GUINandGate",
+ "name": "GUINandGate#0",
"pos": {
"x": 57.5,
"y": 40.0
},
"pos": {
"x": 57.5,
"y": 40.0
},
- "id": "GUINandGate",
- "name": "GUINandGate#0",
"params": 1
},
{
"params": 1
},
{
+ "id": "GUIhalfadder",
+ "name": "GUIhalfadder#0",
"pos": {
"x": 5.0,
"y": 40.0
"pos": {
"x": 5.0,
"y": 40.0
- },
- "id": "GUIhalfadder",
- "name": "GUIhalfadder#0"
+ }
},
{
},
{
+ "id": "GUIhalfadder",
+ "name": "GUIhalfadder#1",
"pos": {
"x": 45.0,
"y": 7.5
"pos": {
"x": 45.0,
"y": 7.5
- },
- "id": "GUIhalfadder",
- "name": "GUIhalfadder#1"
+ }
}
],
}
],
- "
innerW
ires": [
+ "
w
ires": [
{
"pin1": {
"compName": "_submodelinterface",
{
"pin1": {
"compName": "_submodelinterface",
@@
-83,6
+87,7
@@
mograsim version: 0.1.3
"compName": "GUIhalfadder#1",
"pinName": "A"
},
"compName": "GUIhalfadder#1",
"pinName": "A"
},
+ "name": "unnamedWire#0",
"path": []
},
{
"path": []
},
{
@@
-93,7
+98,8
@@
mograsim version: 0.1.3
"pin2": {
"compName": "GUIhalfadder#0",
"pinName": "A"
"pin2": {
"compName": "GUIhalfadder#0",
"pinName": "A"
- }
+ },
+ "name": "unnamedWire#1"
},
{
"pin1": {
},
{
"pin1": {
@@
-103,7
+109,8
@@
mograsim version: 0.1.3
"pin2": {
"compName": "GUIhalfadder#0",
"pinName": "B"
"pin2": {
"compName": "GUIhalfadder#0",
"pinName": "B"
- }
+ },
+ "name": "unnamedWire#2"
},
{
"pin1": {
},
{
"pin1": {
@@
-113,7
+120,8
@@
mograsim version: 0.1.3
"pin2": {
"compName": "GUIhalfadder#1",
"pinName": "B"
"pin2": {
"compName": "GUIhalfadder#1",
"pinName": "B"
- }
+ },
+ "name": "unnamedWire#3"
},
{
"pin1": {
},
{
"pin1": {
@@
-124,6
+132,7
@@
mograsim version: 0.1.3
"compName": "GUINandGate#0",
"pinName": "B"
},
"compName": "GUINandGate#0",
"pinName": "B"
},
+ "name": "unnamedWire#4",
"path": []
},
{
"path": []
},
{
@@
-135,6
+144,7
@@
mograsim version: 0.1.3
"compName": "_submodelinterface",
"pinName": "Y"
},
"compName": "_submodelinterface",
"pinName": "Y"
},
+ "name": "unnamedWire#5",
"path": []
},
{
"path": []
},
{
@@
-146,6
+156,7
@@
mograsim version: 0.1.3
"compName": "GUINandGate#0",
"pinName": "A"
},
"compName": "GUINandGate#0",
"pinName": "A"
},
+ "name": "unnamedWire#6",
"path": [
{
"x": 82.5,
"path": [
{
"x": 82.5,
@@
-173,16
+184,21
@@
mograsim version: 0.1.3
"pin2": {
"compName": "_submodelinterface",
"pinName": "Z"
"pin2": {
"compName": "_submodelinterface",
"pinName": "Z"
- }
+ },
+ "name": "unnamedWire#7"
}
}
- ]
+ ],
+ "version": "0.1.1"
},
},
- "symbolRendererSnippetID": "
SimpleRectangularLikeSymbolRenderer
",
+ "symbolRendererSnippetID": "
simpleRectangularLike
",
"symbolRendererParams": {
"centerText": "GUIfulladder",
"symbolRendererParams": {
"centerText": "GUIfulladder",
- "horizontalComponentCenter": 17.5,
"centerTextHeight": 5.0,
"centerTextHeight": 5.0,
+ "horizontalComponentCenter": 17.5,
"pinLabelHeight": 3.5,
"pinLabelMargin": 0.5
"pinLabelHeight": 3.5,
"pinLabelMargin": 0.5
- }
+ },
+ "outlineRendererSnippetID": "default",
+ "highLevelStateHandlerSnippetID": "default",
+ "version": "0.1.5"
}
\ No newline at end of file
}
\ No newline at end of file