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
/
GUImux1_4.json
diff --git
a/net.mograsim.logic.ui.am2900/components/GUImux1_4.json
b/net.mograsim.logic.ui.am2900/components/GUImux1_4.json
index
7d326ba
..
d4f23ba
100644
(file)
--- a/
net.mograsim.logic.ui.am2900/components/GUImux1_4.json
+++ b/
net.mograsim.logic.ui.am2900/components/GUImux1_4.json
@@
-1,7
+1,5
@@
-mograsim version: 0.1.
2
+mograsim version: 0.1.
3
{
{
- "type": "SimpleRectangularSubmodelComponent",
- "name": "GUImux1_4",
"width": 35.0,
"height": 90.0,
"interfacePins": [
"width": 35.0,
"height": 90.0,
"interfacePins": [
@@
-110,7
+108,7
@@
mograsim version: 0.1.2
"logicWidth": 1
}
],
"logicWidth": 1
}
],
- "
composition
": {
+ "
submodel
": {
"innerScale": 0.4,
"subComps": [
{
"innerScale": 0.4,
"subComps": [
{
@@
-118,62
+116,52
@@
mograsim version: 0.1.2
"x": 30.0,
"y": 7.5
},
"x": 30.0,
"y": 7.5
},
- "name": "GUImux1",
- "params": {}
+ "id": "GUImux1"
},
{
"pos": {
"x": 30.0,
"y": 42.5
},
},
{
"pos": {
"x": 30.0,
"y": 42.5
},
- "name": "GUImux1",
- "params": {}
+ "id": "GUImux1"
},
{
"pos": {
"x": 30.0,
"y": 77.5
},
},
{
"pos": {
"x": 30.0,
"y": 77.5
},
- "name": "GUImux1",
- "params": {}
+ "id": "GUImux1"
},
{
"pos": {
"x": 30.0,
"y": 112.5
},
},
{
"pos": {
"x": 30.0,
"y": 112.5
},
- "name": "GUImux1",
- "params": {}
+ "id": "GUImux1"
},
{
"pos": {
"x": 24.0,
"y": 11.5
},
},
{
"pos": {
"x": 24.0,
"y": 11.5
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
},
{
"pos": {
"x": 24.0,
"y": 46.5
},
},
{
"pos": {
"x": 24.0,
"y": 46.5
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
},
{
"pos": {
"x": 24.0,
"y": 81.5
},
},
{
"pos": {
"x": 24.0,
"y": 81.5
},
- "name": "WireCrossPoint",
- "params": {
- "logicWidth": 1
- }
+ "id": "WireCrossPoint",
+ "params": 1
}
],
"innerWires": [
}
],
"innerWires": [
@@
-462,25
+450,12
@@
mograsim version: 0.1.2
}
]
},
}
]
},
- "specialized": {
- "input_count": [
- "S0",
- "I0_1",
- "I0_2",
- "I0_3",
- "I0_4",
- "I1_1",
- "I1_2",
- "I1_3",
- "I1_4"
- ],
- "label": "GUImux1_4",
- "logic_width": 1,
- "output_count": [
- "Y1",
- "Y2",
- "Y3",
- "Y4"
- ]
+ "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
+ "symbolRendererParams": {
+ "centerText": "mux1_4",
+ "horizontalComponentCenter": 17.5,
+ "centerTextHeight": 5,
+ "pinLabelHeight": 3.5,
+ "pinLabelMargin": 0.5
}
}
\ No newline at end of file
}
}
\ No newline at end of file