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