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