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