6a1554e82ce480373af411d8b6aca6d4180448a5
[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": "and41",
128         "name": "and41#0",
129         "pos": {
130           "x": 15.0,
131           "y": 142.5
132         }
133       },
134       {
135         "id": "or_4",
136         "name": "or_4#0",
137         "pos": {
138           "x": 35.0,
139           "y": 37.5
140         }
141       }
142     ],
143     "wires": [
144       {
145         "pin1": {
146           "compName": "_submodelinterface",
147           "pinName": "A1"
148         },
149         "pin2": {
150           "compName": "and41#0",
151           "pinName": "A1"
152         },
153         "name": "unnamedWire#0",
154         "path": [
155           {
156             "x": 10.0,
157             "y": 112.5
158           },
159           {
160             "x": 10.0,
161             "y": 147.5
162           }
163         ]
164       },
165       {
166         "pin1": {
167           "compName": "_submodelinterface",
168           "pinName": "A2"
169         },
170         "pin2": {
171           "compName": "and41#0",
172           "pinName": "A2"
173         },
174         "name": "unnamedWire#1",
175         "path": [
176           {
177             "x": 5.0,
178             "y": 137.5
179           },
180           {
181             "x": 5.0,
182             "y": 157.5
183           }
184         ]
185       },
186       {
187         "pin1": {
188           "compName": "_submodelinterface",
189           "pinName": "A3"
190         },
191         "pin2": {
192           "compName": "and41#0",
193           "pinName": "A3"
194         },
195         "name": "unnamedWire#2",
196         "path": [
197           {
198             "x": 10.0,
199             "y": 162.5
200           },
201           {
202             "x": 10.0,
203             "y": 167.5
204           }
205         ]
206       },
207       {
208         "pin1": {
209           "compName": "_submodelinterface",
210           "pinName": "A4"
211         },
212         "pin2": {
213           "compName": "and41#0",
214           "pinName": "A4"
215         },
216         "name": "unnamedWire#3",
217         "path": [
218           {
219             "x": 5.0,
220             "y": 187.5
221           },
222           {
223             "x": 5.0,
224             "y": 177.5
225           }
226         ]
227       },
228       {
229         "pin1": {
230           "compName": "_submodelinterface",
231           "pinName": "B"
232         },
233         "pin2": {
234           "compName": "and41#0",
235           "pinName": "B"
236         },
237         "name": "unnamedWire#4",
238         "path": [
239           {
240             "x": 10.0,
241             "y": 212.5
242           },
243           {
244             "x": 10.0,
245             "y": 187.5
246           }
247         ]
248       },
249       {
250         "pin1": {
251           "compName": "_submodelinterface",
252           "pinName": "C1"
253         },
254         "pin2": {
255           "compName": "or_4#0",
256           "pinName": "A1"
257         },
258         "name": "unnamedWire#5",
259         "path": [
260           {
261             "x": 10.0,
262             "y": 12.5
263           },
264           {
265             "x": 10.0,
266             "y": 42.5
267           }
268         ]
269       },
270       {
271         "pin1": {
272           "compName": "_submodelinterface",
273           "pinName": "C2"
274         },
275         "pin2": {
276           "compName": "or_4#0",
277           "pinName": "A2"
278         },
279         "name": "unnamedWire#6",
280         "path": [
281           {
282             "x": 5.0,
283             "y": 37.5
284           },
285           {
286             "x": 5.0,
287             "y": 52.5
288           }
289         ]
290       },
291       {
292         "pin1": {
293           "compName": "_submodelinterface",
294           "pinName": "C3"
295         },
296         "pin2": {
297           "compName": "or_4#0",
298           "pinName": "A3"
299         },
300         "name": "unnamedWire#7",
301         "path": []
302       },
303       {
304         "pin1": {
305           "compName": "_submodelinterface",
306           "pinName": "C4"
307         },
308         "pin2": {
309           "compName": "or_4#0",
310           "pinName": "A4"
311         },
312         "name": "unnamedWire#8",
313         "path": [
314           {
315             "x": 5.0,
316             "y": 87.5
317           },
318           {
319             "x": 5.0,
320             "y": 72.5
321           }
322         ]
323       },
324       {
325         "pin1": {
326           "compName": "and41#0",
327           "pinName": "Y1"
328         },
329         "pin2": {
330           "compName": "or_4#0",
331           "pinName": "B1"
332         },
333         "name": "unnamedWire#9",
334         "path": [
335           {
336             "x": 50.0,
337             "y": 147.5
338           },
339           {
340             "x": 50.0,
341             "y": 122.5
342           },
343           {
344             "x": 30.0,
345             "y": 122.5
346           },
347           {
348             "x": 30.0,
349             "y": 82.5
350           }
351         ]
352       },
353       {
354         "pin1": {
355           "compName": "and41#0",
356           "pinName": "Y2"
357         },
358         "pin2": {
359           "compName": "or_4#0",
360           "pinName": "B2"
361         },
362         "name": "unnamedWire#10",
363         "path": [
364           {
365             "x": 45.0,
366             "y": 157.5
367           },
368           {
369             "x": 45.0,
370             "y": 127.5
371           },
372           {
373             "x": 25.0,
374             "y": 127.5
375           },
376           {
377             "x": 25.0,
378             "y": 92.5
379           }
380         ]
381       },
382       {
383         "pin1": {
384           "compName": "and41#0",
385           "pinName": "Y3"
386         },
387         "pin2": {
388           "compName": "or_4#0",
389           "pinName": "B3"
390         },
391         "name": "unnamedWire#11",
392         "path": [
393           {
394             "x": 40.0,
395             "y": 167.5
396           },
397           {
398             "x": 40.0,
399             "y": 132.5
400           },
401           {
402             "x": 20.0,
403             "y": 132.5
404           },
405           {
406             "x": 20.0,
407             "y": 102.5
408           }
409         ]
410       },
411       {
412         "pin1": {
413           "compName": "and41#0",
414           "pinName": "Y4"
415         },
416         "pin2": {
417           "compName": "or_4#0",
418           "pinName": "B4"
419         },
420         "name": "unnamedWire#12",
421         "path": [
422           {
423             "x": 35.0,
424             "y": 177.5
425           },
426           {
427             "x": 35.0,
428             "y": 137.5
429           },
430           {
431             "x": 15.0,
432             "y": 137.5
433           },
434           {
435             "x": 15.0,
436             "y": 112.5
437           }
438         ]
439       },
440       {
441         "pin1": {
442           "compName": "or_4#0",
443           "pinName": "Y1"
444         },
445         "pin2": {
446           "compName": "_submodelinterface",
447           "pinName": "Y1"
448         },
449         "name": "unnamedWire#13",
450         "path": [
451           {
452             "x": 75.0,
453             "y": 42.5
454           },
455           {
456             "x": 75.0,
457             "y": 12.5
458           }
459         ]
460       },
461       {
462         "pin1": {
463           "compName": "or_4#0",
464           "pinName": "Y2"
465         },
466         "pin2": {
467           "compName": "_submodelinterface",
468           "pinName": "Y2"
469         },
470         "name": "unnamedWire#14",
471         "path": [
472           {
473             "x": 80.0,
474             "y": 52.5
475           },
476           {
477             "x": 80.0,
478             "y": 37.5
479           }
480         ]
481       },
482       {
483         "pin1": {
484           "compName": "or_4#0",
485           "pinName": "Y3"
486         },
487         "pin2": {
488           "compName": "_submodelinterface",
489           "pinName": "Y3"
490         },
491         "name": "unnamedWire#15",
492         "path": []
493       },
494       {
495         "pin1": {
496           "compName": "or_4#0",
497           "pinName": "Y4"
498         },
499         "pin2": {
500           "compName": "_submodelinterface",
501           "pinName": "Y4"
502         },
503         "name": "unnamedWire#16",
504         "path": [
505           {
506             "x": 80.0,
507             "y": 72.5
508           },
509           {
510             "x": 80.0,
511             "y": 87.5
512           }
513         ]
514       }
515     ],
516     "version": "0.1.1"
517   },
518   "symbolRendererSnippetID": "simpleRectangularLike",
519   "symbolRendererParams": {
520     "centerText": "andor414",
521     "centerTextHeight": 5.0,
522     "horizontalComponentCenter": 17.5,
523     "pinLabelHeight": 3.5,
524     "pinLabelMargin": 0.5
525   },
526   "outlineRendererSnippetID": "default",
527   "highLevelStateHandlerSnippetID": "default",
528   "version": "0.1.5"
529 }