Started cleaning up some components
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / am2901 / Am2901ALUFuncDecode.json
1 {
2   "width": 35.0,
3   "height": 60.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 35.0,
8         "y": 5.0
9       },
10       "name": "CinE",
11       "logicWidth": 1,
12       "usage": "OUTPUT"
13     },
14     {
15       "location": {
16         "x": 35.0,
17         "y": 45.0
18       },
19       "name": "FN",
20       "logicWidth": 1,
21       "usage": "OUTPUT"
22     },
23     {
24       "location": {
25         "x": 0.0,
26         "y": 10.0
27       },
28       "name": "I",
29       "logicWidth": 3,
30       "usage": "INPUT"
31     },
32     {
33       "location": {
34         "x": 35.0,
35         "y": 15.0
36       },
37       "name": "L",
38       "logicWidth": 1,
39       "usage": "OUTPUT"
40     },
41     {
42       "location": {
43         "x": 35.0,
44         "y": 55.0
45       },
46       "name": "RN",
47       "logicWidth": 1,
48       "usage": "OUTPUT"
49     },
50     {
51       "location": {
52         "x": 35.0,
53         "y": 35.0
54       },
55       "name": "SBE",
56       "logicWidth": 1,
57       "usage": "OUTPUT"
58     },
59     {
60       "location": {
61         "x": 35.0,
62         "y": 25.0
63       },
64       "name": "SN",
65       "logicWidth": 1,
66       "usage": "OUTPUT"
67     }
68   ],
69   "innerScale": 0.25,
70   "submodel": {
71     "components": [
72       {
73         "id": "NandGate",
74         "name": "NandGate#0",
75         "pos": {
76           "x": 30.0,
77           "y": 10.0
78         },
79         "params": 1
80       },
81       {
82         "id": "NandGate",
83         "name": "NandGate#1",
84         "pos": {
85           "x": 30.0,
86           "y": 65.0
87         },
88         "params": 1
89       },
90       {
91         "id": "NandGate",
92         "name": "NandGate#2",
93         "pos": {
94           "x": 70.0,
95           "y": 60.0
96         },
97         "params": 1
98       },
99       {
100         "id": "NandGate",
101         "name": "NandGate#3",
102         "pos": {
103           "x": 70.0,
104           "y": 115.0
105         },
106         "params": 1
107       },
108       {
109         "id": "NandGate",
110         "name": "NandGate#4",
111         "pos": {
112           "x": 115.0,
113           "y": 50.0
114         },
115         "params": 1
116       },
117       {
118         "id": "Splitter",
119         "name": "Splitter#0",
120         "pos": {
121           "x": 5.0,
122           "y": 30.0
123         },
124         "params": {
125           "logicWidth": 3,
126           "orientation": "RIGHT"
127         }
128       },
129       {
130         "id": "WireCrossPoint",
131         "name": "WireCrossPoint#0",
132         "pos": {
133           "x": 24.0,
134           "y": 39.0
135         },
136         "params": 1
137       },
138       {
139         "id": "WireCrossPoint",
140         "name": "WireCrossPoint#1",
141         "pos": {
142           "x": 19.0,
143           "y": 24.0
144         },
145         "params": 1
146       },
147       {
148         "id": "WireCrossPoint",
149         "name": "WireCrossPoint#2",
150         "pos": {
151           "x": 19.0,
152           "y": 44.0
153         },
154         "params": 1
155       },
156       {
157         "id": "WireCrossPoint",
158         "name": "WireCrossPoint#3",
159         "pos": {
160           "x": 24.0,
161           "y": 69.0
162         },
163         "params": 1
164       },
165       {
166         "id": "WireCrossPoint",
167         "name": "WireCrossPoint#4",
168         "pos": {
169           "x": 24.0,
170           "y": 79.0
171         },
172         "params": 1
173       },
174       {
175         "id": "WireCrossPoint",
176         "name": "WireCrossPoint#5",
177         "pos": {
178           "x": 24.0,
179           "y": 99.0
180         },
181         "params": 1
182       },
183       {
184         "id": "WireCrossPoint",
185         "name": "WireCrossPoint#6",
186         "pos": {
187           "x": 64.0,
188           "y": 119.0
189         },
190         "params": 1
191       },
192       {
193         "id": "WireCrossPoint",
194         "name": "WireCrossPoint#7",
195         "pos": {
196           "x": 64.0,
197           "y": 49.0
198         },
199         "params": 1
200       },
201       {
202         "id": "WireCrossPoint",
203         "name": "WireCrossPoint#8",
204         "pos": {
205           "x": 54.0,
206           "y": 19.0
207         },
208         "params": 1
209       },
210       {
211         "id": "WireCrossPoint",
212         "name": "WireCrossPoint#9",
213         "pos": {
214           "x": 54.0,
215           "y": 29.0
216         },
217         "params": 1
218       },
219       {
220         "id": "WireCrossPoint",
221         "name": "WireCrossPoint#10",
222         "pos": {
223           "x": 19.0,
224           "y": 29.0
225         },
226         "params": 1
227       },
228       {
229         "id": "and",
230         "name": "and#0",
231         "pos": {
232           "x": 110.0,
233           "y": 135.0
234         }
235       },
236       {
237         "id": "nand3",
238         "name": "nand3#0",
239         "pos": {
240           "x": 70.0,
241           "y": 25.0
242         }
243       }
244     ],
245     "wires": [
246       {
247         "pin1": {
248           "compName": "_submodelinterface",
249           "pinName": "I"
250         },
251         "pin2": {
252           "compName": "Splitter#0",
253           "pinName": "I"
254         },
255         "name": "unnamedWire#0",
256         "path": []
257       },
258       {
259         "pin1": {
260           "compName": "WireCrossPoint#1",
261           "pinName": ""
262         },
263         "pin2": {
264           "compName": "NandGate#0",
265           "pinName": "A"
266         },
267         "name": "unnamedWire#1",
268         "path": [
269           {
270             "x": 20.0,
271             "y": 15.0
272           }
273         ]
274       },
275       {
276         "pin1": {
277           "compName": "WireCrossPoint#3",
278           "pinName": ""
279         },
280         "pin2": {
281           "compName": "WireCrossPoint#0",
282           "pinName": ""
283         },
284         "name": "unnamedWire#2",
285         "path": []
286       },
287       {
288         "pin1": {
289           "compName": "WireCrossPoint#2",
290           "pinName": ""
291         },
292         "pin2": {
293           "compName": "WireCrossPoint#10",
294           "pinName": ""
295         },
296         "name": "unnamedWire#3",
297         "path": []
298       },
299       {
300         "pin1": {
301           "compName": "WireCrossPoint#1",
302           "pinName": ""
303         },
304         "pin2": {
305           "compName": "NandGate#0",
306           "pinName": "B"
307         },
308         "name": "unnamedWire#4",
309         "path": []
310       },
311       {
312         "pin1": {
313           "compName": "WireCrossPoint#2",
314           "pinName": ""
315         },
316         "pin2": {
317           "compName": "NandGate#2",
318           "pinName": "A"
319         },
320         "name": "unnamedWire#5",
321         "path": [
322           {
323             "x": 60.0,
324             "y": 45.0
325           },
326           {
327             "x": 60.0,
328             "y": 65.0
329           }
330         ]
331       },
332       {
333         "pin1": {
334           "compName": "WireCrossPoint#2",
335           "pinName": ""
336         },
337         "pin2": {
338           "compName": "_submodelinterface",
339           "pinName": "FN"
340         },
341         "name": "unnamedWire#6",
342         "path": [
343           {
344             "x": 20.0,
345             "y": 180.0
346           }
347         ]
348       },
349       {
350         "pin1": {
351           "compName": "Splitter#0",
352           "pinName": "O0"
353         },
354         "pin2": {
355           "compName": "WireCrossPoint#7",
356           "pinName": ""
357         },
358         "name": "unnamedWire#7",
359         "path": []
360       },
361       {
362         "pin1": {
363           "compName": "WireCrossPoint#9",
364           "pinName": ""
365         },
366         "pin2": {
367           "compName": "nand3#0",
368           "pinName": "A"
369         },
370         "name": "unnamedWire#8",
371         "path": []
372       },
373       {
374         "pin1": {
375           "compName": "WireCrossPoint#0",
376           "pinName": ""
377         },
378         "pin2": {
379           "compName": "nand3#0",
380           "pinName": "B"
381         },
382         "name": "unnamedWire#9",
383         "path": []
384       },
385       {
386         "pin1": {
387           "compName": "WireCrossPoint#3",
388           "pinName": ""
389         },
390         "pin2": {
391           "compName": "NandGate#1",
392           "pinName": "A"
393         },
394         "name": "unnamedWire#10",
395         "path": []
396       },
397       {
398         "pin1": {
399           "compName": "WireCrossPoint#3",
400           "pinName": ""
401         },
402         "pin2": {
403           "compName": "WireCrossPoint#4",
404           "pinName": ""
405         },
406         "name": "unnamedWire#11",
407         "path": []
408       },
409       {
410         "pin1": {
411           "compName": "WireCrossPoint#4",
412           "pinName": ""
413         },
414         "pin2": {
415           "compName": "NandGate#1",
416           "pinName": "B"
417         },
418         "name": "unnamedWire#12",
419         "path": []
420       },
421       {
422         "pin1": {
423           "compName": "WireCrossPoint#4",
424           "pinName": ""
425         },
426         "pin2": {
427           "compName": "WireCrossPoint#5",
428           "pinName": ""
429         },
430         "name": "unnamedWire#13",
431         "path": []
432       },
433       {
434         "pin1": {
435           "compName": "WireCrossPoint#5",
436           "pinName": ""
437         },
438         "pin2": {
439           "compName": "NandGate#3",
440           "pinName": "B"
441         },
442         "name": "unnamedWire#14",
443         "path": [
444           {
445             "x": 25.0,
446             "y": 130.0
447           }
448         ]
449       },
450       {
451         "pin1": {
452           "compName": "WireCrossPoint#5",
453           "pinName": ""
454         },
455         "pin2": {
456           "compName": "_submodelinterface",
457           "pinName": "SN"
458         },
459         "name": "unnamedWire#15",
460         "path": []
461       },
462       {
463         "pin1": {
464           "compName": "WireCrossPoint#7",
465           "pinName": ""
466         },
467         "pin2": {
468           "compName": "nand3#0",
469           "pinName": "C"
470         },
471         "name": "unnamedWire#16",
472         "path": []
473       },
474       {
475         "pin1": {
476           "compName": "WireCrossPoint#6",
477           "pinName": ""
478         },
479         "pin2": {
480           "compName": "_submodelinterface",
481           "pinName": "RN"
482         },
483         "name": "unnamedWire#17",
484         "path": [
485           {
486             "x": 65.0,
487             "y": 220.0
488           }
489         ]
490       },
491       {
492         "pin1": {
493           "compName": "WireCrossPoint#6",
494           "pinName": ""
495         },
496         "pin2": {
497           "compName": "WireCrossPoint#7",
498           "pinName": ""
499         },
500         "name": "unnamedWire#18",
501         "path": []
502       },
503       {
504         "pin1": {
505           "compName": "WireCrossPoint#6",
506           "pinName": ""
507         },
508         "pin2": {
509           "compName": "NandGate#3",
510           "pinName": "A"
511         },
512         "name": "unnamedWire#19",
513         "path": []
514       },
515       {
516         "pin1": {
517           "compName": "NandGate#0",
518           "pinName": "Y"
519         },
520         "pin2": {
521           "compName": "WireCrossPoint#8",
522           "pinName": ""
523         },
524         "name": "unnamedWire#20",
525         "path": []
526       },
527       {
528         "pin1": {
529           "compName": "WireCrossPoint#8",
530           "pinName": ""
531         },
532         "pin2": {
533           "compName": "_submodelinterface",
534           "pinName": "CinE"
535         },
536         "name": "unnamedWire#21",
537         "path": [
538           {
539             "x": 55.0,
540             "y": 5.0
541           },
542           {
543             "x": 130.0,
544             "y": 5.0
545           },
546           {
547             "x": 130.0,
548             "y": 20.0
549           }
550         ]
551       },
552       {
553         "pin1": {
554           "compName": "WireCrossPoint#8",
555           "pinName": ""
556         },
557         "pin2": {
558           "compName": "WireCrossPoint#9",
559           "pinName": ""
560         },
561         "name": "unnamedWire#22",
562         "path": []
563       },
564       {
565         "pin1": {
566           "compName": "WireCrossPoint#9",
567           "pinName": ""
568         },
569         "pin2": {
570           "compName": "and#0",
571           "pinName": "B"
572         },
573         "name": "unnamedWire#23",
574         "path": [
575           {
576             "x": 55.0,
577             "y": 150.0
578           }
579         ]
580       },
581       {
582         "pin1": {
583           "compName": "NandGate#1",
584           "pinName": "Y"
585         },
586         "pin2": {
587           "compName": "NandGate#2",
588           "pinName": "B"
589         },
590         "name": "unnamedWire#24",
591         "path": []
592       },
593       {
594         "pin1": {
595           "compName": "nand3#0",
596           "pinName": "Y"
597         },
598         "pin2": {
599           "compName": "NandGate#4",
600           "pinName": "A"
601         },
602         "name": "unnamedWire#25",
603         "path": [
604           {
605             "x": 110.0,
606             "y": 30.0
607           },
608           {
609             "x": 110.0,
610             "y": 55.0
611           }
612         ]
613       },
614       {
615         "pin1": {
616           "compName": "NandGate#2",
617           "pinName": "Y"
618         },
619         "pin2": {
620           "compName": "NandGate#4",
621           "pinName": "B"
622         },
623         "name": "unnamedWire#26",
624         "path": [
625           {
626             "x": 110.0,
627             "y": 70.0
628           },
629           {
630             "x": 110.0,
631             "y": 65.0
632           }
633         ]
634       },
635       {
636         "pin1": {
637           "compName": "NandGate#3",
638           "pinName": "Y"
639         },
640         "pin2": {
641           "compName": "and#0",
642           "pinName": "A"
643         },
644         "name": "unnamedWire#27"
645       },
646       {
647         "pin1": {
648           "compName": "NandGate#4",
649           "pinName": "Y"
650         },
651         "pin2": {
652           "compName": "_submodelinterface",
653           "pinName": "L"
654         },
655         "name": "unnamedWire#28",
656         "path": []
657       },
658       {
659         "pin1": {
660           "compName": "and#0",
661           "pinName": "Y"
662         },
663         "pin2": {
664           "compName": "_submodelinterface",
665           "pinName": "SBE"
666         },
667         "name": "unnamedWire#29",
668         "path": []
669       },
670       {
671         "pin1": {
672           "compName": "Splitter#0",
673           "pinName": "O2"
674         },
675         "pin2": {
676           "compName": "WireCrossPoint#10",
677           "pinName": ""
678         },
679         "name": "unnamedWire#30",
680         "path": []
681       },
682       {
683         "pin1": {
684           "compName": "Splitter#0",
685           "pinName": "O1"
686         },
687         "pin2": {
688           "compName": "WireCrossPoint#0",
689           "pinName": ""
690         },
691         "name": "unnamedWire#31",
692         "path": []
693       },
694       {
695         "pin1": {
696           "compName": "WireCrossPoint#10",
697           "pinName": ""
698         },
699         "pin2": {
700           "compName": "WireCrossPoint#1",
701           "pinName": ""
702         },
703         "name": "unnamedWire#32",
704         "path": []
705       }
706     ],
707     "version": "0.1.1"
708   },
709   "symbolRendererSnippetID": "simpleRectangularLike",
710   "symbolRendererParams": {
711     "centerText": "Function\ndecode",
712     "centerTextHeight": 5.0,
713     "horizontalComponentCenter": 17.5,
714     "pinLabelHeight": 3.5,
715     "pinLabelMargin": 0.5
716   },
717   "outlineRendererSnippetID": "default",
718   "highLevelStateHandlerSnippetID": "default",
719   "version": "0.1.5"
720 }