Merge remote-tracking branch 'origin/development' into development
[Mograsim.git] / net.mograsim.logic.model.am2900 / 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         "id": "GUINandGate",
100         "name": "GUINandGate#0",
101         "pos": {
102           "x": 60.0,
103           "y": 55.0
104         },
105         "params": 1
106       },
107       {
108         "id": "WireCrossPoint",
109         "name": "WireCrossPoint#1",
110         "pos": {
111           "x": 54.0,
112           "y": 69.0
113         },
114         "params": 1
115       },
116       {
117         "id": "WireCrossPoint",
118         "name": "WireCrossPoint#0",
119         "pos": {
120           "x": 49.0,
121           "y": 59.0
122         },
123         "params": 1
124       },
125       {
126         "id": "GUImux1",
127         "name": "GUImux1#0",
128         "pos": {
129           "x": 90.0,
130           "y": 70.0
131         }
132       },
133       {
134         "id": "GUIand",
135         "name": "GUIand#0",
136         "pos": {
137           "x": 10.0,
138           "y": 20.0
139         }
140       },
141       {
142         "id": "GUIxor",
143         "name": "GUIxor#1",
144         "pos": {
145           "x": 10.0,
146           "y": 290.0
147         }
148       },
149       {
150         "id": "GUIxor",
151         "name": "GUIxor#2",
152         "pos": {
153           "x": 135.0,
154           "y": 70.0
155         }
156       },
157       {
158         "id": "GUIfulladder",
159         "name": "GUIfulladder#0",
160         "pos": {
161           "x": 60.0,
162           "y": 20.0
163         }
164       },
165       {
166         "id": "GUIxor",
167         "name": "GUIxor#0",
168         "pos": {
169           "x": 10.0,
170           "y": 190.0
171         }
172       },
173       {
174         "id": "GUIand",
175         "name": "GUIand#1",
176         "pos": {
177           "x": 135.0,
178           "y": 20.0
179         }
180       }
181     ],
182     "innerWires": [
183       {
184         "pin1": {
185           "compName": "WireCrossPoint#1",
186           "pinName": ""
187         },
188         "pin2": {
189           "compName": "GUIfulladder#0",
190           "pinName": "C"
191         },
192         "name": "unnamedWire#14",
193         "path": [
194           {
195             "x": 55.0,
196             "y": 45.0
197           }
198         ]
199       },
200       {
201         "pin1": {
202           "compName": "GUIxor#1",
203           "pinName": "Y"
204         },
205         "pin2": {
206           "compName": "WireCrossPoint#1",
207           "pinName": ""
208         },
209         "name": "unnamedWire#13",
210         "path": [
211           {
212             "x": 55.0,
213             "y": 295.0
214           }
215         ]
216       },
217       {
218         "pin1": {
219           "compName": "GUIfulladder#0",
220           "pinName": "Y"
221         },
222         "pin2": {
223           "compName": "GUImux1#0",
224           "pinName": "I0"
225         },
226         "name": "unnamedWire#16",
227         "path": [
228           {
229             "x": 100.0,
230             "y": 25.0
231           },
232           {
233             "x": 100.0,
234             "y": 65.0
235           },
236           {
237             "x": 85.0,
238             "y": 65.0
239           },
240           {
241             "x": 85.0,
242             "y": 85.0
243           }
244         ]
245       },
246       {
247         "pin1": {
248           "compName": "WireCrossPoint#1",
249           "pinName": ""
250         },
251         "pin2": {
252           "compName": "GUINandGate#0",
253           "pinName": "B"
254         },
255         "name": "unnamedWire#15",
256         "path": []
257       },
258       {
259         "pin1": {
260           "compName": "GUINandGate#0",
261           "pinName": "Y"
262         },
263         "pin2": {
264           "compName": "GUImux1#0",
265           "pinName": "I1"
266         },
267         "name": "unnamedWire#18",
268         "path": [
269           {
270             "x": 82.5,
271             "y": 65.0
272           },
273           {
274             "x": 82.5,
275             "y": 95.0
276           }
277         ]
278       },
279       {
280         "pin1": {
281           "compName": "GUIfulladder#0",
282           "pinName": "Z"
283         },
284         "pin2": {
285           "compName": "GUIand#1",
286           "pinName": "B"
287         },
288         "name": "unnamedWire#17",
289         "path": []
290       },
291       {
292         "pin1": {
293           "compName": "GUImux1#0",
294           "pinName": "Y"
295         },
296         "pin2": {
297           "compName": "GUIxor#2",
298           "pinName": "A"
299         },
300         "name": "unnamedWire#19",
301         "path": []
302       },
303       {
304         "pin1": {
305           "compName": "GUIand#0",
306           "pinName": "Y"
307         },
308         "pin2": {
309           "compName": "GUIfulladder#0",
310           "pinName": "A"
311         },
312         "name": "unnamedWire#9",
313         "path": []
314       },
315       {
316         "pin1": {
317           "compName": "_submodelinterface",
318           "pinName": "L"
319         },
320         "pin2": {
321           "compName": "GUImux1#0",
322           "pinName": "S0"
323         },
324         "name": "unnamedWire#8",
325         "path": [
326           {
327             "x": 87.5,
328             "y": 425.0
329           },
330           {
331             "x": 87.5,
332             "y": 75.0
333           }
334         ]
335       },
336       {
337         "pin1": {
338           "compName": "_submodelinterface",
339           "pinName": "FN"
340         },
341         "pin2": {
342           "compName": "GUIxor#2",
343           "pinName": "B"
344         },
345         "name": "unnamedWire#7",
346         "path": [
347           {
348             "x": 130.0,
349             "y": 375.0
350           },
351           {
352             "x": 130.0,
353             "y": 85.0
354           }
355         ]
356       },
357       {
358         "pin1": {
359           "compName": "_submodelinterface",
360           "pinName": "SN"
361         },
362         "pin2": {
363           "compName": "GUIxor#1",
364           "pinName": "B"
365         },
366         "name": "unnamedWire#6"
367       },
368       {
369         "pin1": {
370           "compName": "_submodelinterface",
371           "pinName": "CoutE"
372         },
373         "pin2": {
374           "compName": "GUIand#1",
375           "pinName": "A"
376         },
377         "name": "unnamedWire#1",
378         "path": [
379           {
380             "x": 5.0,
381             "y": 75.0
382           },
383           {
384             "x": 5.0,
385             "y": 10.0
386           },
387           {
388             "x": 130.0,
389             "y": 10.0
390           },
391           {
392             "x": 130.0,
393             "y": 25.0
394           }
395         ]
396       },
397       {
398         "pin1": {
399           "compName": "_submodelinterface",
400           "pinName": "Cin"
401         },
402         "pin2": {
403           "compName": "GUIand#0",
404           "pinName": "A"
405         },
406         "name": "unnamedWire#0",
407         "path": []
408       },
409       {
410         "pin1": {
411           "compName": "_submodelinterface",
412           "pinName": "S"
413         },
414         "pin2": {
415           "compName": "GUIxor#1",
416           "pinName": "A"
417         },
418         "name": "unnamedWire#5"
419       },
420       {
421         "pin1": {
422           "compName": "GUIxor#0",
423           "pinName": "Y"
424         },
425         "pin2": {
426           "compName": "WireCrossPoint#0",
427           "pinName": ""
428         },
429         "name": "unnamedWire#10",
430         "path": [
431           {
432             "x": 50.0,
433             "y": 195.0
434           }
435         ]
436       },
437       {
438         "pin1": {
439           "compName": "GUIxor#2",
440           "pinName": "Y"
441         },
442         "pin2": {
443           "compName": "_submodelinterface",
444           "pinName": "F"
445         },
446         "name": "unnamedWire#21",
447         "path": []
448       },
449       {
450         "pin1": {
451           "compName": "_submodelinterface",
452           "pinName": "RN"
453         },
454         "pin2": {
455           "compName": "GUIxor#0",
456           "pinName": "B"
457         },
458         "name": "unnamedWire#4"
459       },
460       {
461         "pin1": {
462           "compName": "GUIand#1",
463           "pinName": "Y"
464         },
465         "pin2": {
466           "compName": "_submodelinterface",
467           "pinName": "Cout"
468         },
469         "name": "unnamedWire#20",
470         "path": []
471       },
472       {
473         "pin1": {
474           "compName": "_submodelinterface",
475           "pinName": "R"
476         },
477         "pin2": {
478           "compName": "GUIxor#0",
479           "pinName": "A"
480         },
481         "name": "unnamedWire#3"
482       },
483       {
484         "pin1": {
485           "compName": "WireCrossPoint#0",
486           "pinName": ""
487         },
488         "pin2": {
489           "compName": "GUINandGate#0",
490           "pinName": "A"
491         },
492         "name": "unnamedWire#12",
493         "path": []
494       },
495       {
496         "pin1": {
497           "compName": "_submodelinterface",
498           "pinName": "CinE"
499         },
500         "pin2": {
501           "compName": "GUIand#0",
502           "pinName": "B"
503         },
504         "name": "unnamedWire#2",
505         "path": [
506           {
507             "x": 7.5,
508             "y": 125.0
509           },
510           {
511             "x": 7.5,
512             "y": 35.0
513           }
514         ]
515       },
516       {
517         "pin1": {
518           "compName": "WireCrossPoint#0",
519           "pinName": ""
520         },
521         "pin2": {
522           "compName": "GUIfulladder#0",
523           "pinName": "B"
524         },
525         "name": "unnamedWire#11",
526         "path": [
527           {
528             "x": 50.0,
529             "y": 35.0
530           }
531         ]
532       }
533     ]
534   },
535   "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
536   "symbolRendererParams": {
537     "centerText": "GUIAm2901ALUOneBit",
538     "centerTextHeight": 5.0,
539     "horizontalComponentCenter": 17.5,
540     "pinLabelHeight": 3.5,
541     "pinLabelMargin": 0.5
542   },
543   "outlineRendererSnippetID": "class:net.mograsim.logic.model.snippets.outlinerenderers.DefaultOutlineRenderer"
544 }