d8d7c36a1edac744418b70ffd56758e68410c579
[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": "NandGate#0",
214           "pinName": "Y"
215         },
216         "pin2": {
217           "compName": "WireCrossPoint#6",
218           "pinName": ""
219         },
220         "name": "unnamedWire#10",
221         "path": []
222       },
223       {
224         "pin1": {
225           "compName": "NandGate#1",
226           "pinName": "Y"
227         },
228         "pin2": {
229           "compName": "WireCrossPoint#7",
230           "pinName": ""
231         },
232         "name": "unnamedWire#11",
233         "path": []
234       },
235       {
236         "pin1": {
237           "compName": "WireCrossPoint#6",
238           "pinName": ""
239         },
240         "pin2": {
241           "compName": "and#0",
242           "pinName": "A"
243         },
244         "name": "unnamedWire#12",
245         "path": [
246           {
247             "x": 32.5,
248             "y": 7.5
249           }
250         ]
251       },
252       {
253         "pin1": {
254           "compName": "WireCrossPoint#7",
255           "pinName": ""
256         },
257         "pin2": {
258           "compName": "and#0",
259           "pinName": "B"
260         },
261         "name": "unnamedWire#13",
262         "path": [
263           {
264             "x": 35.0,
265             "y": 17.5
266           }
267         ]
268       },
269       {
270         "pin1": {
271           "compName": "WireCrossPoint#2",
272           "pinName": ""
273         },
274         "pin2": {
275           "compName": "and#1",
276           "pinName": "A"
277         },
278         "name": "unnamedWire#14",
279         "path": [
280           {
281             "x": 37.5,
282             "y": 32.5
283           }
284         ]
285       },
286       {
287         "pin1": {
288           "compName": "WireCrossPoint#7",
289           "pinName": ""
290         },
291         "pin2": {
292           "compName": "and#1",
293           "pinName": "B"
294         },
295         "name": "unnamedWire#15",
296         "path": [
297           {
298             "x": 35.0,
299             "y": 42.5
300           }
301         ]
302       },
303       {
304         "pin1": {
305           "compName": "WireCrossPoint#6",
306           "pinName": ""
307         },
308         "pin2": {
309           "compName": "and#2",
310           "pinName": "A"
311         },
312         "name": "unnamedWire#16",
313         "path": [
314           {
315             "x": 32.5,
316             "y": 57.5
317           }
318         ]
319       },
320       {
321         "pin1": {
322           "compName": "WireCrossPoint#5",
323           "pinName": ""
324         },
325         "pin2": {
326           "compName": "and#2",
327           "pinName": "B"
328         },
329         "name": "unnamedWire#17",
330         "path": []
331       },
332       {
333         "pin1": {
334           "compName": "WireCrossPoint#2",
335           "pinName": ""
336         },
337         "pin2": {
338           "compName": "and#3",
339           "pinName": "A"
340         },
341         "name": "unnamedWire#18",
342         "path": [
343           {
344             "x": 37.5,
345             "y": 82.5
346           }
347         ]
348       },
349       {
350         "pin1": {
351           "compName": "WireCrossPoint#5",
352           "pinName": ""
353         },
354         "pin2": {
355           "compName": "and#3",
356           "pinName": "B"
357         },
358         "name": "unnamedWire#19",
359         "path": [
360           {
361             "x": 32.5,
362             "y": 92.5
363           }
364         ]
365       },
366       {
367         "pin1": {
368           "compName": "WireCrossPoint#0",
369           "pinName": ""
370         },
371         "pin2": {
372           "compName": "NandGate#0",
373           "pinName": "A"
374         },
375         "name": "unnamedWire#2",
376         "path": [
377           {
378             "x": 7.5,
379             "y": 7.5
380           }
381         ]
382       },
383       {
384         "pin1": {
385           "compName": "and#0",
386           "pinName": "Y"
387         },
388         "pin2": {
389           "compName": "_submodelinterface",
390           "pinName": "Y00"
391         },
392         "name": "unnamedWire#20"
393       },
394       {
395         "pin1": {
396           "compName": "and#1",
397           "pinName": "Y"
398         },
399         "pin2": {
400           "compName": "_submodelinterface",
401           "pinName": "Y01"
402         },
403         "name": "unnamedWire#21"
404       },
405       {
406         "pin1": {
407           "compName": "and#2",
408           "pinName": "Y"
409         },
410         "pin2": {
411           "compName": "_submodelinterface",
412           "pinName": "Y10"
413         },
414         "name": "unnamedWire#22"
415       },
416       {
417         "pin1": {
418           "compName": "and#3",
419           "pinName": "Y"
420         },
421         "pin2": {
422           "compName": "_submodelinterface",
423           "pinName": "Y11"
424         },
425         "name": "unnamedWire#23"
426       },
427       {
428         "pin1": {
429           "compName": "WireCrossPoint#3",
430           "pinName": ""
431         },
432         "pin2": {
433           "compName": "NandGate#1",
434           "pinName": "A"
435         },
436         "name": "unnamedWire#3",
437         "path": [
438           {
439             "x": 5.0,
440             "y": 32.5
441           }
442         ]
443       },
444       {
445         "pin1": {
446           "compName": "WireCrossPoint#0",
447           "pinName": ""
448         },
449         "pin2": {
450           "compName": "WireCrossPoint#1",
451           "pinName": ""
452         },
453         "name": "unnamedWire#4",
454         "path": []
455       },
456       {
457         "pin1": {
458           "compName": "WireCrossPoint#3",
459           "pinName": ""
460         },
461         "pin2": {
462           "compName": "WireCrossPoint#4",
463           "pinName": ""
464         },
465         "name": "unnamedWire#5",
466         "path": []
467       },
468       {
469         "pin1": {
470           "compName": "WireCrossPoint#1",
471           "pinName": ""
472         },
473         "pin2": {
474           "compName": "NandGate#0",
475           "pinName": "B"
476         },
477         "name": "unnamedWire#6",
478         "path": []
479       },
480       {
481         "pin1": {
482           "compName": "WireCrossPoint#4",
483           "pinName": ""
484         },
485         "pin2": {
486           "compName": "NandGate#1",
487           "pinName": "B"
488         },
489         "name": "unnamedWire#7",
490         "path": []
491       },
492       {
493         "pin1": {
494           "compName": "WireCrossPoint#1",
495           "pinName": ""
496         },
497         "pin2": {
498           "compName": "WireCrossPoint#2",
499           "pinName": ""
500         },
501         "name": "unnamedWire#8",
502         "path": [
503           {
504             "x": 7.5,
505             "y": 62.5
506           }
507         ]
508       },
509       {
510         "pin1": {
511           "compName": "WireCrossPoint#4",
512           "pinName": ""
513         },
514         "pin2": {
515           "compName": "WireCrossPoint#5",
516           "pinName": ""
517         },
518         "name": "unnamedWire#9",
519         "path": [
520           {
521             "x": 5.0,
522             "y": 67.5
523           },
524           {
525             "x": 32.5,
526             "y": 67.5
527           }
528         ]
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 }