Reversed pin order of or4
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / nor12.json
1 {
2   "width": 45.0,
3   "height": 30.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 15.0
9       },
10       "name": "D",
11       "logicWidth": 12,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 45.0,
17         "y": 15.0
18       },
19       "name": "Y",
20       "logicWidth": 1,
21       "usage": "OUTPUT"
22     }
23   ],
24   "innerScale": 0.2,
25   "submodel": {
26     "components": [
27       {
28         "id": "NandGate",
29         "name": "NandGate#0",
30         "pos": {
31           "x": 135.0,
32           "y": 65.0
33         },
34         "params": 1
35       },
36       {
37         "id": "NandGate",
38         "name": "NandGate#1",
39         "pos": {
40           "x": 70.0,
41           "y": 55.0
42         },
43         "params": 1
44       },
45       {
46         "id": "NandGate",
47         "name": "NandGate#2",
48         "pos": {
49           "x": 70.0,
50           "y": 90.0
51         },
52         "params": 1
53       },
54       {
55         "id": "NandGate",
56         "name": "NandGate#3",
57         "pos": {
58           "x": 100.0,
59           "y": 65.0
60         },
61         "params": 1
62       },
63       {
64         "id": "NandGate",
65         "name": "NandGate#4",
66         "pos": {
67           "x": 135.0,
68           "y": 10.0
69         },
70         "params": 1
71       },
72       {
73         "id": "NandGate",
74         "name": "NandGate#5",
75         "pos": {
76           "x": 165.0,
77           "y": 65.0
78         },
79         "params": 1
80       },
81       {
82         "id": "NandGate",
83         "name": "NandGate#6",
84         "pos": {
85           "x": 200.0,
86           "y": 65.0
87         },
88         "params": 1
89       },
90       {
91         "id": "Splitter",
92         "name": "Splitter#0",
93         "pos": {
94           "x": 5.0,
95           "y": 20.0
96         },
97         "params": {
98           "logicWidth": 12,
99           "orientation": "RIGHT"
100         }
101       },
102       {
103         "id": "WireCrossPoint",
104         "name": "WireCrossPoint#0",
105         "pos": {
106           "x": 129.0,
107           "y": 74.0
108         },
109         "params": 1
110       },
111       {
112         "id": "WireCrossPoint",
113         "name": "WireCrossPoint#1",
114         "pos": {
115           "x": 64.0,
116           "y": 59.0
117         },
118         "params": 1
119       },
120       {
121         "id": "WireCrossPoint",
122         "name": "WireCrossPoint#2",
123         "pos": {
124           "x": 64.0,
125           "y": 104.0
126         },
127         "params": 1
128       },
129       {
130         "id": "WireCrossPoint",
131         "name": "WireCrossPoint#3",
132         "pos": {
133           "x": 129.0,
134           "y": 14.0
135         },
136         "params": 1
137       },
138       {
139         "id": "WireCrossPoint",
140         "name": "WireCrossPoint#4",
141         "pos": {
142           "x": 194.0,
143           "y": 74.0
144         },
145         "params": 1
146       },
147       {
148         "id": "or4",
149         "name": "or4#0",
150         "pos": {
151           "x": 25.0,
152           "y": 10.0
153         }
154       },
155       {
156         "id": "or4",
157         "name": "or4#1",
158         "pos": {
159           "x": 25.0,
160           "y": 55.0
161         }
162       },
163       {
164         "id": "or4",
165         "name": "or4#2",
166         "pos": {
167           "x": 25.0,
168           "y": 100.0
169         }
170       }
171     ],
172     "wires": [
173       {
174         "pin1": {
175           "compName": "_submodelinterface",
176           "pinName": "D"
177         },
178         "pin2": {
179           "compName": "Splitter#0",
180           "pinName": "I"
181         },
182         "name": "unnamedWire#0",
183         "path": []
184       },
185       {
186         "pin1": {
187           "compName": "Splitter#0",
188           "pinName": "O11"
189         },
190         "pin2": {
191           "compName": "or4#0",
192           "pinName": "A4"
193         },
194         "name": "unnamedWire#1",
195         "path": [
196           {
197             "x": 20.0,
198             "y": 20.0
199           },
200           {
201             "x": 20.0,
202             "y": 15.0
203           }
204         ]
205       },
206       {
207         "pin1": {
208           "compName": "or4#0",
209           "pinName": "A3"
210         },
211         "pin2": {
212           "compName": "Splitter#0",
213           "pinName": "O10"
214         },
215         "name": "unnamedWire#2",
216         "path": [
217           {
218             "x": 20.0,
219             "y": 25.0
220           },
221           {
222             "x": 20.0,
223             "y": 30.0
224           }
225         ]
226       },
227       {
228         "pin1": {
229           "compName": "or4#0",
230           "pinName": "A2"
231         },
232         "pin2": {
233           "compName": "Splitter#0",
234           "pinName": "O9"
235         },
236         "name": "unnamedWire#3",
237         "path": [
238           {
239             "x": 20.0,
240             "y": 35.0
241           },
242           {
243             "x": 20.0,
244             "y": 40.0
245           }
246         ]
247       },
248       {
249         "pin1": {
250           "compName": "Splitter#0",
251           "pinName": "O8"
252         },
253         "pin2": {
254           "compName": "or4#0",
255           "pinName": "A1"
256         },
257         "name": "unnamedWire#4",
258         "path": [
259           {
260             "x": 20.0,
261             "y": 50.0
262           },
263           {
264             "x": 20.0,
265             "y": 45.0
266           }
267         ]
268       },
269       {
270         "pin1": {
271           "compName": "Splitter#0",
272           "pinName": "O7"
273         },
274         "pin2": {
275           "compName": "or4#1",
276           "pinName": "A4"
277         },
278         "name": "unnamedWire#5",
279         "path": []
280       },
281       {
282         "pin1": {
283           "compName": "or4#1",
284           "pinName": "A3"
285         },
286         "pin2": {
287           "compName": "Splitter#0",
288           "pinName": "O6"
289         },
290         "name": "unnamedWire#6",
291         "path": []
292       },
293       {
294         "pin1": {
295           "compName": "Splitter#0",
296           "pinName": "O5"
297         },
298         "pin2": {
299           "compName": "or4#1",
300           "pinName": "A2"
301         },
302         "name": "unnamedWire#7",
303         "path": []
304       },
305       {
306         "pin1": {
307           "compName": "or4#1",
308           "pinName": "A1"
309         },
310         "pin2": {
311           "compName": "Splitter#0",
312           "pinName": "O4"
313         },
314         "name": "unnamedWire#8",
315         "path": []
316       },
317       {
318         "pin1": {
319           "compName": "Splitter#0",
320           "pinName": "O3"
321         },
322         "pin2": {
323           "compName": "or4#2",
324           "pinName": "A4"
325         },
326         "name": "unnamedWire#9",
327         "path": [
328           {
329             "x": 20.0,
330             "y": 100.0
331           },
332           {
333             "x": 20.0,
334             "y": 105.0
335           }
336         ]
337       },
338       {
339         "pin1": {
340           "compName": "Splitter#0",
341           "pinName": "O2"
342         },
343         "pin2": {
344           "compName": "or4#2",
345           "pinName": "A3"
346         },
347         "name": "unnamedWire#10",
348         "path": [
349           {
350             "x": 20.0,
351             "y": 110.0
352           },
353           {
354             "x": 20.0,
355             "y": 115.0
356           }
357         ]
358       },
359       {
360         "pin1": {
361           "compName": "Splitter#0",
362           "pinName": "O1"
363         },
364         "pin2": {
365           "compName": "or4#2",
366           "pinName": "A2"
367         },
368         "name": "unnamedWire#11",
369         "path": [
370           {
371             "x": 20.0,
372             "y": 120.0
373           },
374           {
375             "x": 20.0,
376             "y": 125.0
377           }
378         ]
379       },
380       {
381         "pin1": {
382           "compName": "Splitter#0",
383           "pinName": "O0"
384         },
385         "pin2": {
386           "compName": "or4#2",
387           "pinName": "A1"
388         },
389         "name": "unnamedWire#12",
390         "path": [
391           {
392             "x": 20.0,
393             "y": 130.0
394           },
395           {
396             "x": 20.0,
397             "y": 135.0
398           }
399         ]
400       },
401       {
402         "pin1": {
403           "compName": "NandGate#3",
404           "pinName": "Y"
405         },
406         "pin2": {
407           "compName": "WireCrossPoint#0",
408           "pinName": ""
409         },
410         "name": "unnamedWire#13",
411         "path": []
412       },
413       {
414         "pin1": {
415           "compName": "WireCrossPoint#0",
416           "pinName": ""
417         },
418         "pin2": {
419           "compName": "NandGate#0",
420           "pinName": "B"
421         },
422         "name": "unnamedWire#14",
423         "path": [
424           {
425             "x": 130.0,
426             "y": 80.0
427           }
428         ]
429       },
430       {
431         "pin1": {
432           "compName": "WireCrossPoint#0",
433           "pinName": ""
434         },
435         "pin2": {
436           "compName": "NandGate#0",
437           "pinName": "A"
438         },
439         "name": "unnamedWire#15",
440         "path": [
441           {
442             "x": 130.0,
443             "y": 70.0
444           }
445         ]
446       },
447       {
448         "pin1": {
449           "compName": "or4#1",
450           "pinName": "Y"
451         },
452         "pin2": {
453           "compName": "WireCrossPoint#1",
454           "pinName": ""
455         },
456         "name": "unnamedWire#16",
457         "path": []
458       },
459       {
460         "pin1": {
461           "compName": "WireCrossPoint#1",
462           "pinName": ""
463         },
464         "pin2": {
465           "compName": "NandGate#1",
466           "pinName": "A"
467         },
468         "name": "unnamedWire#17",
469         "path": []
470       },
471       {
472         "pin1": {
473           "compName": "WireCrossPoint#1",
474           "pinName": ""
475         },
476         "pin2": {
477           "compName": "NandGate#1",
478           "pinName": "B"
479         },
480         "name": "unnamedWire#18",
481         "path": [
482           {
483             "x": 65.0,
484             "y": 70.0
485           }
486         ]
487       },
488       {
489         "pin1": {
490           "compName": "or4#2",
491           "pinName": "Y"
492         },
493         "pin2": {
494           "compName": "WireCrossPoint#2",
495           "pinName": ""
496         },
497         "name": "unnamedWire#19",
498         "path": []
499       },
500       {
501         "pin1": {
502           "compName": "WireCrossPoint#2",
503           "pinName": ""
504         },
505         "pin2": {
506           "compName": "NandGate#2",
507           "pinName": "A"
508         },
509         "name": "unnamedWire#20",
510         "path": [
511           {
512             "x": 65.0,
513             "y": 95.0
514           }
515         ]
516       },
517       {
518         "pin1": {
519           "compName": "WireCrossPoint#2",
520           "pinName": ""
521         },
522         "pin2": {
523           "compName": "NandGate#2",
524           "pinName": "B"
525         },
526         "name": "unnamedWire#21",
527         "path": []
528       },
529       {
530         "pin1": {
531           "compName": "NandGate#1",
532           "pinName": "Y"
533         },
534         "pin2": {
535           "compName": "NandGate#3",
536           "pinName": "A"
537         },
538         "name": "unnamedWire#22",
539         "path": [
540           {
541             "x": 95.0,
542             "y": 65.0
543           },
544           {
545             "x": 95.0,
546             "y": 70.0
547           }
548         ]
549       },
550       {
551         "pin1": {
552           "compName": "NandGate#2",
553           "pinName": "Y"
554         },
555         "pin2": {
556           "compName": "NandGate#3",
557           "pinName": "B"
558         },
559         "name": "unnamedWire#23",
560         "path": [
561           {
562             "x": 95.0,
563             "y": 100.0
564           },
565           {
566             "x": 95.0,
567             "y": 80.0
568           }
569         ]
570       },
571       {
572         "pin1": {
573           "compName": "NandGate#0",
574           "pinName": "Y"
575         },
576         "pin2": {
577           "compName": "NandGate#5",
578           "pinName": "B"
579         },
580         "name": "unnamedWire#24",
581         "path": [
582           {
583             "x": 160.0,
584             "y": 75.0
585           },
586           {
587             "x": 160.0,
588             "y": 80.0
589           }
590         ]
591       },
592       {
593         "pin1": {
594           "compName": "or4#0",
595           "pinName": "Y"
596         },
597         "pin2": {
598           "compName": "WireCrossPoint#3",
599           "pinName": ""
600         },
601         "name": "unnamedWire#25",
602         "path": []
603       },
604       {
605         "pin1": {
606           "compName": "WireCrossPoint#3",
607           "pinName": ""
608         },
609         "pin2": {
610           "compName": "NandGate#4",
611           "pinName": "A"
612         },
613         "name": "unnamedWire#26",
614         "path": []
615       },
616       {
617         "pin1": {
618           "compName": "WireCrossPoint#3",
619           "pinName": ""
620         },
621         "pin2": {
622           "compName": "NandGate#4",
623           "pinName": "B"
624         },
625         "name": "unnamedWire#27",
626         "path": [
627           {
628             "x": 130.0,
629             "y": 25.0
630           }
631         ]
632       },
633       {
634         "pin1": {
635           "compName": "NandGate#4",
636           "pinName": "Y"
637         },
638         "pin2": {
639           "compName": "NandGate#5",
640           "pinName": "A"
641         },
642         "name": "unnamedWire#28",
643         "path": [
644           {
645             "x": 160.0,
646             "y": 20.0
647           },
648           {
649             "x": 160.0,
650             "y": 70.0
651           }
652         ]
653       },
654       {
655         "pin1": {
656           "compName": "NandGate#5",
657           "pinName": "Y"
658         },
659         "pin2": {
660           "compName": "WireCrossPoint#4",
661           "pinName": ""
662         },
663         "name": "unnamedWire#29",
664         "path": []
665       },
666       {
667         "pin1": {
668           "compName": "WireCrossPoint#4",
669           "pinName": ""
670         },
671         "pin2": {
672           "compName": "NandGate#6",
673           "pinName": "A"
674         },
675         "name": "unnamedWire#30",
676         "path": [
677           {
678             "x": 195.0,
679             "y": 70.0
680           }
681         ]
682       },
683       {
684         "pin1": {
685           "compName": "WireCrossPoint#4",
686           "pinName": ""
687         },
688         "pin2": {
689           "compName": "NandGate#6",
690           "pinName": "B"
691         },
692         "name": "unnamedWire#31",
693         "path": [
694           {
695             "x": 195.0,
696             "y": 80.0
697           }
698         ]
699       },
700       {
701         "pin1": {
702           "compName": "NandGate#6",
703           "pinName": "Y"
704         },
705         "pin2": {
706           "compName": "_submodelinterface",
707           "pinName": "Y"
708         },
709         "name": "unnamedWire#32",
710         "path": []
711       }
712     ],
713     "version": "0.1.1"
714   },
715   "symbolRendererSnippetID": "simpleRectangularLike",
716   "symbolRendererParams": {
717     "centerText": "nor12",
718     "centerTextHeight": 5.0,
719     "horizontalComponentCenter": 15.0,
720     "pinLabelHeight": 3.5,
721     "pinLabelMargin": 0.5
722   },
723   "outlineRendererSnippetID": "default",
724   "highLevelStateHandlerSnippetID": "default",
725   "version": "0.1.5"
726 }