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