Cleaned and41
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / andor414.json
1 {
2   "width": 35.0,
3   "height": 90.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 45.0
9       },
10       "name": "A1",
11       "logicWidth": 1,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 55.0
18       },
19       "name": "A2",
20       "logicWidth": 1,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 0.0,
26         "y": 65.0
27       },
28       "name": "A3",
29       "logicWidth": 1,
30       "usage": "INPUT"
31     },
32     {
33       "location": {
34         "x": 0.0,
35         "y": 75.0
36       },
37       "name": "A4",
38       "logicWidth": 1,
39       "usage": "INPUT"
40     },
41     {
42       "location": {
43         "x": 0.0,
44         "y": 85.0
45       },
46       "name": "B",
47       "logicWidth": 1,
48       "usage": "INPUT"
49     },
50     {
51       "location": {
52         "x": 0.0,
53         "y": 5.0
54       },
55       "name": "C1",
56       "logicWidth": 1,
57       "usage": "INPUT"
58     },
59     {
60       "location": {
61         "x": 0.0,
62         "y": 15.0
63       },
64       "name": "C2",
65       "logicWidth": 1,
66       "usage": "INPUT"
67     },
68     {
69       "location": {
70         "x": 0.0,
71         "y": 25.0
72       },
73       "name": "C3",
74       "logicWidth": 1,
75       "usage": "INPUT"
76     },
77     {
78       "location": {
79         "x": 0.0,
80         "y": 35.0
81       },
82       "name": "C4",
83       "logicWidth": 1,
84       "usage": "INPUT"
85     },
86     {
87       "location": {
88         "x": 35.0,
89         "y": 5.0
90       },
91       "name": "Y1",
92       "logicWidth": 1,
93       "usage": "OUTPUT"
94     },
95     {
96       "location": {
97         "x": 35.0,
98         "y": 15.0
99       },
100       "name": "Y2",
101       "logicWidth": 1,
102       "usage": "OUTPUT"
103     },
104     {
105       "location": {
106         "x": 35.0,
107         "y": 25.0
108       },
109       "name": "Y3",
110       "logicWidth": 1,
111       "usage": "OUTPUT"
112     },
113     {
114       "location": {
115         "x": 35.0,
116         "y": 35.0
117       },
118       "name": "Y4",
119       "logicWidth": 1,
120       "usage": "OUTPUT"
121     }
122   ],
123   "innerScale": 0.4,
124   "submodel": {
125     "components": [
126       {
127         "id": "Splitter",
128         "name": "Splitter#0",
129         "pos": {
130           "x": 20.0,
131           "y": 82.5
132         },
133         "params": {
134           "logicWidth": 4,
135           "orientation": "RIGHT"
136         }
137       },
138       {
139         "id": "Splitter",
140         "name": "Splitter#1",
141         "pos": {
142           "x": 15.0,
143           "y": 142.5
144         },
145         "params": {
146           "logicWidth": 4,
147           "orientation": "LEFT"
148         }
149       },
150       {
151         "id": "and41",
152         "name": "and41#0",
153         "pos": {
154           "x": 35.0,
155           "y": 142.5
156         }
157       },
158       {
159         "id": "or_4",
160         "name": "or_4#0",
161         "pos": {
162           "x": 35.0,
163           "y": 37.5
164         }
165       }
166     ],
167     "wires": [
168       {
169         "pin1": {
170           "compName": "_submodelinterface",
171           "pinName": "A4"
172         },
173         "pin2": {
174           "compName": "Splitter#1",
175           "pinName": "O3"
176         },
177         "name": "unnamedWire#0",
178         "path": []
179       },
180       {
181         "pin1": {
182           "compName": "_submodelinterface",
183           "pinName": "A3"
184         },
185         "pin2": {
186           "compName": "Splitter#1",
187           "pinName": "O2"
188         },
189         "name": "unnamedWire#1",
190         "path": []
191       },
192       {
193         "pin1": {
194           "compName": "_submodelinterface",
195           "pinName": "A2"
196         },
197         "pin2": {
198           "compName": "Splitter#1",
199           "pinName": "O1"
200         },
201         "name": "unnamedWire#2",
202         "path": []
203       },
204       {
205         "pin1": {
206           "compName": "Splitter#1",
207           "pinName": "O0"
208         },
209         "pin2": {
210           "compName": "_submodelinterface",
211           "pinName": "A1"
212         },
213         "name": "unnamedWire#3",
214         "path": []
215       },
216       {
217         "pin1": {
218           "compName": "_submodelinterface",
219           "pinName": "B"
220         },
221         "pin2": {
222           "compName": "and41#0",
223           "pinName": "B"
224         },
225         "name": "unnamedWire#4",
226         "path": [
227           {
228             "x": 30.0,
229             "y": 212.5
230           },
231           {
232             "x": 30.0,
233             "y": 172.5
234           }
235         ]
236       },
237       {
238         "pin1": {
239           "compName": "_submodelinterface",
240           "pinName": "C1"
241         },
242         "pin2": {
243           "compName": "or_4#0",
244           "pinName": "A1"
245         },
246         "name": "unnamedWire#5",
247         "path": [
248           {
249             "x": 10.0,
250             "y": 12.5
251           },
252           {
253             "x": 10.0,
254             "y": 42.5
255           }
256         ]
257       },
258       {
259         "pin1": {
260           "compName": "_submodelinterface",
261           "pinName": "C2"
262         },
263         "pin2": {
264           "compName": "or_4#0",
265           "pinName": "A2"
266         },
267         "name": "unnamedWire#6",
268         "path": [
269           {
270             "x": 5.0,
271             "y": 37.5
272           },
273           {
274             "x": 5.0,
275             "y": 52.5
276           }
277         ]
278       },
279       {
280         "pin1": {
281           "compName": "_submodelinterface",
282           "pinName": "C3"
283         },
284         "pin2": {
285           "compName": "or_4#0",
286           "pinName": "A3"
287         },
288         "name": "unnamedWire#7",
289         "path": []
290       },
291       {
292         "pin1": {
293           "compName": "_submodelinterface",
294           "pinName": "C4"
295         },
296         "pin2": {
297           "compName": "or_4#0",
298           "pinName": "A4"
299         },
300         "name": "unnamedWire#8",
301         "path": [
302           {
303             "x": 5.0,
304             "y": 87.5
305           },
306           {
307             "x": 5.0,
308             "y": 72.5
309           }
310         ]
311       },
312       {
313         "pin1": {
314           "compName": "Splitter#0",
315           "pinName": "O3"
316         },
317         "pin2": {
318           "compName": "or_4#0",
319           "pinName": "B4"
320         },
321         "name": "unnamedWire#9",
322         "path": []
323       },
324       {
325         "pin1": {
326           "compName": "Splitter#0",
327           "pinName": "O2"
328         },
329         "pin2": {
330           "compName": "or_4#0",
331           "pinName": "B3"
332         },
333         "name": "unnamedWire#10",
334         "path": []
335       },
336       {
337         "pin1": {
338           "compName": "or_4#0",
339           "pinName": "B2"
340         },
341         "pin2": {
342           "compName": "Splitter#0",
343           "pinName": "O1"
344         },
345         "name": "unnamedWire#11",
346         "path": []
347       },
348       {
349         "pin1": {
350           "compName": "Splitter#0",
351           "pinName": "O0"
352         },
353         "pin2": {
354           "compName": "or_4#0",
355           "pinName": "B1"
356         },
357         "name": "unnamedWire#12",
358         "path": []
359       },
360       {
361         "pin1": {
362           "compName": "or_4#0",
363           "pinName": "Y1"
364         },
365         "pin2": {
366           "compName": "_submodelinterface",
367           "pinName": "Y1"
368         },
369         "name": "unnamedWire#13",
370         "path": [
371           {
372             "x": 75.0,
373             "y": 42.5
374           },
375           {
376             "x": 75.0,
377             "y": 12.5
378           }
379         ]
380       },
381       {
382         "pin1": {
383           "compName": "or_4#0",
384           "pinName": "Y2"
385         },
386         "pin2": {
387           "compName": "_submodelinterface",
388           "pinName": "Y2"
389         },
390         "name": "unnamedWire#14",
391         "path": [
392           {
393             "x": 80.0,
394             "y": 52.5
395           },
396           {
397             "x": 80.0,
398             "y": 37.5
399           }
400         ]
401       },
402       {
403         "pin1": {
404           "compName": "or_4#0",
405           "pinName": "Y3"
406         },
407         "pin2": {
408           "compName": "_submodelinterface",
409           "pinName": "Y3"
410         },
411         "name": "unnamedWire#15",
412         "path": []
413       },
414       {
415         "pin1": {
416           "compName": "or_4#0",
417           "pinName": "Y4"
418         },
419         "pin2": {
420           "compName": "_submodelinterface",
421           "pinName": "Y4"
422         },
423         "name": "unnamedWire#16",
424         "path": [
425           {
426             "x": 80.0,
427             "y": 72.5
428           },
429           {
430             "x": 80.0,
431             "y": 87.5
432           }
433         ]
434       },
435       {
436         "pin1": {
437           "compName": "Splitter#0",
438           "pinName": "I"
439         },
440         "pin2": {
441           "compName": "and41#0",
442           "pinName": "Y"
443         },
444         "name": "unnamedWire#17",
445         "path": [
446           {
447             "x": 15.0,
448             "y": 97.5
449           },
450           {
451             "x": 15.0,
452             "y": 127.5
453           },
454           {
455             "x": 75.0,
456             "y": 127.5
457           },
458           {
459             "x": 75.0,
460             "y": 157.5
461           }
462         ]
463       },
464       {
465         "pin1": {
466           "compName": "Splitter#1",
467           "pinName": "I"
468         },
469         "pin2": {
470           "compName": "and41#0",
471           "pinName": "A"
472         },
473         "name": "unnamedWire#18",
474         "path": []
475       }
476     ],
477     "version": "0.1.1"
478   },
479   "symbolRendererSnippetID": "simpleRectangularLike",
480   "symbolRendererParams": {
481     "centerText": "andor414",
482     "centerTextHeight": 5.0,
483     "horizontalComponentCenter": 17.5,
484     "pinLabelHeight": 3.5,
485     "pinLabelMargin": 0.5
486   },
487   "outlineRendererSnippetID": "default",
488   "highLevelStateHandlerSnippetID": "default",
489   "version": "0.1.5"
490 }