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