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