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