projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commented GUIWire
[Mograsim.git]
/
net.mograsim.logic.ui
/
HalfAdder.json
diff --git
a/net.mograsim.logic.ui/HalfAdder.json
b/net.mograsim.logic.ui/HalfAdder.json
index
802ba0d
..
48c1980
100644
(file)
--- a/
net.mograsim.logic.ui/HalfAdder.json
+++ b/
net.mograsim.logic.ui/HalfAdder.json
@@
-1,4
+1,4
@@
-mograsim version: 0.1.
0
+mograsim version: 0.1.
1
{
"type": "SimpleRectangularSubmodelComponent",
"width": 35.0,
{
"type": "SimpleRectangularSubmodelComponent",
"width": 35.0,
@@
-9,6
+9,7
@@
mograsim version: 0.1.0
"x": 0.0,
"y": 5.0
},
"x": 0.0,
"y": 5.0
},
+ "name": "A",
"logicWidth": 1
},
{
"logicWidth": 1
},
{
@@
-16,6
+17,7
@@
mograsim version: 0.1.0
"x": 0.0,
"y": 15.0
},
"x": 0.0,
"y": 15.0
},
+ "name": "B",
"logicWidth": 1
},
{
"logicWidth": 1
},
{
@@
-23,6
+25,7
@@
mograsim version: 0.1.0
"x": 35.0,
"y": 5.0
},
"x": 35.0,
"y": 5.0
},
+ "name": "Y",
"logicWidth": 1
},
{
"logicWidth": 1
},
{
@@
-30,6
+33,7
@@
mograsim version: 0.1.0
"x": 35.0,
"y": 15.0
},
"x": 35.0,
"y": 15.0
},
+ "name": "_Z",
"logicWidth": 1
}
],
"logicWidth": 1
}
],
@@
-42,7
+46,9
@@
mograsim version: 0.1.0
"y": 15.0
},
"type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
"y": 15.0
},
"type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
- "logicWidth": 1
+ "params": {
+ "logicWidth": 1
+ }
},
{
"pos": {
},
{
"pos": {
@@
-50,7
+56,9
@@
mograsim version: 0.1.0
"y": 2.5
},
"type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
"y": 2.5
},
"type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
- "logicWidth": 1
+ "params": {
+ "logicWidth": 1
+ }
},
{
"pos": {
},
{
"pos": {
@@
-58,7
+66,9
@@
mograsim version: 0.1.0
"y": 27.5
},
"type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
"y": 27.5
},
"type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
- "logicWidth": 1
+ "params": {
+ "logicWidth": 1
+ }
},
{
"pos": {
},
{
"pos": {
@@
-66,7
+76,9
@@
mograsim version: 0.1.0
"y": 2.5
},
"type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
"y": 2.5
},
"type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
- "logicWidth": 1
+ "params": {
+ "logicWidth": 1
+ }
},
{
"pos": {
},
{
"pos": {
@@
-74,7
+86,9
@@
mograsim version: 0.1.0
"y": 11.5
},
"type": "class:net.mograsim.logic.ui.model.wires.WireCrossPoint",
"y": 11.5
},
"type": "class:net.mograsim.logic.ui.model.wires.WireCrossPoint",
- "logicWidth": 1
+ "params": {
+ "logicWidth": 1
+ }
},
{
"pos": {
},
{
"pos": {
@@
-82,7
+96,9
@@
mograsim version: 0.1.0
"y": 36.5
},
"type": "class:net.mograsim.logic.ui.model.wires.WireCrossPoint",
"y": 36.5
},
"type": "class:net.mograsim.logic.ui.model.wires.WireCrossPoint",
- "logicWidth": 1
+ "params": {
+ "logicWidth": 1
+ }
},
{
"pos": {
},
{
"pos": {
@@
-90,29
+106,31
@@
mograsim version: 0.1.0
"y": 24.0
},
"type": "class:net.mograsim.logic.ui.model.wires.WireCrossPoint",
"y": 24.0
},
"type": "class:net.mograsim.logic.ui.model.wires.WireCrossPoint",
- "logicWidth": 1
+ "params": {
+ "logicWidth": 1
+ }
}
],
"innerWires": [
{
"pin1": {
"compId": 0,
}
],
"innerWires": [
{
"pin1": {
"compId": 0,
- "pin
Index": 0
+ "pin
Name": "A"
},
"pin2": {
"compId": 5,
},
"pin2": {
"compId": 5,
- "pin
Index": 0
+ "pin
Name": ""
},
"path": []
},
{
"pin1": {
"compId": 5,
},
"path": []
},
{
"pin1": {
"compId": 5,
- "pin
Index": 0
+ "pin
Name": ""
},
"pin2": {
"compId": 2,
},
"pin2": {
"compId": 2,
- "pin
Index": 1
+ "pin
Name": "A"
},
"path": [
{
},
"path": [
{
@@
-124,11
+142,11
@@
mograsim version: 0.1.0
{
"pin1": {
"compId": 5,
{
"pin1": {
"compId": 5,
- "pin
Index": 0
+ "pin
Name": ""
},
"pin2": {
"compId": 1,
},
"pin2": {
"compId": 1,
- "pin
Index": 1
+ "pin
Name": "A"
},
"path": [
{
},
"path": [
{
@@
-140,22
+158,22
@@
mograsim version: 0.1.0
{
"pin1": {
"compId": 0,
{
"pin1": {
"compId": 0,
- "pin
Index": 1
+ "pin
Name": "B"
},
"pin2": {
"compId": 6,
},
"pin2": {
"compId": 6,
- "pin
Index": 0
+ "pin
Name": ""
},
"path": []
},
{
"pin1": {
"compId": 6,
},
"path": []
},
{
"pin1": {
"compId": 6,
- "pin
Index": 0
+ "pin
Name": ""
},
"pin2": {
"compId": 3,
},
"pin2": {
"compId": 3,
- "pin
Index": 2
+ "pin
Name": "B"
},
"path": [
{
},
"path": [
{
@@
-167,11
+185,11
@@
mograsim version: 0.1.0
{
"pin1": {
"compId": 6,
{
"pin1": {
"compId": 6,
- "pin
Index": 0
+ "pin
Name": ""
},
"pin2": {
"compId": 1,
},
"pin2": {
"compId": 1,
- "pin
Index": 2
+ "pin
Name": "B"
},
"path": [
{
},
"path": [
{
@@
-183,22
+201,22
@@
mograsim version: 0.1.0
{
"pin1": {
"compId": 1,
{
"pin1": {
"compId": 1,
- "pin
Index": 0
+ "pin
Name": "Y"
},
"pin2": {
"compId": 7,
},
"pin2": {
"compId": 7,
- "pin
Index": 0
+ "pin
Name": ""
},
"path": []
},
{
"pin1": {
"compId": 7,
},
"path": []
},
{
"pin1": {
"compId": 7,
- "pin
Index": 0
+ "pin
Name": ""
},
"pin2": {
"compId": 0,
},
"pin2": {
"compId": 0,
- "pin
Index": 3
+ "pin
Name": "_Z"
},
"path": [
{
},
"path": [
{
@@
-214,11
+232,11
@@
mograsim version: 0.1.0
{
"pin1": {
"compId": 7,
{
"pin1": {
"compId": 7,
- "pin
Index": 0
+ "pin
Name": ""
},
"pin2": {
"compId": 2,
},
"pin2": {
"compId": 2,
- "pin
Index": 2
+ "pin
Name": "B"
},
"path": [
{
},
"path": [
{
@@
-230,11
+248,11
@@
mograsim version: 0.1.0
{
"pin1": {
"compId": 7,
{
"pin1": {
"compId": 7,
- "pin
Index": 0
+ "pin
Name": ""
},
"pin2": {
"compId": 3,
},
"pin2": {
"compId": 3,
- "pin
Index": 1
+ "pin
Name": "A"
},
"path": [
{
},
"path": [
{
@@
-246,11
+264,11
@@
mograsim version: 0.1.0
{
"pin1": {
"compId": 2,
{
"pin1": {
"compId": 2,
- "pin
Index": 0
+ "pin
Name": "Y"
},
"pin2": {
"compId": 4,
},
"pin2": {
"compId": 4,
- "pin
Index": 1
+ "pin
Name": "A"
},
"path": [
{
},
"path": [
{
@@
-266,11
+284,11
@@
mograsim version: 0.1.0
{
"pin1": {
"compId": 3,
{
"pin1": {
"compId": 3,
- "pin
Index": 0
+ "pin
Name": "Y"
},
"pin2": {
"compId": 4,
},
"pin2": {
"compId": 4,
- "pin
Index": 2
+ "pin
Name": "B"
},
"path": [
{
},
"path": [
{
@@
-286,11
+304,11
@@
mograsim version: 0.1.0
{
"pin1": {
"compId": 4,
{
"pin1": {
"compId": 4,
- "pin
Index": 0
+ "pin
Name": "Y"
},
"pin2": {
"compId": 0,
},
"pin2": {
"compId": 0,
- "pin
Index": 2
+ "pin
Name": "Y"
},
"path": []
}
},
"path": []
}