Started layouting the Am2904
[Mograsim.git] / 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": "Merger",
110         "name": "Merger#0",
111         "pos": {
112           "x": 230.0,
113           "y": 30.0
114         },
115         "params": 4
116       },
117       {
118         "id": "NandGate",
119         "name": "NandGate#0",
120         "pos": {
121           "x": 155.0,
122           "y": 135.0
123         },
124         "params": 1
125       },
126       {
127         "id": "NandGate",
128         "name": "NandGate#1",
129         "pos": {
130           "x": 125.0,
131           "y": 150.0
132         },
133         "params": 1
134       },
135       {
136         "id": "NandGate",
137         "name": "NandGate#2",
138         "pos": {
139           "x": 125.0,
140           "y": 130.0
141         },
142         "params": 1
143       },
144       {
145         "id": "Splitter",
146         "name": "Splitter#0",
147         "pos": {
148           "x": 5.0,
149           "y": 135.0
150         },
151         "params": 4
152       },
153       {
154         "id": "Splitter",
155         "name": "Splitter#1",
156         "pos": {
157           "x": 5.0,
158           "y": 185.0
159         },
160         "params": 4
161       },
162       {
163         "id": "Splitter",
164         "name": "Splitter#2",
165         "pos": {
166           "x": 5.0,
167           "y": 95.0
168         },
169         "params": 2
170       },
171       {
172         "id": "WireCrossPoint",
173         "name": "WireCrossPoint#0",
174         "pos": {
175           "x": 19.0,
176           "y": 119.0
177         },
178         "params": 1
179       },
180       {
181         "id": "WireCrossPoint",
182         "name": "WireCrossPoint#1",
183         "pos": {
184           "x": 59.0,
185           "y": 109.0
186         },
187         "params": 1
188       },
189       {
190         "id": "WireCrossPoint",
191         "name": "WireCrossPoint#2",
192         "pos": {
193           "x": 59.0,
194           "y": 99.0
195         },
196         "params": 1
197       },
198       {
199         "id": "WireCrossPoint",
200         "name": "WireCrossPoint#3",
201         "pos": {
202           "x": 224.0,
203           "y": 59.0
204         },
205         "params": 1
206       },
207       {
208         "id": "WireCrossPoint",
209         "name": "WireCrossPoint#4",
210         "pos": {
211           "x": 114.0,
212           "y": 134.0
213         },
214         "params": 1
215       },
216       {
217         "id": "WireCrossPoint",
218         "name": "WireCrossPoint#5",
219         "pos": {
220           "x": 59.0,
221           "y": 119.0
222         },
223         "params": 1
224       },
225       {
226         "id": "dff4_finewe",
227         "name": "dff4_finewe#0",
228         "pos": {
229           "x": 185.0,
230           "y": 25.0
231         }
232       },
233       {
234         "id": "mux1_4",
235         "name": "mux1_4#0",
236         "pos": {
237           "x": 25.0,
238           "y": 125.0
239         }
240       },
241       {
242         "id": "mux1_4",
243         "name": "mux1_4#1",
244         "pos": {
245           "x": 65.0,
246           "y": 75.0
247         }
248       },
249       {
250         "id": "xor",
251         "name": "xor#0",
252         "pos": {
253           "x": 130.0,
254           "y": 105.0
255         }
256       }
257     ],
258     "wires": [
259       {
260         "pin1": {
261           "compName": "dff4_finewe#0",
262           "pinName": "Q1"
263         },
264         "pin2": {
265           "compName": "Merger#0",
266           "pinName": "I3"
267         },
268         "name": "unnamedWire#0",
269         "path": []
270       },
271       {
272         "pin1": {
273           "compName": "Merger#0",
274           "pinName": "I2"
275         },
276         "pin2": {
277           "compName": "dff4_finewe#0",
278           "pinName": "Q2"
279         },
280         "name": "unnamedWire#1",
281         "path": []
282       },
283       {
284         "pin1": {
285           "compName": "mux1_4#0",
286           "pinName": "I1_4"
287         },
288         "pin2": {
289           "compName": "Splitter#1",
290           "pinName": "O0"
291         },
292         "name": "unnamedWire#10",
293         "path": [
294           {
295             "x": 20.0,
296             "y": 210.0
297           },
298           {
299             "x": 20.0,
300             "y": 215.0
301           }
302         ]
303       },
304       {
305         "pin1": {
306           "compName": "WireCrossPoint#3",
307           "pinName": ""
308         },
309         "pin2": {
310           "compName": "Merger#0",
311           "pinName": "I0"
312         },
313         "name": "unnamedWire#11",
314         "path": []
315       },
316       {
317         "pin1": {
318           "compName": "Splitter#0",
319           "pinName": "O0"
320         },
321         "pin2": {
322           "compName": "mux1_4#0",
323           "pinName": "I0_4"
324         },
325         "name": "unnamedWire#12",
326         "path": [
327           {
328             "x": 20.0,
329             "y": 165.0
330           },
331           {
332             "x": 20.0,
333             "y": 170.0
334           }
335         ]
336       },
337       {
338         "pin1": {
339           "compName": "Splitter#0",
340           "pinName": "O1"
341         },
342         "pin2": {
343           "compName": "mux1_4#0",
344           "pinName": "I0_3"
345         },
346         "name": "unnamedWire#13",
347         "path": [
348           {
349             "x": 20.0,
350             "y": 155.0
351           },
352           {
353             "x": 20.0,
354             "y": 160.0
355           }
356         ]
357       },
358       {
359         "pin1": {
360           "compName": "Splitter#0",
361           "pinName": "O2"
362         },
363         "pin2": {
364           "compName": "mux1_4#0",
365           "pinName": "I0_2"
366         },
367         "name": "unnamedWire#14",
368         "path": [
369           {
370             "x": 20.0,
371             "y": 145.0
372           },
373           {
374             "x": 20.0,
375             "y": 150.0
376           }
377         ]
378       },
379       {
380         "pin1": {
381           "compName": "_submodelinterface",
382           "pinName": "MUX"
383         },
384         "pin2": {
385           "compName": "Splitter#2",
386           "pinName": "I"
387         },
388         "name": "unnamedWire#15",
389         "path": []
390       },
391       {
392         "pin1": {
393           "compName": "Splitter#2",
394           "pinName": "O0"
395         },
396         "pin2": {
397           "compName": "WireCrossPoint#0",
398           "pinName": ""
399         },
400         "name": "unnamedWire#16",
401         "path": [
402           {
403             "x": 20.0,
404             "y": 105.0
405           }
406         ]
407       },
408       {
409         "pin1": {
410           "compName": "mux1_4#0",
411           "pinName": "Y4"
412         },
413         "pin2": {
414           "compName": "mux1_4#1",
415           "pinName": "I1_4"
416         },
417         "name": "unnamedWire#17",
418         "path": []
419       },
420       {
421         "pin1": {
422           "compName": "mux1_4#1",
423           "pinName": "I1_3"
424         },
425         "pin2": {
426           "compName": "mux1_4#0",
427           "pinName": "Y3"
428         },
429         "name": "unnamedWire#18",
430         "path": []
431       },
432       {
433         "pin1": {
434           "compName": "mux1_4#0",
435           "pinName": "Y2"
436         },
437         "pin2": {
438           "compName": "mux1_4#1",
439           "pinName": "I1_2"
440         },
441         "name": "unnamedWire#19",
442         "path": []
443       },
444       {
445         "pin1": {
446           "compName": "Merger#0",
447           "pinName": "I1"
448         },
449         "pin2": {
450           "compName": "dff4_finewe#0",
451           "pinName": "Q3"
452         },
453         "name": "unnamedWire#2",
454         "path": []
455       },
456       {
457         "pin1": {
458           "compName": "mux1_4#0",
459           "pinName": "Y1"
460         },
461         "pin2": {
462           "compName": "mux1_4#1",
463           "pinName": "I1_1"
464         },
465         "name": "unnamedWire#20",
466         "path": []
467       },
468       {
469         "pin1": {
470           "compName": "mux1_4#1",
471           "pinName": "I0_1"
472         },
473         "pin2": {
474           "compName": "WireCrossPoint#2",
475           "pinName": ""
476         },
477         "name": "unnamedWire#21",
478         "path": [
479           {
480             "x": 60.0,
481             "y": 90.0
482           }
483         ]
484       },
485       {
486         "pin1": {
487           "compName": "WireCrossPoint#2",
488           "pinName": ""
489         },
490         "pin2": {
491           "compName": "mux1_4#1",
492           "pinName": "I0_2"
493         },
494         "name": "unnamedWire#22",
495         "path": []
496       },
497       {
498         "pin1": {
499           "compName": "mux1_4#1",
500           "pinName": "I0_3"
501         },
502         "pin2": {
503           "compName": "WireCrossPoint#1",
504           "pinName": ""
505         },
506         "name": "unnamedWire#23",
507         "path": []
508       },
509       {
510         "pin1": {
511           "compName": "WireCrossPoint#1",
512           "pinName": ""
513         },
514         "pin2": {
515           "compName": "WireCrossPoint#2",
516           "pinName": ""
517         },
518         "name": "unnamedWire#24",
519         "path": []
520       },
521       {
522         "pin1": {
523           "compName": "WireCrossPoint#0",
524           "pinName": ""
525         },
526         "pin2": {
527           "compName": "WireCrossPoint#5",
528           "pinName": ""
529         },
530         "name": "unnamedWire#25",
531         "path": []
532       },
533       {
534         "pin1": {
535           "compName": "WireCrossPoint#5",
536           "pinName": ""
537         },
538         "pin2": {
539           "compName": "mux1_4#1",
540           "pinName": "I0_4"
541         },
542         "name": "unnamedWire#26",
543         "path": []
544       },
545       {
546         "pin1": {
547           "compName": "WireCrossPoint#0",
548           "pinName": ""
549         },
550         "pin2": {
551           "compName": "mux1_4#0",
552           "pinName": "S0"
553         },
554         "name": "unnamedWire#27",
555         "path": [
556           {
557             "x": 20.0,
558             "y": 130.0
559           }
560         ]
561       },
562       {
563         "pin1": {
564           "compName": "Splitter#2",
565           "pinName": "O1"
566         },
567         "pin2": {
568           "compName": "mux1_4#1",
569           "pinName": "S0"
570         },
571         "name": "unnamedWire#28",
572         "path": [
573           {
574             "x": 20.0,
575             "y": 95.0
576           },
577           {
578             "x": 20.0,
579             "y": 80.0
580           }
581         ]
582       },
583       {
584         "pin1": {
585           "compName": "WireCrossPoint#5",
586           "pinName": ""
587         },
588         "pin2": {
589           "compName": "WireCrossPoint#1",
590           "pinName": ""
591         },
592         "name": "unnamedWire#29",
593         "path": []
594       },
595       {
596         "pin1": {
597           "compName": "dff4_finewe#0",
598           "pinName": "Q4"
599         },
600         "pin2": {
601           "compName": "WireCrossPoint#3",
602           "pinName": ""
603         },
604         "name": "unnamedWire#3",
605         "path": []
606       },
607       {
608         "pin1": {
609           "compName": "NandGate#2",
610           "pinName": "Y"
611         },
612         "pin2": {
613           "compName": "NandGate#0",
614           "pinName": "A"
615         },
616         "name": "unnamedWire#30",
617         "path": []
618       },
619       {
620         "pin1": {
621           "compName": "NandGate#0",
622           "pinName": "B"
623         },
624         "pin2": {
625           "compName": "NandGate#1",
626           "pinName": "Y"
627         },
628         "name": "unnamedWire#31",
629         "path": [
630           {
631             "x": 150.0,
632             "y": 150.0
633           },
634           {
635             "x": 150.0,
636             "y": 160.0
637           }
638         ]
639       },
640       {
641         "pin1": {
642           "compName": "_submodelinterface",
643           "pinName": "OVRRET"
644         },
645         "pin2": {
646           "compName": "NandGate#1",
647           "pinName": "A"
648         },
649         "name": "unnamedWire#32",
650         "path": [
651           {
652             "x": 115.0,
653             "y": 300.0
654           },
655           {
656             "x": 115.0,
657             "y": 155.0
658           }
659         ]
660       },
661       {
662         "pin1": {
663           "compName": "WireCrossPoint#3",
664           "pinName": ""
665         },
666         "pin2": {
667           "compName": "WireCrossPoint#3",
668           "pinName": ""
669         },
670         "name": "unnamedWire#33",
671         "path": []
672       },
673       {
674         "pin1": {
675           "compName": "WireCrossPoint#3",
676           "pinName": ""
677         },
678         "pin2": {
679           "compName": "NandGate#1",
680           "pinName": "B"
681         },
682         "name": "unnamedWire#34",
683         "path": [
684           {
685             "x": 225.0,
686             "y": 175.0
687           },
688           {
689             "x": 120.0,
690             "y": 175.0
691           },
692           {
693             "x": 120.0,
694             "y": 165.0
695           }
696         ]
697       },
698       {
699         "pin1": {
700           "compName": "mux1_4#1",
701           "pinName": "Y2"
702         },
703         "pin2": {
704           "compName": "xor#0",
705           "pinName": "A"
706         },
707         "name": "unnamedWire#35",
708         "path": [
709           {
710             "x": 125.0,
711             "y": 90.0
712           },
713           {
714             "x": 125.0,
715             "y": 110.0
716           }
717         ]
718       },
719       {
720         "pin1": {
721           "compName": "_submodelinterface",
722           "pinName": "CINV"
723         },
724         "pin2": {
725           "compName": "xor#0",
726           "pinName": "B"
727         },
728         "name": "unnamedWire#36",
729         "path": [
730           {
731             "x": 105.0,
732             "y": 250.0
733           },
734           {
735             "x": 105.0,
736             "y": 120.0
737           }
738         ]
739       },
740       {
741         "pin1": {
742           "compName": "dff4_finewe#0",
743           "pinName": "_WE1"
744         },
745         "pin2": {
746           "compName": "_submodelinterface",
747           "pinName": "_EZ"
748         },
749         "name": "unnamedWire#37",
750         "path": [
751           {
752             "x": 180.0,
753             "y": 40.0
754           },
755           {
756             "x": 180.0,
757             "y": 5.0
758           },
759           {
760             "x": 50.0,
761             "y": 5.0
762           }
763         ]
764       },
765       {
766         "pin1": {
767           "compName": "_submodelinterface",
768           "pinName": "C"
769         },
770         "pin2": {
771           "compName": "dff4_finewe#0",
772           "pinName": "C"
773         },
774         "name": "unnamedWire#38",
775         "path": [
776           {
777             "x": 55.0,
778             "y": 50.0
779           },
780           {
781             "x": 55.0,
782             "y": 30.0
783           }
784         ]
785       },
786       {
787         "pin1": {
788           "compName": "_submodelinterface",
789           "pinName": "_EOVR"
790         },
791         "pin2": {
792           "compName": "dff4_finewe#0",
793           "pinName": "_WE4"
794         },
795         "name": "unnamedWire#39",
796         "path": [
797           {
798             "x": 200.0,
799             "y": 20.0
800           },
801           {
802             "x": 165.0,
803             "y": 20.0
804           },
805           {
806             "x": 165.0,
807             "y": 70.0
808           }
809         ]
810       },
811       {
812         "pin1": {
813           "compName": "Merger#0",
814           "pinName": "O"
815         },
816         "pin2": {
817           "compName": "_submodelinterface",
818           "pinName": "Q"
819         },
820         "name": "unnamedWire#4",
821         "path": [
822           {
823             "x": 245.0,
824             "y": 45.0
825           },
826           {
827             "x": 245.0,
828             "y": 50.0
829           }
830         ]
831       },
832       {
833         "pin1": {
834           "compName": "dff4_finewe#0",
835           "pinName": "_WE3"
836         },
837         "pin2": {
838           "compName": "_submodelinterface",
839           "pinName": "_EN"
840         },
841         "name": "unnamedWire#40",
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": "_WE2"
865         },
866         "name": "unnamedWire#41",
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": "dff4_finewe#0",
885           "pinName": "D1"
886         },
887         "pin2": {
888           "compName": "mux1_4#1",
889           "pinName": "Y1"
890         },
891         "name": "unnamedWire#42",
892         "path": []
893       },
894       {
895         "pin1": {
896           "compName": "xor#0",
897           "pinName": "Y"
898         },
899         "pin2": {
900           "compName": "dff4_finewe#0",
901           "pinName": "D2"
902         },
903         "name": "unnamedWire#43",
904         "path": [
905           {
906             "x": 170.0,
907             "y": 110.0
908           },
909           {
910             "x": 170.0,
911             "y": 90.0
912           }
913         ]
914       },
915       {
916         "pin1": {
917           "compName": "dff4_finewe#0",
918           "pinName": "D3"
919         },
920         "pin2": {
921           "compName": "mux1_4#1",
922           "pinName": "Y3"
923         },
924         "name": "unnamedWire#44",
925         "path": []
926       },
927       {
928         "pin1": {
929           "compName": "WireCrossPoint#4",
930           "pinName": ""
931         },
932         "pin2": {
933           "compName": "mux1_4#1",
934           "pinName": "Y4"
935         },
936         "name": "unnamedWire#45",
937         "path": [
938           {
939             "x": 115.0,
940             "y": 110.0
941           }
942         ]
943       },
944       {
945         "pin1": {
946           "compName": "NandGate#0",
947           "pinName": "Y"
948         },
949         "pin2": {
950           "compName": "dff4_finewe#0",
951           "pinName": "D4"
952         },
953         "name": "unnamedWire#46",
954         "path": [
955           {
956             "x": 180.0,
957             "y": 145.0
958           },
959           {
960             "x": 180.0,
961             "y": 110.0
962           }
963         ]
964       },
965       {
966         "pin1": {
967           "compName": "WireCrossPoint#4",
968           "pinName": ""
969         },
970         "pin2": {
971           "compName": "NandGate#2",
972           "pinName": "A"
973         },
974         "name": "unnamedWire#47",
975         "path": []
976       },
977       {
978         "pin1": {
979           "compName": "WireCrossPoint#4",
980           "pinName": ""
981         },
982         "pin2": {
983           "compName": "NandGate#2",
984           "pinName": "B"
985         },
986         "name": "unnamedWire#48",
987         "path": [
988           {
989             "x": 115.0,
990             "y": 145.0
991           }
992         ]
993       },
994       {
995         "pin1": {
996           "compName": "Splitter#0",
997           "pinName": "O3"
998         },
999         "pin2": {
1000           "compName": "mux1_4#0",
1001           "pinName": "I0_1"
1002         },
1003         "name": "unnamedWire#49",
1004         "path": [
1005           {
1006             "x": 20.0,
1007             "y": 135.0
1008           },
1009           {
1010             "x": 20.0,
1011             "y": 140.0
1012           }
1013         ]
1014       },
1015       {
1016         "pin1": {
1017           "compName": "_submodelinterface",
1018           "pinName": "M"
1019         },
1020         "pin2": {
1021           "compName": "Splitter#0",
1022           "pinName": "I"
1023         },
1024         "name": "unnamedWire#5",
1025         "path": []
1026       },
1027       {
1028         "pin1": {
1029           "compName": "_submodelinterface",
1030           "pinName": "I"
1031         },
1032         "pin2": {
1033           "compName": "Splitter#1",
1034           "pinName": "I"
1035         },
1036         "name": "unnamedWire#6",
1037         "path": []
1038       },
1039       {
1040         "pin1": {
1041           "compName": "Splitter#1",
1042           "pinName": "O3"
1043         },
1044         "pin2": {
1045           "compName": "mux1_4#0",
1046           "pinName": "I1_1"
1047         },
1048         "name": "unnamedWire#7",
1049         "path": [
1050           {
1051             "x": 20.0,
1052             "y": 185.0
1053           },
1054           {
1055             "x": 20.0,
1056             "y": 180.0
1057           }
1058         ]
1059       },
1060       {
1061         "pin1": {
1062           "compName": "mux1_4#0",
1063           "pinName": "I1_2"
1064         },
1065         "pin2": {
1066           "compName": "Splitter#1",
1067           "pinName": "O2"
1068         },
1069         "name": "unnamedWire#8",
1070         "path": [
1071           {
1072             "x": 20.0,
1073             "y": 190.0
1074           },
1075           {
1076             "x": 20.0,
1077             "y": 195.0
1078           }
1079         ]
1080       },
1081       {
1082         "pin1": {
1083           "compName": "Splitter#1",
1084           "pinName": "O1"
1085         },
1086         "pin2": {
1087           "compName": "mux1_4#0",
1088           "pinName": "I1_3"
1089         },
1090         "name": "unnamedWire#9",
1091         "path": [
1092           {
1093             "x": 20.0,
1094             "y": 205.0
1095           },
1096           {
1097             "x": 20.0,
1098             "y": 200.0
1099           }
1100         ]
1101       }
1102     ],
1103     "version": "0.1.1"
1104   },
1105   "symbolRendererSnippetID": "simpleRectangularLike",
1106   "symbolRendererParams": {
1107     "centerText": "µSR",
1108     "centerTextHeight": 5.0,
1109     "horizontalComponentCenter": 17.5,
1110     "pinLabelHeight": 3.5,
1111     "pinLabelMargin": 0.5
1112   },
1113   "outlineRendererSnippetID": "default",
1114   "highLevelStateHandlerSnippetID": "standard",
1115   "highLevelStateHandlerParams": {
1116     "subcomponentHighLevelStates": {},
1117     "atomicHighLevelStates": {
1118       "q": {
1119         "id": "delegating",
1120         "params": {
1121           "delegateTarget": "dff4_finewe#0",
1122           "subStateID": "q"
1123         }
1124       }
1125     }
1126   },
1127   "version": "0.1.5"
1128 }