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