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