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