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