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