Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.editor / components / am2901 / GUIAm2901ALUOneBit.json
1 mograsim version: 0.1.3
2 {
3         "width": 35.0,
4         "height": 90.0,
5         "interfacePins": [
6                 {
7                         "location": {
8                                 "x": 0.0,
9                                 "y": 35.0
10                         },
11                         "name": "R",
12                         "logicWidth": 1
13                 },
14                 {
15                         "location": {
16                                 "x": 0.0,
17                                 "y": 55.0
18                         },
19                         "name": "S",
20                         "logicWidth": 1
21                 },
22                 {
23                         "location": {
24                                 "x": 35.0,
25                                 "y": 15.0
26                         },
27                         "name": "F",
28                         "logicWidth": 1
29                 },
30                 {
31                         "location": {
32                                 "x": 0.0,
33                                 "y": 75.0
34                         },
35                         "name": "FN",
36                         "logicWidth": 1
37                 },
38                 {
39                         "location": {
40                                 "x": 0.0,
41                                 "y": 5.0
42                         },
43                         "name": "Cin",
44                         "logicWidth": 1
45                 },
46                 {
47                         "location": {
48                                 "x": 0.0,
49                                 "y": 65.0
50                         },
51                         "name": "SN",
52                         "logicWidth": 1
53                 },
54                 {
55                         "location": {
56                                 "x": 35.0,
57                                 "y": 5.0
58                         },
59                         "name": "Cout",
60                         "logicWidth": 1
61                 },
62                 {
63                         "location": {
64                                 "x": 0.0,
65                                 "y": 45.0
66                         },
67                         "name": "RN",
68                         "logicWidth": 1
69                 },
70                 {
71                         "location": {
72                                 "x": 0.0,
73                                 "y": 85.0
74                         },
75                         "name": "L",
76                         "logicWidth": 1
77                 },
78                 {
79                         "location": {
80                                 "x": 0.0,
81                                 "y": 25.0
82                         },
83                         "name": "CinE",
84                         "logicWidth": 1
85                 },
86                 {
87                         "location": {
88                                 "x": 0.0,
89                                 "y": 15.0
90                         },
91                         "name": "CoutE",
92                         "logicWidth": 1
93                 }
94         ],
95         "submodel": {
96                 "innerScale": 0.2,
97                 "subComps": [
98                         {
99                                 "pos": {
100                                         "x": 10.0,
101                                         "y": 20.0
102                                 },
103                                 "id": "GUIand"
104                         },
105                         {
106                                 "pos": {
107                                         "x": 10.0,
108                                         "y": 190.0
109                                 },
110                                 "id": "GUIxor"
111                         },
112                         {
113                                 "pos": {
114                                         "x": 10.0,
115                                         "y": 290.0
116                                 },
117                                 "id": "GUIxor"
118                         },
119                         {
120                                 "pos": {
121                                         "x": 60.0,
122                                         "y": 20.0
123                                 },
124                                 "id": "GUIfulladder"
125                         },
126                         {
127                                 "pos": {
128                                         "x": 60.0,
129                                         "y": 55.0
130                                 },
131                                 "id": "GUINandGate",
132                                 "params": 1
133                         },
134                         {
135                                 "pos": {
136                                         "x": 135.0,
137                                         "y": 20.0
138                                 },
139                                 "id": "GUIand"
140                         },
141                         {
142                                 "pos": {
143                                         "x": 90.0,
144                                         "y": 70.0
145                                 },
146                                 "id": "GUImux1"
147                         },
148                         {
149                                 "pos": {
150                                         "x": 135.0,
151                                         "y": 70.0
152                                 },
153                                 "id": "GUIxor"
154                         },
155                         {
156                                 "pos": {
157                                         "x": 49.0,
158                                         "y": 59.0
159                                 },
160                                 "id": "WireCrossPoint",
161                                 "params": 1
162                         },
163                         {
164                                 "pos": {
165                                         "x": 54.0,
166                                         "y": 69.0
167                                 },
168                                 "id": "WireCrossPoint",
169                                 "params": 1
170                         }
171                 ],
172                 "innerWires": [
173                         {
174                                 "pin1": {
175                                         "compId": 0,
176                                         "pinName": "Cin"
177                                 },
178                                 "pin2": {
179                                         "compId": 1,
180                                         "pinName": "A"
181                                 },
182                                 "path": []
183                         },
184                         {
185                                 "pin1": {
186                                         "compId": 0,
187                                         "pinName": "CoutE"
188                                 },
189                                 "pin2": {
190                                         "compId": 6,
191                                         "pinName": "A"
192                                 },
193                                 "path": [
194                                         {
195                                                 "x": 5.0,
196                                                 "y": 75.0
197                                         },
198                                         {
199                                                 "x": 5.0,
200                                                 "y": 10.0
201                                         },
202                                         {
203                                                 "x": 130.0,
204                                                 "y": 10.0
205                                         },
206                                         {
207                                                 "x": 130.0,
208                                                 "y": 25.0
209                                         }
210                                 ]
211                         },
212                         {
213                                 "pin1": {
214                                         "compId": 0,
215                                         "pinName": "CinE"
216                                 },
217                                 "pin2": {
218                                         "compId": 1,
219                                         "pinName": "B"
220                                 },
221                                 "path": [
222                                         {
223                                                 "x": 7.5,
224                                                 "y": 125.0
225                                         },
226                                         {
227                                                 "x": 7.5,
228                                                 "y": 35.0
229                                         }
230                                 ]
231                         },
232                         {
233                                 "pin1": {
234                                         "compId": 0,
235                                         "pinName": "R"
236                                 },
237                                 "pin2": {
238                                         "compId": 2,
239                                         "pinName": "A"
240                                 }
241                         },
242                         {
243                                 "pin1": {
244                                         "compId": 0,
245                                         "pinName": "RN"
246                                 },
247                                 "pin2": {
248                                         "compId": 2,
249                                         "pinName": "B"
250                                 }
251                         },
252                         {
253                                 "pin1": {
254                                         "compId": 0,
255                                         "pinName": "S"
256                                 },
257                                 "pin2": {
258                                         "compId": 3,
259                                         "pinName": "A"
260                                 }
261                         },
262                         {
263                                 "pin1": {
264                                         "compId": 0,
265                                         "pinName": "SN"
266                                 },
267                                 "pin2": {
268                                         "compId": 3,
269                                         "pinName": "B"
270                                 }
271                         },
272                         {
273                                 "pin1": {
274                                         "compId": 0,
275                                         "pinName": "FN"
276                                 },
277                                 "pin2": {
278                                         "compId": 8,
279                                         "pinName": "B"
280                                 },
281                                 "path": [
282                                         {
283                                                 "x": 130.0,
284                                                 "y": 375.0
285                                         },
286                                         {
287                                                 "x": 130.0,
288                                                 "y": 85.0
289                                         }
290                                 ]
291                         },
292                         {
293                                 "pin1": {
294                                         "compId": 0,
295                                         "pinName": "L"
296                                 },
297                                 "pin2": {
298                                         "compId": 7,
299                                         "pinName": "S0"
300                                 },
301                                 "path": [
302                                         {
303                                                 "x": 87.5,
304                                                 "y": 425.0
305                                         },
306                                         {
307                                                 "x": 87.5,
308                                                 "y": 75.0
309                                         }
310                                 ]
311                         },
312                         {
313                                 "pin1": {
314                                         "compId": 1,
315                                         "pinName": "Y"
316                                 },
317                                 "pin2": {
318                                         "compId": 4,
319                                         "pinName": "A"
320                                 },
321                                 "path": []
322                         },
323                         {
324                                 "pin1": {
325                                         "compId": 2,
326                                         "pinName": "Y"
327                                 },
328                                 "pin2": {
329                                         "compId": 9,
330                                         "pinName": ""
331                                 },
332                                 "path": [
333                                         {
334                                                 "x": 50.0,
335                                                 "y": 195.0
336                                         }
337                                 ]
338                         },
339                         {
340                                 "pin1": {
341                                         "compId": 9,
342                                         "pinName": ""
343                                 },
344                                 "pin2": {
345                                         "compId": 4,
346                                         "pinName": "B"
347                                 },
348                                 "path": [
349                                         {
350                                                 "x": 50.0,
351                                                 "y": 35.0
352                                         }
353                                 ]
354                         },
355                         {
356                                 "pin1": {
357                                         "compId": 9,
358                                         "pinName": ""
359                                 },
360                                 "pin2": {
361                                         "compId": 5,
362                                         "pinName": "A"
363                                 },
364                                 "path": []
365                         },
366                         {
367                                 "pin1": {
368                                         "compId": 3,
369                                         "pinName": "Y"
370                                 },
371                                 "pin2": {
372                                         "compId": 10,
373                                         "pinName": ""
374                                 },
375                                 "path": [
376                                         {
377                                                 "x": 55.0,
378                                                 "y": 295.0
379                                         }
380                                 ]
381                         },
382                         {
383                                 "pin1": {
384                                         "compId": 10,
385                                         "pinName": ""
386                                 },
387                                 "pin2": {
388                                         "compId": 4,
389                                         "pinName": "C"
390                                 },
391                                 "path": [
392                                         {
393                                                 "x": 55.0,
394                                                 "y": 45.0
395                                         }
396                                 ]
397                         },
398                         {
399                                 "pin1": {
400                                         "compId": 10,
401                                         "pinName": ""
402                                 },
403                                 "pin2": {
404                                         "compId": 5,
405                                         "pinName": "B"
406                                 },
407                                 "path": []
408                         },
409                         {
410                                 "pin1": {
411                                         "compId": 4,
412                                         "pinName": "Y"
413                                 },
414                                 "pin2": {
415                                         "compId": 7,
416                                         "pinName": "I0"
417                                 },
418                                 "path": [
419                                         {
420                                                 "x": 100.0,
421                                                 "y": 25.0
422                                         },
423                                         {
424                                                 "x": 100.0,
425                                                 "y": 65.0
426                                         },
427                                         {
428                                                 "x": 85.0,
429                                                 "y": 65.0
430                                         },
431                                         {
432                                                 "x": 85.0,
433                                                 "y": 85.0
434                                         }
435                                 ]
436                         },
437                         {
438                                 "pin1": {
439                                         "compId": 4,
440                                         "pinName": "Z"
441                                 },
442                                 "pin2": {
443                                         "compId": 6,
444                                         "pinName": "B"
445                                 },
446                                 "path": []
447                         },
448                         {
449                                 "pin1": {
450                                         "compId": 5,
451                                         "pinName": "Y"
452                                 },
453                                 "pin2": {
454                                         "compId": 7,
455                                         "pinName": "I1"
456                                 },
457                                 "path": [
458                                         {
459                                                 "x": 82.5,
460                                                 "y": 65.0
461                                         },
462                                         {
463                                                 "x": 82.5,
464                                                 "y": 95.0
465                                         }
466                                 ]
467                         },
468                         {
469                                 "pin1": {
470                                         "compId": 7,
471                                         "pinName": "Y"
472                                 },
473                                 "pin2": {
474                                         "compId": 8,
475                                         "pinName": "A"
476                                 },
477                                 "path": []
478                         },
479                         {
480                                 "pin1": {
481                                         "compId": 6,
482                                         "pinName": "Y"
483                                 },
484                                 "pin2": {
485                                         "compId": 0,
486                                         "pinName": "Cout"
487                                 },
488                                 "path": []
489                         },
490                         {
491                                 "pin1": {
492                                         "compId": 8,
493                                         "pinName": "Y"
494                                 },
495                                 "pin2": {
496                                         "compId": 0,
497                                         "pinName": "F"
498                                 },
499                                 "path": []
500                         }
501                 ]
502         },
503         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
504         "symbolRendererParams": {
505                 "centerText": "GUIAm2901ALUOneBit",
506                 "horizontalComponentCenter": 17.5,
507                 "centerTextHeight": 5.0,
508                 "pinLabelHeight": 3.5,
509                 "pinLabelMargin": 0.5
510         }
511 }