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