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