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