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