Merge branch 'development' of
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUInot4.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 40.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 0.0,
9         "y": 5.0
10       },
11       "name": "A1",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "A2",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 0.0,
25         "y": 25.0
26       },
27       "name": "A3",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 0.0,
33         "y": 35.0
34       },
35       "name": "A4",
36       "logicWidth": 1
37     },
38     {
39       "location": {
40         "x": 35.0,
41         "y": 5.0
42       },
43       "name": "Y1",
44       "logicWidth": 1
45     },
46     {
47       "location": {
48         "x": 35.0,
49         "y": 15.0
50       },
51       "name": "Y2",
52       "logicWidth": 1
53     },
54     {
55       "location": {
56         "x": 35.0,
57         "y": 25.0
58       },
59       "name": "Y3",
60       "logicWidth": 1
61     },
62     {
63       "location": {
64         "x": 35.0,
65         "y": 35.0
66       },
67       "name": "Y4",
68       "logicWidth": 1
69     }
70   ],
71   "submodel": {
72     "innerScale": 0.4,
73     "subComps": [
74       {
75         "pos": {
76           "x": 30.0,
77           "y": 27.5
78         },
79         "id": "GUINandGate",
80         "name": "GUINandGate#1",
81         "params": 1
82       },
83       {
84         "pos": {
85           "x": 30.0,
86           "y": 2.5
87         },
88         "id": "GUINandGate",
89         "name": "GUINandGate#0",
90         "params": 1
91       },
92       {
93         "pos": {
94           "x": 30.0,
95           "y": 77.5
96         },
97         "id": "GUINandGate",
98         "name": "GUINandGate#3",
99         "params": 1
100       },
101       {
102         "pos": {
103           "x": 14.0,
104           "y": 36.5
105         },
106         "id": "WireCrossPoint",
107         "name": "WireCrossPoint#1",
108         "params": 1
109       },
110       {
111         "pos": {
112           "x": 30.0,
113           "y": 52.5
114         },
115         "id": "GUINandGate",
116         "name": "GUINandGate#2",
117         "params": 1
118       },
119       {
120         "pos": {
121           "x": 14.0,
122           "y": 11.5
123         },
124         "id": "WireCrossPoint",
125         "name": "WireCrossPoint#0",
126         "params": 1
127       },
128       {
129         "pos": {
130           "x": 14.0,
131           "y": 86.5
132         },
133         "id": "WireCrossPoint",
134         "name": "WireCrossPoint#3",
135         "params": 1
136       },
137       {
138         "pos": {
139           "x": 14.0,
140           "y": 61.5
141         },
142         "id": "WireCrossPoint",
143         "name": "WireCrossPoint#2",
144         "params": 1
145       }
146     ],
147     "innerWires": [
148       {
149         "pin1": {
150           "compName": "_submodelinterface",
151           "pinName": "A1"
152         },
153         "pin2": {
154           "compName": "WireCrossPoint#0",
155           "pinName": ""
156         },
157         "path": []
158       },
159       {
160         "pin1": {
161           "compName": "_submodelinterface",
162           "pinName": "A2"
163         },
164         "pin2": {
165           "compName": "WireCrossPoint#1",
166           "pinName": ""
167         },
168         "path": []
169       },
170       {
171         "pin1": {
172           "compName": "_submodelinterface",
173           "pinName": "A3"
174         },
175         "pin2": {
176           "compName": "WireCrossPoint#2",
177           "pinName": ""
178         },
179         "path": []
180       },
181       {
182         "pin1": {
183           "compName": "_submodelinterface",
184           "pinName": "A4"
185         },
186         "pin2": {
187           "compName": "WireCrossPoint#3",
188           "pinName": ""
189         },
190         "path": []
191       },
192       {
193         "pin1": {
194           "compName": "WireCrossPoint#0",
195           "pinName": ""
196         },
197         "pin2": {
198           "compName": "GUINandGate#0",
199           "pinName": "A"
200         },
201         "path": [
202           {
203             "x": 15.0,
204             "y": 7.5
205           }
206         ]
207       },
208       {
209         "pin1": {
210           "compName": "WireCrossPoint#1",
211           "pinName": ""
212         },
213         "pin2": {
214           "compName": "GUINandGate#1",
215           "pinName": "A"
216         },
217         "path": [
218           {
219             "x": 15.0,
220             "y": 32.5
221           }
222         ]
223       },
224       {
225         "pin1": {
226           "compName": "WireCrossPoint#2",
227           "pinName": ""
228         },
229         "pin2": {
230           "compName": "GUINandGate#2",
231           "pinName": "A"
232         },
233         "path": [
234           {
235             "x": 15.0,
236             "y": 57.5
237           }
238         ]
239       },
240       {
241         "pin1": {
242           "compName": "WireCrossPoint#3",
243           "pinName": ""
244         },
245         "pin2": {
246           "compName": "GUINandGate#3",
247           "pinName": "A"
248         },
249         "path": [
250           {
251             "x": 15.0,
252             "y": 82.5
253           }
254         ]
255       },
256       {
257         "pin1": {
258           "compName": "WireCrossPoint#0",
259           "pinName": ""
260         },
261         "pin2": {
262           "compName": "GUINandGate#0",
263           "pinName": "B"
264         },
265         "path": [
266           {
267             "x": 15.0,
268             "y": 17.5
269           }
270         ]
271       },
272       {
273         "pin1": {
274           "compName": "WireCrossPoint#1",
275           "pinName": ""
276         },
277         "pin2": {
278           "compName": "GUINandGate#1",
279           "pinName": "B"
280         },
281         "path": [
282           {
283             "x": 15.0,
284             "y": 42.5
285           }
286         ]
287       },
288       {
289         "pin1": {
290           "compName": "WireCrossPoint#2",
291           "pinName": ""
292         },
293         "pin2": {
294           "compName": "GUINandGate#2",
295           "pinName": "B"
296         },
297         "path": [
298           {
299             "x": 15.0,
300             "y": 67.5
301           }
302         ]
303       },
304       {
305         "pin1": {
306           "compName": "WireCrossPoint#3",
307           "pinName": ""
308         },
309         "pin2": {
310           "compName": "GUINandGate#3",
311           "pinName": "B"
312         },
313         "path": [
314           {
315             "x": 15.0,
316             "y": 92.5
317           }
318         ]
319       },
320       {
321         "pin1": {
322           "compName": "GUINandGate#0",
323           "pinName": "Y"
324         },
325         "pin2": {
326           "compName": "_submodelinterface",
327           "pinName": "Y1"
328         },
329         "path": []
330       },
331       {
332         "pin1": {
333           "compName": "GUINandGate#1",
334           "pinName": "Y"
335         },
336         "pin2": {
337           "compName": "_submodelinterface",
338           "pinName": "Y2"
339         },
340         "path": []
341       },
342       {
343         "pin1": {
344           "compName": "GUINandGate#2",
345           "pinName": "Y"
346         },
347         "pin2": {
348           "compName": "_submodelinterface",
349           "pinName": "Y3"
350         },
351         "path": []
352       },
353       {
354         "pin1": {
355           "compName": "GUINandGate#3",
356           "pinName": "Y"
357         },
358         "pin2": {
359           "compName": "_submodelinterface",
360           "pinName": "Y4"
361         },
362         "path": []
363       }
364     ]
365   },
366   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
367   "symbolRendererParams": {
368     "centerText": "GUInot4",
369     "horizontalComponentCenter": 17.5,
370     "centerTextHeight": 5.0,
371     "pinLabelHeight": 3.5,
372     "pinLabelMargin": 0.5
373   }
374 }