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