projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added two SymbolRendererProviders
[Mograsim.git]
/
net.mograsim.logic.ui.am2900
/
components
/
GUIor4.json
diff --git
a/net.mograsim.logic.ui.am2900/components/GUIor4.json
b/net.mograsim.logic.ui.am2900/components/GUIor4.json
index
53da78d
..
92e54aa
100644
(file)
--- a/
net.mograsim.logic.ui.am2900/components/GUIor4.json
+++ b/
net.mograsim.logic.ui.am2900/components/GUIor4.json
@@
-1,7
+1,5
@@
-mograsim version: 0.1.
2
+mograsim version: 0.1.
3
{
{
- "type": "SimpleRectangularSubmodelComponent",
- "name": "GUIor4",
"width": 35.0,
"height": 40.0,
"interfacePins": [
"width": 35.0,
"height": 40.0,
"interfacePins": [
@@
-46,7
+44,7
@@
mograsim version: 0.1.2
"logicWidth": 1
}
],
"logicWidth": 1
}
],
- "
composition
": {
+ "
submodel
": {
"innerScale": 0.2,
"subComps": [
{
"innerScale": 0.2,
"subComps": [
{
@@
-54,150
+52,120
@@
mograsim version: 0.1.2
"x": 20.0,
"y": 15.0
},
"x": 20.0,
"y": 15.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 20.0,
"y": 65.0
},
},
{
"pos": {
"x": 20.0,
"y": 65.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 20.0,
"y": 115.0
},
},
{
"pos": {
"x": 20.0,
"y": 115.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 20.0,
"y": 165.0
},
},
{
"pos": {
"x": 20.0,
"y": 165.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 50.0,
"y": 40.0
},
},
{
"pos": {
"x": 50.0,
"y": 40.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 50.0,
"y": 140.0
},
},
{
"pos": {
"x": 50.0,
"y": 140.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 110.0,
"y": 40.0
},
},
{
"pos": {
"x": 110.0,
"y": 40.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 110.0,
"y": 140.0
},
},
{
"pos": {
"x": 110.0,
"y": 140.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 140.0,
"y": 90.0
},
},
{
"pos": {
"x": 140.0,
"y": 90.0
},
- "name": "GUINandGate",
- "params": {
- "logicWidth": 1
- }
+ "id": "GUINandGate",
+ "params": 1
},
{
"pos": {
"x": 14.0,
"y": 24.0
},
},
{
"pos": {
"x": 14.0,
"y": 24.0
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
},
{
"pos": {
"x": 14.0,
"y": 74.0
},
},
{
"pos": {
"x": 14.0,
"y": 74.0
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
},
{
"pos": {
"x": 14.0,
"y": 124.0
},
},
{
"pos": {
"x": 14.0,
"y": 124.0
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
},
{
"pos": {
"x": 14.0,
"y": 174.0
},
},
{
"pos": {
"x": 14.0,
"y": 174.0
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
},
{
"pos": {
"x": 104.0,
"y": 49.0
},
},
{
"pos": {
"x": 104.0,
"y": 49.0
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
},
{
"pos": {
"x": 104.0,
"y": 149.0
},
},
{
"pos": {
"x": 104.0,
"y": 149.0
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
}
],
"innerWires": [
}
],
"innerWires": [
@@
-531,17
+499,12
@@
mograsim version: 0.1.2
}
]
},
}
]
},
- "specialized": {
- "input_count": [
- "A1",
- "A2",
- "A3",
- "A4"
- ],
- "label": "GUIor4",
- "logic_width": 1,
- "output_count": [
- "Y"
- ]
+ "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
+ "symbolRendererParams": {
+ "centerText": "or4",
+ "horizontalComponentCenter": 17.5,
+ "centerTextHeight": 5,
+ "pinLabelHeight": 3.5,
+ "pinLabelMargin": 0.5
}
}
\ No newline at end of file
}
}
\ No newline at end of file