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