Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.editor / components / GUIhalfadder.json
1 mograsim version: 0.1.3
2 {
3         "width": 35.0,
4         "height": 20.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": 35.0,
25                                 "y": 5.0
26                         },
27                         "name": "Y",
28                         "logicWidth": 1
29                 },
30                 {
31                         "location": {
32                                 "x": 35.0,
33                                 "y": 15.0
34                         },
35                         "name": "_Z",
36                         "logicWidth": 1
37                 }
38         ],
39         "submodel": {
40                 "innerScale": 0.4,
41                 "subComps": [
42                         {
43                                 "pos": {
44                                         "x": 10.0,
45                                         "y": 15.0
46                                 },
47                                 "id": "GUINandGate",
48                                 "params": 1
49                         },
50                         {
51                                 "pos": {
52                                         "x": 40.0,
53                                         "y": 2.5
54                                 },
55                                 "id": "GUINandGate",
56                                 "params": 1
57                         },
58                         {
59                                 "pos": {
60                                         "x": 40.0,
61                                         "y": 27.5
62                                 },
63                                 "id": "GUINandGate",
64                                 "params": 1
65                         },
66                         {
67                                 "pos": {
68                                         "x": 65.0,
69                                         "y": 2.5
70                                 },
71                                 "id": "GUINandGate",
72                                 "params": 1
73                         },
74                         {
75                                 "pos": {
76                                         "x": 4.0,
77                                         "y": 11.5
78                                 },
79                                 "id": "WireCrossPoint",
80                                 "params": 1
81                         },
82                         {
83                                 "pos": {
84                                         "x": 4.0,
85                                         "y": 36.5
86                                 },
87                                 "id": "WireCrossPoint",
88                                 "params": 1
89                         },
90                         {
91                                 "pos": {
92                                         "x": 34.0,
93                                         "y": 24.0
94                                 },
95                                 "id": "WireCrossPoint",
96                                 "params": 1
97                         }
98                 ],
99                 "innerWires": [
100                         {
101                                 "pin1": {
102                                         "compId": 0,
103                                         "pinName": "A"
104                                 },
105                                 "pin2": {
106                                         "compId": 5,
107                                         "pinName": ""
108                                 },
109                                 "path": []
110                         },
111                         {
112                                 "pin1": {
113                                         "compId": 5,
114                                         "pinName": ""
115                                 },
116                                 "pin2": {
117                                         "compId": 2,
118                                         "pinName": "A"
119                                 },
120                                 "path": [
121                                         {
122                                                 "x": 5.0,
123                                                 "y": 7.5
124                                         }
125                                 ]
126                         },
127                         {
128                                 "pin1": {
129                                         "compId": 5,
130                                         "pinName": ""
131                                 },
132                                 "pin2": {
133                                         "compId": 1,
134                                         "pinName": "A"
135                                 },
136                                 "path": [
137                                         {
138                                                 "x": 5.0,
139                                                 "y": 20.0
140                                         }
141                                 ]
142                         },
143                         {
144                                 "pin1": {
145                                         "compId": 0,
146                                         "pinName": "B"
147                                 },
148                                 "pin2": {
149                                         "compId": 6,
150                                         "pinName": ""
151                                 },
152                                 "path": []
153                         },
154                         {
155                                 "pin1": {
156                                         "compId": 6,
157                                         "pinName": ""
158                                 },
159                                 "pin2": {
160                                         "compId": 3,
161                                         "pinName": "B"
162                                 },
163                                 "path": [
164                                         {
165                                                 "x": 5.0,
166                                                 "y": 42.5
167                                         }
168                                 ]
169                         },
170                         {
171                                 "pin1": {
172                                         "compId": 6,
173                                         "pinName": ""
174                                 },
175                                 "pin2": {
176                                         "compId": 1,
177                                         "pinName": "B"
178                                 },
179                                 "path": [
180                                         {
181                                                 "x": 5.0,
182                                                 "y": 30.0
183                                         }
184                                 ]
185                         },
186                         {
187                                 "pin1": {
188                                         "compId": 1,
189                                         "pinName": "Y"
190                                 },
191                                 "pin2": {
192                                         "compId": 7,
193                                         "pinName": ""
194                                 },
195                                 "path": []
196                         },
197                         {
198                                 "pin1": {
199                                         "compId": 7,
200                                         "pinName": ""
201                                 },
202                                 "pin2": {
203                                         "compId": 0,
204                                         "pinName": "_Z"
205                                 },
206                                 "path": [
207                                         {
208                                                 "x": 80.0,
209                                                 "y": 25.0
210                                         },
211                                         {
212                                                 "x": 80.0,
213                                                 "y": 37.5
214                                         }
215                                 ]
216                         },
217                         {
218                                 "pin1": {
219                                         "compId": 7,
220                                         "pinName": ""
221                                 },
222                                 "pin2": {
223                                         "compId": 2,
224                                         "pinName": "B"
225                                 },
226                                 "path": [
227                                         {
228                                                 "x": 35.0,
229                                                 "y": 17.5
230                                         }
231                                 ]
232                         },
233                         {
234                                 "pin1": {
235                                         "compId": 7,
236                                         "pinName": ""
237                                 },
238                                 "pin2": {
239                                         "compId": 3,
240                                         "pinName": "A"
241                                 },
242                                 "path": [
243                                         {
244                                                 "x": 35.0,
245                                                 "y": 32.5
246                                         }
247                                 ]
248                         },
249                         {
250                                 "pin1": {
251                                         "compId": 2,
252                                         "pinName": "Y"
253                                 },
254                                 "pin2": {
255                                         "compId": 4,
256                                         "pinName": "A"
257                                 },
258                                 "path": [
259                                         {
260                                                 "x": 62.5,
261                                                 "y": 12.5
262                                         },
263                                         {
264                                                 "x": 62.5,
265                                                 "y": 7.5
266                                         }
267                                 ]
268                         },
269                         {
270                                 "pin1": {
271                                         "compId": 3,
272                                         "pinName": "Y"
273                                 },
274                                 "pin2": {
275                                         "compId": 4,
276                                         "pinName": "B"
277                                 },
278                                 "path": [
279                                         {
280                                                 "x": 62.5,
281                                                 "y": 37.5
282                                         },
283                                         {
284                                                 "x": 62.5,
285                                                 "y": 17.5
286                                         }
287                                 ]
288                         },
289                         {
290                                 "pin1": {
291                                         "compId": 4,
292                                         "pinName": "Y"
293                                 },
294                                 "pin2": {
295                                         "compId": 0,
296                                         "pinName": "Y"
297                                 },
298                                 "path": []
299                         }
300                 ]
301         },
302         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
303         "symbolRendererParams": {
304                 "centerText": "GUIhalfadder",
305                 "horizontalComponentCenter": 17.5,
306                 "centerTextHeight": 5.0,
307                 "pinLabelHeight": 3.5,
308                 "pinLabelMargin": 0.5
309         }
310 }