Replaced mux1_4_sb with mux1_4 in Am2904muSR
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / am2904 / Am2904muSR.json
1 {
2   "width": 50.0,
3   "height": 65.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 10.0
9       },
10       "name": "C",
11       "logicWidth": 1,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 50.0
18       },
19       "name": "CINV",
20       "logicWidth": 1,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 0.0,
26         "y": 40.0
27       },
28       "name": "I",
29       "logicWidth": 4,
30       "usage": "INPUT"
31     },
32     {
33       "location": {
34         "x": 0.0,
35         "y": 30.0
36       },
37       "name": "M",
38       "logicWidth": 4,
39       "usage": "INPUT"
40     },
41     {
42       "location": {
43         "x": 0.0,
44         "y": 20.0
45       },
46       "name": "MUX",
47       "logicWidth": 2,
48       "usage": "INPUT"
49     },
50     {
51       "location": {
52         "x": 0.0,
53         "y": 60.0
54       },
55       "name": "OVRRET",
56       "logicWidth": 1,
57       "usage": "INPUT"
58     },
59     {
60       "location": {
61         "x": 50.0,
62         "y": 10.0
63       },
64       "name": "Q",
65       "logicWidth": 4,
66       "usage": "OUTPUT"
67     },
68     {
69       "location": {
70         "x": 20.0,
71         "y": 0.0
72       },
73       "name": "_EC",
74       "logicWidth": 1,
75       "usage": "INPUT"
76     },
77     {
78       "location": {
79         "x": 30.0,
80         "y": 0.0
81       },
82       "name": "_EN",
83       "logicWidth": 1,
84       "usage": "INPUT"
85     },
86     {
87       "location": {
88         "x": 40.0,
89         "y": 0.0
90       },
91       "name": "_EOVR",
92       "logicWidth": 1,
93       "usage": "INPUT"
94     },
95     {
96       "location": {
97         "x": 10.0,
98         "y": 0.0
99       },
100       "name": "_EZ",
101       "logicWidth": 1,
102       "usage": "INPUT"
103     }
104   ],
105   "innerScale": 0.2,
106   "submodel": {
107     "components": [
108       {
109         "id": "NandGate",
110         "name": "NandGate#0",
111         "pos": {
112           "x": 195.0,
113           "y": 160.0
114         },
115         "params": 1
116       },
117       {
118         "id": "NandGate",
119         "name": "NandGate#1",
120         "pos": {
121           "x": 165.0,
122           "y": 180.0
123         },
124         "params": 1
125       },
126       {
127         "id": "NandGate",
128         "name": "NandGate#2",
129         "pos": {
130           "x": 165.0,
131           "y": 155.0
132         },
133         "params": 1
134       },
135       {
136         "id": "Splitter",
137         "name": "Splitter#0",
138         "pos": {
139           "x": 65.0,
140           "y": 90.0
141         },
142         "params": {
143           "logicWidth": 4,
144           "orientation": "LEFT"
145         }
146       },
147       {
148         "id": "Splitter",
149         "name": "Splitter#1",
150         "pos": {
151           "x": 145.0,
152           "y": 80.0
153         },
154         "params": {
155           "logicWidth": 4,
156           "orientation": "RIGHT"
157         }
158       },
159       {
160         "id": "Splitter",
161         "name": "Splitter#2",
162         "pos": {
163           "x": 15.0,
164           "y": 95.0
165         },
166         "params": {
167           "logicWidth": 2,
168           "orientation": "RIGHT"
169         }
170       },
171       {
172         "id": "Splitter",
173         "name": "Splitter#3",
174         "pos": {
175           "x": 230.0,
176           "y": 30.0
177         },
178         "params": {
179           "logicWidth": 4,
180           "orientation": "LEFT"
181         }
182       },
183       {
184         "id": "WireCrossPoint",
185         "name": "WireCrossPoint#0",
186         "pos": {
187           "x": 29.0,
188           "y": 119.0
189         },
190         "params": 1
191       },
192       {
193         "id": "WireCrossPoint",
194         "name": "WireCrossPoint#1",
195         "pos": {
196           "x": 59.0,
197           "y": 109.0
198         },
199         "params": 1
200       },
201       {
202         "id": "WireCrossPoint",
203         "name": "WireCrossPoint#2",
204         "pos": {
205           "x": 59.0,
206           "y": 99.0
207         },
208         "params": 1
209       },
210       {
211         "id": "WireCrossPoint",
212         "name": "WireCrossPoint#3",
213         "pos": {
214           "x": 224.0,
215           "y": 59.0
216         },
217         "params": 1
218       },
219       {
220         "id": "WireCrossPoint",
221         "name": "WireCrossPoint#4",
222         "pos": {
223           "x": 159.0,
224           "y": 159.0
225         },
226         "params": 1
227       },
228       {
229         "id": "WireCrossPoint",
230         "name": "WireCrossPoint#5",
231         "pos": {
232           "x": 59.0,
233           "y": 119.0
234         },
235         "params": 1
236       },
237       {
238         "id": "dff4_finewe",
239         "name": "dff4_finewe#0",
240         "pos": {
241           "x": 185.0,
242           "y": 25.0
243         }
244       },
245       {
246         "id": "mux1_4",
247         "name": "mux1_4#0",
248         "pos": {
249           "x": 25.0,
250           "y": 130.0
251         }
252       },
253       {
254         "id": "mux1_4",
255         "name": "mux1_4#1",
256         "pos": {
257           "x": 85.0,
258           "y": 75.0
259         }
260       },
261       {
262         "id": "xor",
263         "name": "xor#0",
264         "pos": {
265           "x": 170.0,
266           "y": 130.0
267         }
268       }
269     ],
270     "wires": [
271       {
272         "pin1": {
273           "compName": "dff4_finewe#0",
274           "pinName": "Q4"
275         },
276         "pin2": {
277           "compName": "Splitter#3",
278           "pinName": "O3"
279         },
280         "name": "unnamedWire#0",
281         "path": []
282       },
283       {
284         "pin1": {
285           "compName": "Splitter#3",
286           "pinName": "O2"
287         },
288         "pin2": {
289           "compName": "dff4_finewe#0",
290           "pinName": "Q3"
291         },
292         "name": "unnamedWire#1",
293         "path": []
294       },
295       {
296         "pin1": {
297           "compName": "Splitter#3",
298           "pinName": "O1"
299         },
300         "pin2": {
301           "compName": "dff4_finewe#0",
302           "pinName": "Q2"
303         },
304         "name": "unnamedWire#2",
305         "path": []
306       },
307       {
308         "pin1": {
309           "compName": "dff4_finewe#0",
310           "pinName": "Q1"
311         },
312         "pin2": {
313           "compName": "WireCrossPoint#3",
314           "pinName": ""
315         },
316         "name": "unnamedWire#3",
317         "path": []
318       },
319       {
320         "pin1": {
321           "compName": "Splitter#3",
322           "pinName": "I"
323         },
324         "pin2": {
325           "compName": "_submodelinterface",
326           "pinName": "Q"
327         },
328         "name": "unnamedWire#4",
329         "path": [
330           {
331             "x": 245.0,
332             "y": 45.0
333           },
334           {
335             "x": 245.0,
336             "y": 50.0
337           }
338         ]
339       },
340       {
341         "pin1": {
342           "compName": "_submodelinterface",
343           "pinName": "M"
344         },
345         "pin2": {
346           "compName": "mux1_4#0",
347           "pinName": "I0"
348         },
349         "name": "unnamedWire#5",
350         "path": []
351       },
352       {
353         "pin1": {
354           "compName": "_submodelinterface",
355           "pinName": "I"
356         },
357         "pin2": {
358           "compName": "mux1_4#0",
359           "pinName": "I1"
360         },
361         "name": "unnamedWire#6",
362         "path": [
363           {
364             "x": 20.0,
365             "y": 200.0
366           },
367           {
368             "x": 20.0,
369             "y": 180.0
370           }
371         ]
372       },
373       {
374         "pin1": {
375           "compName": "WireCrossPoint#0",
376           "pinName": ""
377         },
378         "pin2": {
379           "compName": "mux1_4#0",
380           "pinName": "S0"
381         },
382         "name": "unnamedWire#7",
383         "path": [
384           {
385             "x": 20.0,
386             "y": 120.0
387           },
388           {
389             "x": 20.0,
390             "y": 135.0
391           }
392         ]
393       },
394       {
395         "pin1": {
396           "compName": "mux1_4#1",
397           "pinName": "I1"
398         },
399         "pin2": {
400           "compName": "mux1_4#0",
401           "pinName": "Y"
402         },
403         "name": "unnamedWire#8",
404         "path": [
405           {
406             "x": 80.0,
407             "y": 125.0
408           },
409           {
410             "x": 80.0,
411             "y": 150.0
412           }
413         ]
414       },
415       {
416         "pin1": {
417           "compName": "WireCrossPoint#5",
418           "pinName": ""
419         },
420         "pin2": {
421           "compName": "Splitter#0",
422           "pinName": "O0"
423         },
424         "name": "unnamedWire#9",
425         "path": []
426       },
427       {
428         "pin1": {
429           "compName": "WireCrossPoint#1",
430           "pinName": ""
431         },
432         "pin2": {
433           "compName": "Splitter#0",
434           "pinName": "O1"
435         },
436         "name": "unnamedWire#10",
437         "path": []
438       },
439       {
440         "pin1": {
441           "compName": "WireCrossPoint#3",
442           "pinName": ""
443         },
444         "pin2": {
445           "compName": "Splitter#3",
446           "pinName": "O0"
447         },
448         "name": "unnamedWire#11",
449         "path": []
450       },
451       {
452         "pin1": {
453           "compName": "WireCrossPoint#2",
454           "pinName": ""
455         },
456         "pin2": {
457           "compName": "Splitter#0",
458           "pinName": "O2"
459         },
460         "name": "unnamedWire#12",
461         "path": []
462       },
463       {
464         "pin1": {
465           "compName": "WireCrossPoint#2",
466           "pinName": ""
467         },
468         "pin2": {
469           "compName": "Splitter#0",
470           "pinName": "O3"
471         },
472         "name": "unnamedWire#13",
473         "path": [
474           {
475             "x": 60.0,
476             "y": 90.0
477           }
478         ]
479       },
480       {
481         "pin1": {
482           "compName": "Splitter#0",
483           "pinName": "I"
484         },
485         "pin2": {
486           "compName": "mux1_4#1",
487           "pinName": "I0"
488         },
489         "name": "unnamedWire#14",
490         "path": [
491           {
492             "x": 80.0,
493             "y": 105.0
494           },
495           {
496             "x": 80.0,
497             "y": 95.0
498           }
499         ]
500       },
501       {
502         "pin1": {
503           "compName": "_submodelinterface",
504           "pinName": "MUX"
505         },
506         "pin2": {
507           "compName": "Splitter#2",
508           "pinName": "I"
509         },
510         "name": "unnamedWire#15",
511         "path": []
512       },
513       {
514         "pin1": {
515           "compName": "Splitter#2",
516           "pinName": "O0"
517         },
518         "pin2": {
519           "compName": "WireCrossPoint#0",
520           "pinName": ""
521         },
522         "name": "unnamedWire#16",
523         "path": [
524           {
525             "x": 30.0,
526             "y": 105.0
527           }
528         ]
529       },
530       {
531         "pin1": {
532           "compName": "Splitter#2",
533           "pinName": "O1"
534         },
535         "pin2": {
536           "compName": "mux1_4#1",
537           "pinName": "S0"
538         },
539         "name": "unnamedWire#17",
540         "path": [
541           {
542             "x": 30.0,
543             "y": 95.0
544           },
545           {
546             "x": 30.0,
547             "y": 80.0
548           }
549         ]
550       },
551       {
552         "pin1": {
553           "compName": "mux1_4#1",
554           "pinName": "Y"
555         },
556         "pin2": {
557           "compName": "Splitter#1",
558           "pinName": "I"
559         },
560         "name": "unnamedWire#18",
561         "path": []
562       },
563       {
564         "pin1": {
565           "compName": "Splitter#1",
566           "pinName": "O3"
567         },
568         "pin2": {
569           "compName": "dff4_finewe#0",
570           "pinName": "D4"
571         },
572         "name": "unnamedWire#19",
573         "path": []
574       },
575       {
576         "pin1": {
577           "compName": "Splitter#1",
578           "pinName": "O2"
579         },
580         "pin2": {
581           "compName": "xor#0",
582           "pinName": "A"
583         },
584         "name": "unnamedWire#20",
585         "path": [
586           {
587             "x": 165.0,
588             "y": 90.0
589           },
590           {
591             "x": 165.0,
592             "y": 135.0
593           }
594         ]
595       },
596       {
597         "pin1": {
598           "compName": "Splitter#1",
599           "pinName": "O1"
600         },
601         "pin2": {
602           "compName": "dff4_finewe#0",
603           "pinName": "D2"
604         },
605         "name": "unnamedWire#21",
606         "path": []
607       },
608       {
609         "pin1": {
610           "compName": "Splitter#1",
611           "pinName": "O0"
612         },
613         "pin2": {
614           "compName": "WireCrossPoint#4",
615           "pinName": ""
616         },
617         "name": "unnamedWire#22",
618         "path": [
619           {
620             "x": 160.0,
621             "y": 110.0
622           }
623         ]
624       },
625       {
626         "pin1": {
627           "compName": "WireCrossPoint#1",
628           "pinName": ""
629         },
630         "pin2": {
631           "compName": "WireCrossPoint#2",
632           "pinName": ""
633         },
634         "name": "unnamedWire#23",
635         "path": []
636       },
637       {
638         "pin1": {
639           "compName": "WireCrossPoint#0",
640           "pinName": ""
641         },
642         "pin2": {
643           "compName": "WireCrossPoint#5",
644           "pinName": ""
645         },
646         "name": "unnamedWire#24",
647         "path": []
648       },
649       {
650         "pin1": {
651           "compName": "WireCrossPoint#5",
652           "pinName": ""
653         },
654         "pin2": {
655           "compName": "WireCrossPoint#1",
656           "pinName": ""
657         },
658         "name": "unnamedWire#25",
659         "path": []
660       },
661       {
662         "pin1": {
663           "compName": "NandGate#2",
664           "pinName": "Y"
665         },
666         "pin2": {
667           "compName": "NandGate#0",
668           "pinName": "A"
669         },
670         "name": "unnamedWire#26",
671         "path": []
672       },
673       {
674         "pin1": {
675           "compName": "NandGate#0",
676           "pinName": "B"
677         },
678         "pin2": {
679           "compName": "NandGate#1",
680           "pinName": "Y"
681         },
682         "name": "unnamedWire#27",
683         "path": [
684           {
685             "x": 190.0,
686             "y": 175.0
687           },
688           {
689             "x": 190.0,
690             "y": 190.0
691           }
692         ]
693       },
694       {
695         "pin1": {
696           "compName": "_submodelinterface",
697           "pinName": "OVRRET"
698         },
699         "pin2": {
700           "compName": "NandGate#1",
701           "pinName": "A"
702         },
703         "name": "unnamedWire#28",
704         "path": [
705           {
706             "x": 155.0,
707             "y": 300.0
708           },
709           {
710             "x": 155.0,
711             "y": 185.0
712           }
713         ]
714       },
715       {
716         "pin1": {
717           "compName": "WireCrossPoint#3",
718           "pinName": ""
719         },
720         "pin2": {
721           "compName": "NandGate#1",
722           "pinName": "B"
723         },
724         "name": "unnamedWire#29",
725         "path": [
726           {
727             "x": 225.0,
728             "y": 205.0
729           },
730           {
731             "x": 160.0,
732             "y": 205.0
733           },
734           {
735             "x": 160.0,
736             "y": 195.0
737           }
738         ]
739       },
740       {
741         "pin1": {
742           "compName": "_submodelinterface",
743           "pinName": "CINV"
744         },
745         "pin2": {
746           "compName": "xor#0",
747           "pinName": "B"
748         },
749         "name": "unnamedWire#30",
750         "path": [
751           {
752             "x": 150.0,
753             "y": 250.0
754           },
755           {
756             "x": 150.0,
757             "y": 145.0
758           }
759         ]
760       },
761       {
762         "pin1": {
763           "compName": "dff4_finewe#0",
764           "pinName": "_WE4"
765         },
766         "pin2": {
767           "compName": "_submodelinterface",
768           "pinName": "_EZ"
769         },
770         "name": "unnamedWire#31",
771         "path": [
772           {
773             "x": 180.0,
774             "y": 40.0
775           },
776           {
777             "x": 180.0,
778             "y": 5.0
779           },
780           {
781             "x": 50.0,
782             "y": 5.0
783           }
784         ]
785       },
786       {
787         "pin1": {
788           "compName": "_submodelinterface",
789           "pinName": "C"
790         },
791         "pin2": {
792           "compName": "dff4_finewe#0",
793           "pinName": "C"
794         },
795         "name": "unnamedWire#32",
796         "path": [
797           {
798             "x": 55.0,
799             "y": 50.0
800           },
801           {
802             "x": 55.0,
803             "y": 30.0
804           }
805         ]
806       },
807       {
808         "pin1": {
809           "compName": "_submodelinterface",
810           "pinName": "_EOVR"
811         },
812         "pin2": {
813           "compName": "dff4_finewe#0",
814           "pinName": "_WE1"
815         },
816         "name": "unnamedWire#33",
817         "path": [
818           {
819             "x": 200.0,
820             "y": 20.0
821           },
822           {
823             "x": 165.0,
824             "y": 20.0
825           },
826           {
827             "x": 165.0,
828             "y": 70.0
829           }
830         ]
831       },
832       {
833         "pin1": {
834           "compName": "dff4_finewe#0",
835           "pinName": "_WE2"
836         },
837         "pin2": {
838           "compName": "_submodelinterface",
839           "pinName": "_EN"
840         },
841         "name": "unnamedWire#34",
842         "path": [
843           {
844             "x": 170.0,
845             "y": 60.0
846           },
847           {
848             "x": 170.0,
849             "y": 15.0
850           },
851           {
852             "x": 150.0,
853             "y": 15.0
854           }
855         ]
856       },
857       {
858         "pin1": {
859           "compName": "_submodelinterface",
860           "pinName": "_EC"
861         },
862         "pin2": {
863           "compName": "dff4_finewe#0",
864           "pinName": "_WE3"
865         },
866         "name": "unnamedWire#35",
867         "path": [
868           {
869             "x": 100.0,
870             "y": 10.0
871           },
872           {
873             "x": 175.0,
874             "y": 10.0
875           },
876           {
877             "x": 175.0,
878             "y": 50.0
879           }
880         ]
881       },
882       {
883         "pin1": {
884           "compName": "xor#0",
885           "pinName": "Y"
886         },
887         "pin2": {
888           "compName": "dff4_finewe#0",
889           "pinName": "D3"
890         },
891         "name": "unnamedWire#36",
892         "path": [
893           {
894             "x": 210.0,
895             "y": 135.0
896           },
897           {
898             "x": 210.0,
899             "y": 125.0
900           },
901           {
902             "x": 175.0,
903             "y": 125.0
904           },
905           {
906             "x": 175.0,
907             "y": 90.0
908           }
909         ]
910       },
911       {
912         "pin1": {
913           "compName": "NandGate#0",
914           "pinName": "Y"
915         },
916         "pin2": {
917           "compName": "dff4_finewe#0",
918           "pinName": "D1"
919         },
920         "name": "unnamedWire#37",
921         "path": [
922           {
923             "x": 220.0,
924             "y": 170.0
925           },
926           {
927             "x": 220.0,
928             "y": 120.0
929           },
930           {
931             "x": 180.0,
932             "y": 120.0
933           },
934           {
935             "x": 180.0,
936             "y": 110.0
937           }
938         ]
939       },
940       {
941         "pin1": {
942           "compName": "WireCrossPoint#4",
943           "pinName": ""
944         },
945         "pin2": {
946           "compName": "NandGate#2",
947           "pinName": "A"
948         },
949         "name": "unnamedWire#38",
950         "path": []
951       },
952       {
953         "pin1": {
954           "compName": "WireCrossPoint#4",
955           "pinName": ""
956         },
957         "pin2": {
958           "compName": "NandGate#2",
959           "pinName": "B"
960         },
961         "name": "unnamedWire#39",
962         "path": [
963           {
964             "x": 160.0,
965             "y": 170.0
966           }
967         ]
968       }
969     ],
970     "version": "0.1.1"
971   },
972   "symbolRendererSnippetID": "simpleRectangularLike",
973   "symbolRendererParams": {
974     "centerText": "\u00b5SR",
975     "centerTextHeight": 5.0,
976     "horizontalComponentCenter": 17.5,
977     "pinLabelHeight": 3.5,
978     "pinLabelMargin": 0.5
979   },
980   "outlineRendererSnippetID": "default",
981   "highLevelStateHandlerSnippetID": "standard",
982   "highLevelStateHandlerParams": {
983     "subcomponentHighLevelStates": {},
984     "atomicHighLevelStates": {
985       "q": {
986         "id": "delegating",
987         "params": {
988           "delegateTarget": "dff4_finewe#0",
989           "subStateID": "q"
990         }
991       },
992       "q1": {
993         "id": "delegating",
994         "params": {
995           "delegateTarget": "dff4_finewe#0",
996           "subStateID": "q1"
997         }
998       },
999       "q2": {
1000         "id": "delegating",
1001         "params": {
1002           "delegateTarget": "dff4_finewe#0",
1003           "subStateID": "q2"
1004         }
1005       },
1006       "q3": {
1007         "id": "delegating",
1008         "params": {
1009           "delegateTarget": "dff4_finewe#0",
1010           "subStateID": "q3"
1011         }
1012       },
1013       "q4": {
1014         "id": "delegating",
1015         "params": {
1016           "delegateTarget": "dff4_finewe#0",
1017           "subStateID": "q4"
1018         }
1019       }
1020     }
1021   },
1022   "version": "0.1.5"
1023 }