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