Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.editor / components / GUIfulladder.json
1 mograsim version: 0.1.3
2 {
3         "width": 35.0,
4         "height": 30.0,
5         "interfacePins": [
6                 {
7                         "location": {
8                                 "x": 0.0,
9                                 "y": 5.0
10                         },
11                         "name": "A",
12                         "logicWidth": 1
13                 },
14                 {
15                         "location": {
16                                 "x": 0.0,
17                                 "y": 15.0
18                         },
19                         "name": "B",
20                         "logicWidth": 1
21                 },
22                 {
23                         "location": {
24                                 "x": 0.0,
25                                 "y": 25.0
26                         },
27                         "name": "C",
28                         "logicWidth": 1
29                 },
30                 {
31                         "location": {
32                                 "x": 35.0,
33                                 "y": 5.0
34                         },
35                         "name": "Y",
36                         "logicWidth": 1
37                 },
38                 {
39                         "location": {
40                                 "x": 35.0,
41                                 "y": 15.0
42                         },
43                         "name": "Z",
44                         "logicWidth": 1
45                 }
46         ],
47         "submodel": {
48                 "innerScale": 0.4,
49                 "subComps": [
50                         {
51                                 "pos": {
52                                         "x": 5.0,
53                                         "y": 40.0
54                                 },
55                                 "id": "GUIhalfadder"
56                         },
57                         {
58                                 "pos": {
59                                         "x": 45.0,
60                                         "y": 7.5
61                                 },
62                                 "id": "GUIhalfadder"
63                         },
64                         {
65                                 "pos": {
66                                         "x": 57.5,
67                                         "y": 40.0
68                                 },
69                                 "id": "GUINandGate",
70                                 "params": 1
71                         }
72                 ],
73                 "innerWires": [
74                         {
75                                 "pin1": {
76                                         "compId": 0,
77                                         "pinName": "A"
78                                 },
79                                 "pin2": {
80                                         "compId": 2,
81                                         "pinName": "A"
82                                 },
83                                 "path": []
84                         },
85                         {
86                                 "pin1": {
87                                         "compId": 0,
88                                         "pinName": "B"
89                                 },
90                                 "pin2": {
91                                         "compId": 1,
92                                         "pinName": "A"
93                                 }
94                         },
95                         {
96                                 "pin1": {
97                                         "compId": 0,
98                                         "pinName": "C"
99                                 },
100                                 "pin2": {
101                                         "compId": 1,
102                                         "pinName": "B"
103                                 }
104                         },
105                         {
106                                 "pin1": {
107                                         "compId": 1,
108                                         "pinName": "Y"
109                                 },
110                                 "pin2": {
111                                         "compId": 2,
112                                         "pinName": "B"
113                                 }
114                         },
115                         {
116                                 "pin1": {
117                                         "compId": 1,
118                                         "pinName": "_Z"
119                                 },
120                                 "pin2": {
121                                         "compId": 3,
122                                         "pinName": "B"
123                                 },
124                                 "path": []
125                         },
126                         {
127                                 "pin1": {
128                                         "compId": 2,
129                                         "pinName": "Y"
130                                 },
131                                 "pin2": {
132                                         "compId": 0,
133                                         "pinName": "Y"
134                                 },
135                                 "path": []
136                         },
137                         {
138                                 "pin1": {
139                                         "compId": 2,
140                                         "pinName": "_Z"
141                                 },
142                                 "pin2": {
143                                         "compId": 3,
144                                         "pinName": "A"
145                                 },
146                                 "path": [
147                                         {
148                                                 "x": 82.5,
149                                                 "y": 22.5
150                                         },
151                                         {
152                                                 "x": 82.5,
153                                                 "y": 35.0
154                                         },
155                                         {
156                                                 "x": 52.5,
157                                                 "y": 35.0
158                                         },
159                                         {
160                                                 "x": 52.5,
161                                                 "y": 45.0
162                                         }
163                                 ]
164                         },
165                         {
166                                 "pin1": {
167                                         "compId": 3,
168                                         "pinName": "Y"
169                                 },
170                                 "pin2": {
171                                         "compId": 0,
172                                         "pinName": "Z"
173                                 }
174                         }
175                 ]
176         },
177         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
178         "symbolRendererParams": {
179                 "centerText": "GUIfulladder",
180                 "horizontalComponentCenter": 17.5,
181                 "centerTextHeight": 5.0,
182                 "pinLabelHeight": 3.5,
183                 "pinLabelMargin": 0.5
184         }
185 }