Merge remote-tracking branch 'origin/development' into development
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUIor4.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 40.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 0.0,
9         "y": 5.0
10       },
11       "name": "A1",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "A2",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 0.0,
25         "y": 25.0
26       },
27       "name": "A3",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 0.0,
33         "y": 35.0
34       },
35       "name": "A4",
36       "logicWidth": 1
37     },
38     {
39       "location": {
40         "x": 35.0,
41         "y": 5.0
42       },
43       "name": "Y",
44       "logicWidth": 1
45     }
46   ],
47   "submodel": {
48     "innerScale": 0.2,
49     "subComps": [
50       {
51         "id": "GUINandGate",
52         "name": "GUINandGate#1",
53         "pos": {
54           "x": 20.0,
55           "y": 65.0
56         },
57         "params": 1
58       },
59       {
60         "id": "GUINandGate",
61         "name": "GUINandGate#0",
62         "pos": {
63           "x": 20.0,
64           "y": 15.0
65         },
66         "params": 1
67       },
68       {
69         "id": "GUINandGate",
70         "name": "GUINandGate#3",
71         "pos": {
72           "x": 20.0,
73           "y": 165.0
74         },
75         "params": 1
76       },
77       {
78         "id": "GUINandGate",
79         "name": "GUINandGate#2",
80         "pos": {
81           "x": 20.0,
82           "y": 115.0
83         },
84         "params": 1
85       },
86       {
87         "id": "WireCrossPoint",
88         "name": "WireCrossPoint#1",
89         "pos": {
90           "x": 14.0,
91           "y": 74.0
92         },
93         "params": 1
94       },
95       {
96         "id": "WireCrossPoint",
97         "name": "WireCrossPoint#0",
98         "pos": {
99           "x": 14.0,
100           "y": 24.0
101         },
102         "params": 1
103       },
104       {
105         "id": "WireCrossPoint",
106         "name": "WireCrossPoint#3",
107         "pos": {
108           "x": 14.0,
109           "y": 174.0
110         },
111         "params": 1
112       },
113       {
114         "id": "WireCrossPoint",
115         "name": "WireCrossPoint#2",
116         "pos": {
117           "x": 14.0,
118           "y": 124.0
119         },
120         "params": 1
121       },
122       {
123         "id": "WireCrossPoint",
124         "name": "WireCrossPoint#5",
125         "pos": {
126           "x": 104.0,
127           "y": 149.0
128         },
129         "params": 1
130       },
131       {
132         "id": "WireCrossPoint",
133         "name": "WireCrossPoint#4",
134         "pos": {
135           "x": 104.0,
136           "y": 49.0
137         },
138         "params": 1
139       },
140       {
141         "id": "GUINandGate",
142         "name": "GUINandGate#8",
143         "pos": {
144           "x": 140.0,
145           "y": 90.0
146         },
147         "params": 1
148       },
149       {
150         "id": "GUINandGate",
151         "name": "GUINandGate#5",
152         "pos": {
153           "x": 50.0,
154           "y": 140.0
155         },
156         "params": 1
157       },
158       {
159         "id": "GUINandGate",
160         "name": "GUINandGate#4",
161         "pos": {
162           "x": 50.0,
163           "y": 40.0
164         },
165         "params": 1
166       },
167       {
168         "id": "GUINandGate",
169         "name": "GUINandGate#7",
170         "pos": {
171           "x": 110.0,
172           "y": 140.0
173         },
174         "params": 1
175       },
176       {
177         "id": "GUINandGate",
178         "name": "GUINandGate#6",
179         "pos": {
180           "x": 110.0,
181           "y": 40.0
182         },
183         "params": 1
184       }
185     ],
186     "innerWires": [
187       {
188         "pin1": {
189           "compName": "GUINandGate#2",
190           "pinName": "Y"
191         },
192         "pin2": {
193           "compName": "GUINandGate#5",
194           "pinName": "A"
195         },
196         "name": "unnamedWire#14"
197       },
198       {
199         "pin1": {
200           "compName": "GUINandGate#1",
201           "pinName": "Y"
202         },
203         "pin2": {
204           "compName": "GUINandGate#4",
205           "pinName": "B"
206         },
207         "name": "unnamedWire#13"
208       },
209       {
210         "pin1": {
211           "compName": "GUINandGate#4",
212           "pinName": "Y"
213         },
214         "pin2": {
215           "compName": "WireCrossPoint#4",
216           "pinName": ""
217         },
218         "name": "unnamedWire#16",
219         "path": []
220       },
221       {
222         "pin1": {
223           "compName": "GUINandGate#3",
224           "pinName": "Y"
225         },
226         "pin2": {
227           "compName": "GUINandGate#5",
228           "pinName": "B"
229         },
230         "name": "unnamedWire#15"
231       },
232       {
233         "pin1": {
234           "compName": "WireCrossPoint#4",
235           "pinName": ""
236         },
237         "pin2": {
238           "compName": "GUINandGate#6",
239           "pinName": "A"
240         },
241         "name": "unnamedWire#18",
242         "path": [
243           {
244             "x": 105.0,
245             "y": 45.0
246           }
247         ]
248       },
249       {
250         "pin1": {
251           "compName": "GUINandGate#5",
252           "pinName": "Y"
253         },
254         "pin2": {
255           "compName": "WireCrossPoint#5",
256           "pinName": ""
257         },
258         "name": "unnamedWire#17",
259         "path": []
260       },
261       {
262         "pin1": {
263           "compName": "WireCrossPoint#4",
264           "pinName": ""
265         },
266         "pin2": {
267           "compName": "GUINandGate#6",
268           "pinName": "B"
269         },
270         "name": "unnamedWire#19",
271         "path": [
272           {
273             "x": 105.0,
274             "y": 55.0
275           }
276         ]
277       },
278       {
279         "pin1": {
280           "compName": "WireCrossPoint#5",
281           "pinName": ""
282         },
283         "pin2": {
284           "compName": "GUINandGate#7",
285           "pinName": "B"
286         },
287         "name": "unnamedWire#21",
288         "path": [
289           {
290             "x": 105.0,
291             "y": 155.0
292           }
293         ]
294       },
295       {
296         "pin1": {
297           "compName": "WireCrossPoint#5",
298           "pinName": ""
299         },
300         "pin2": {
301           "compName": "GUINandGate#7",
302           "pinName": "A"
303         },
304         "name": "unnamedWire#20",
305         "path": [
306           {
307             "x": 105.0,
308             "y": 145.0
309           }
310         ]
311       },
312       {
313         "pin1": {
314           "compName": "GUINandGate#7",
315           "pinName": "Y"
316         },
317         "pin2": {
318           "compName": "GUINandGate#8",
319           "pinName": "B"
320         },
321         "name": "unnamedWire#23"
322       },
323       {
324         "pin1": {
325           "compName": "GUINandGate#6",
326           "pinName": "Y"
327         },
328         "pin2": {
329           "compName": "GUINandGate#8",
330           "pinName": "A"
331         },
332         "name": "unnamedWire#22"
333       },
334       {
335         "pin1": {
336           "compName": "GUINandGate#8",
337           "pinName": "Y"
338         },
339         "pin2": {
340           "compName": "_submodelinterface",
341           "pinName": "Y"
342         },
343         "name": "unnamedWire#24"
344       },
345       {
346         "pin1": {
347           "compName": "WireCrossPoint#1",
348           "pinName": ""
349         },
350         "pin2": {
351           "compName": "GUINandGate#1",
352           "pinName": "B"
353         },
354         "name": "unnamedWire#9",
355         "path": [
356           {
357             "x": 15.0,
358             "y": 80.0
359           }
360         ]
361       },
362       {
363         "pin1": {
364           "compName": "WireCrossPoint#0",
365           "pinName": ""
366         },
367         "pin2": {
368           "compName": "GUINandGate#0",
369           "pinName": "B"
370         },
371         "name": "unnamedWire#8",
372         "path": [
373           {
374             "x": 15.0,
375             "y": 30.0
376           }
377         ]
378       },
379       {
380         "pin1": {
381           "compName": "WireCrossPoint#3",
382           "pinName": ""
383         },
384         "pin2": {
385           "compName": "GUINandGate#3",
386           "pinName": "A"
387         },
388         "name": "unnamedWire#7",
389         "path": [
390           {
391             "x": 15.0,
392             "y": 170.0
393           }
394         ]
395       },
396       {
397         "pin1": {
398           "compName": "WireCrossPoint#2",
399           "pinName": ""
400         },
401         "pin2": {
402           "compName": "GUINandGate#2",
403           "pinName": "A"
404         },
405         "name": "unnamedWire#6",
406         "path": [
407           {
408             "x": 15.0,
409             "y": 120.0
410           }
411         ]
412       },
413       {
414         "pin1": {
415           "compName": "_submodelinterface",
416           "pinName": "A2"
417         },
418         "pin2": {
419           "compName": "WireCrossPoint#1",
420           "pinName": ""
421         },
422         "name": "unnamedWire#1",
423         "path": []
424       },
425       {
426         "pin1": {
427           "compName": "_submodelinterface",
428           "pinName": "A1"
429         },
430         "pin2": {
431           "compName": "WireCrossPoint#0",
432           "pinName": ""
433         },
434         "name": "unnamedWire#0",
435         "path": []
436       },
437       {
438         "pin1": {
439           "compName": "WireCrossPoint#1",
440           "pinName": ""
441         },
442         "pin2": {
443           "compName": "GUINandGate#1",
444           "pinName": "A"
445         },
446         "name": "unnamedWire#5",
447         "path": [
448           {
449             "x": 15.0,
450             "y": 70.0
451           }
452         ]
453       },
454       {
455         "pin1": {
456           "compName": "WireCrossPoint#2",
457           "pinName": ""
458         },
459         "pin2": {
460           "compName": "GUINandGate#2",
461           "pinName": "B"
462         },
463         "name": "unnamedWire#10",
464         "path": [
465           {
466             "x": 15.0,
467             "y": 130.0
468           }
469         ]
470       },
471       {
472         "pin1": {
473           "compName": "WireCrossPoint#0",
474           "pinName": ""
475         },
476         "pin2": {
477           "compName": "GUINandGate#0",
478           "pinName": "A"
479         },
480         "name": "unnamedWire#4",
481         "path": [
482           {
483             "x": 15.0,
484             "y": 20.0
485           }
486         ]
487       },
488       {
489         "pin1": {
490           "compName": "_submodelinterface",
491           "pinName": "A4"
492         },
493         "pin2": {
494           "compName": "WireCrossPoint#3",
495           "pinName": ""
496         },
497         "name": "unnamedWire#3",
498         "path": []
499       },
500       {
501         "pin1": {
502           "compName": "GUINandGate#0",
503           "pinName": "Y"
504         },
505         "pin2": {
506           "compName": "GUINandGate#4",
507           "pinName": "A"
508         },
509         "name": "unnamedWire#12"
510       },
511       {
512         "pin1": {
513           "compName": "_submodelinterface",
514           "pinName": "A3"
515         },
516         "pin2": {
517           "compName": "WireCrossPoint#2",
518           "pinName": ""
519         },
520         "name": "unnamedWire#2",
521         "path": []
522       },
523       {
524         "pin1": {
525           "compName": "WireCrossPoint#3",
526           "pinName": ""
527         },
528         "pin2": {
529           "compName": "GUINandGate#3",
530           "pinName": "B"
531         },
532         "name": "unnamedWire#11",
533         "path": [
534           {
535             "x": 15.0,
536             "y": 180.0
537           }
538         ]
539       }
540     ]
541   },
542   "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
543   "symbolRendererParams": {
544     "centerText": "GUIor4",
545     "centerTextHeight": 5.0,
546     "horizontalComponentCenter": 17.5,
547     "pinLabelHeight": 3.5,
548     "pinLabelMargin": 0.5
549   },
550   "outlineRendererSnippetID": "class:net.mograsim.logic.model.snippets.outlinerenderers.DefaultOutlineRenderer"
551 }