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