Merge branch 'cont-integr-2' into 'development'
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / or4.json
1 {
2   "width": 35.0,
3   "height": 40.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 5.0
9       },
10       "name": "A1",
11       "logicWidth": 1,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "A2",
20       "logicWidth": 1,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 0.0,
26         "y": 25.0
27       },
28       "name": "A3",
29       "logicWidth": 1,
30       "usage": "INPUT"
31     },
32     {
33       "location": {
34         "x": 0.0,
35         "y": 35.0
36       },
37       "name": "A4",
38       "logicWidth": 1,
39       "usage": "INPUT"
40     },
41     {
42       "location": {
43         "x": 35.0,
44         "y": 5.0
45       },
46       "name": "Y",
47       "logicWidth": 1,
48       "usage": "OUTPUT"
49     }
50   ],
51   "innerScale": 0.2,
52   "submodel": {
53     "components": [
54       {
55         "id": "NandGate",
56         "name": "NandGate#0",
57         "pos": {
58           "x": 20.0,
59           "y": 15.0
60         },
61         "params": 1
62       },
63       {
64         "id": "NandGate",
65         "name": "NandGate#1",
66         "pos": {
67           "x": 20.0,
68           "y": 65.0
69         },
70         "params": 1
71       },
72       {
73         "id": "NandGate",
74         "name": "NandGate#2",
75         "pos": {
76           "x": 20.0,
77           "y": 115.0
78         },
79         "params": 1
80       },
81       {
82         "id": "NandGate",
83         "name": "NandGate#3",
84         "pos": {
85           "x": 20.0,
86           "y": 165.0
87         },
88         "params": 1
89       },
90       {
91         "id": "NandGate",
92         "name": "NandGate#4",
93         "pos": {
94           "x": 50.0,
95           "y": 40.0
96         },
97         "params": 1
98       },
99       {
100         "id": "NandGate",
101         "name": "NandGate#5",
102         "pos": {
103           "x": 50.0,
104           "y": 140.0
105         },
106         "params": 1
107       },
108       {
109         "id": "NandGate",
110         "name": "NandGate#6",
111         "pos": {
112           "x": 110.0,
113           "y": 40.0
114         },
115         "params": 1
116       },
117       {
118         "id": "NandGate",
119         "name": "NandGate#7",
120         "pos": {
121           "x": 110.0,
122           "y": 140.0
123         },
124         "params": 1
125       },
126       {
127         "id": "NandGate",
128         "name": "NandGate#8",
129         "pos": {
130           "x": 140.0,
131           "y": 90.0
132         },
133         "params": 1
134       },
135       {
136         "id": "WireCrossPoint",
137         "name": "WireCrossPoint#0",
138         "pos": {
139           "x": 14.0,
140           "y": 24.0
141         },
142         "params": 1
143       },
144       {
145         "id": "WireCrossPoint",
146         "name": "WireCrossPoint#1",
147         "pos": {
148           "x": 14.0,
149           "y": 74.0
150         },
151         "params": 1
152       },
153       {
154         "id": "WireCrossPoint",
155         "name": "WireCrossPoint#2",
156         "pos": {
157           "x": 14.0,
158           "y": 124.0
159         },
160         "params": 1
161       },
162       {
163         "id": "WireCrossPoint",
164         "name": "WireCrossPoint#3",
165         "pos": {
166           "x": 14.0,
167           "y": 174.0
168         },
169         "params": 1
170       },
171       {
172         "id": "WireCrossPoint",
173         "name": "WireCrossPoint#4",
174         "pos": {
175           "x": 104.0,
176           "y": 49.0
177         },
178         "params": 1
179       },
180       {
181         "id": "WireCrossPoint",
182         "name": "WireCrossPoint#5",
183         "pos": {
184           "x": 104.0,
185           "y": 149.0
186         },
187         "params": 1
188       }
189     ],
190     "wires": [
191       {
192         "pin1": {
193           "compName": "_submodelinterface",
194           "pinName": "A1"
195         },
196         "pin2": {
197           "compName": "WireCrossPoint#0",
198           "pinName": ""
199         },
200         "name": "unnamedWire#0",
201         "path": []
202       },
203       {
204         "pin1": {
205           "compName": "_submodelinterface",
206           "pinName": "A2"
207         },
208         "pin2": {
209           "compName": "WireCrossPoint#1",
210           "pinName": ""
211         },
212         "name": "unnamedWire#1",
213         "path": []
214       },
215       {
216         "pin1": {
217           "compName": "WireCrossPoint#2",
218           "pinName": ""
219         },
220         "pin2": {
221           "compName": "NandGate#2",
222           "pinName": "B"
223         },
224         "name": "unnamedWire#10",
225         "path": [
226           {
227             "x": 15.0,
228             "y": 130.0
229           }
230         ]
231       },
232       {
233         "pin1": {
234           "compName": "WireCrossPoint#3",
235           "pinName": ""
236         },
237         "pin2": {
238           "compName": "NandGate#3",
239           "pinName": "B"
240         },
241         "name": "unnamedWire#11",
242         "path": [
243           {
244             "x": 15.0,
245             "y": 180.0
246           }
247         ]
248       },
249       {
250         "pin1": {
251           "compName": "NandGate#0",
252           "pinName": "Y"
253         },
254         "pin2": {
255           "compName": "NandGate#4",
256           "pinName": "A"
257         },
258         "name": "unnamedWire#12"
259       },
260       {
261         "pin1": {
262           "compName": "NandGate#1",
263           "pinName": "Y"
264         },
265         "pin2": {
266           "compName": "NandGate#4",
267           "pinName": "B"
268         },
269         "name": "unnamedWire#13"
270       },
271       {
272         "pin1": {
273           "compName": "NandGate#2",
274           "pinName": "Y"
275         },
276         "pin2": {
277           "compName": "NandGate#5",
278           "pinName": "A"
279         },
280         "name": "unnamedWire#14"
281       },
282       {
283         "pin1": {
284           "compName": "NandGate#3",
285           "pinName": "Y"
286         },
287         "pin2": {
288           "compName": "NandGate#5",
289           "pinName": "B"
290         },
291         "name": "unnamedWire#15"
292       },
293       {
294         "pin1": {
295           "compName": "NandGate#4",
296           "pinName": "Y"
297         },
298         "pin2": {
299           "compName": "WireCrossPoint#4",
300           "pinName": ""
301         },
302         "name": "unnamedWire#16",
303         "path": []
304       },
305       {
306         "pin1": {
307           "compName": "NandGate#5",
308           "pinName": "Y"
309         },
310         "pin2": {
311           "compName": "WireCrossPoint#5",
312           "pinName": ""
313         },
314         "name": "unnamedWire#17",
315         "path": []
316       },
317       {
318         "pin1": {
319           "compName": "WireCrossPoint#4",
320           "pinName": ""
321         },
322         "pin2": {
323           "compName": "NandGate#6",
324           "pinName": "A"
325         },
326         "name": "unnamedWire#18",
327         "path": [
328           {
329             "x": 105.0,
330             "y": 45.0
331           }
332         ]
333       },
334       {
335         "pin1": {
336           "compName": "WireCrossPoint#4",
337           "pinName": ""
338         },
339         "pin2": {
340           "compName": "NandGate#6",
341           "pinName": "B"
342         },
343         "name": "unnamedWire#19",
344         "path": [
345           {
346             "x": 105.0,
347             "y": 55.0
348           }
349         ]
350       },
351       {
352         "pin1": {
353           "compName": "_submodelinterface",
354           "pinName": "A3"
355         },
356         "pin2": {
357           "compName": "WireCrossPoint#2",
358           "pinName": ""
359         },
360         "name": "unnamedWire#2",
361         "path": []
362       },
363       {
364         "pin1": {
365           "compName": "WireCrossPoint#5",
366           "pinName": ""
367         },
368         "pin2": {
369           "compName": "NandGate#7",
370           "pinName": "A"
371         },
372         "name": "unnamedWire#20",
373         "path": [
374           {
375             "x": 105.0,
376             "y": 145.0
377           }
378         ]
379       },
380       {
381         "pin1": {
382           "compName": "WireCrossPoint#5",
383           "pinName": ""
384         },
385         "pin2": {
386           "compName": "NandGate#7",
387           "pinName": "B"
388         },
389         "name": "unnamedWire#21",
390         "path": [
391           {
392             "x": 105.0,
393             "y": 155.0
394           }
395         ]
396       },
397       {
398         "pin1": {
399           "compName": "NandGate#6",
400           "pinName": "Y"
401         },
402         "pin2": {
403           "compName": "NandGate#8",
404           "pinName": "A"
405         },
406         "name": "unnamedWire#22"
407       },
408       {
409         "pin1": {
410           "compName": "NandGate#7",
411           "pinName": "Y"
412         },
413         "pin2": {
414           "compName": "NandGate#8",
415           "pinName": "B"
416         },
417         "name": "unnamedWire#23"
418       },
419       {
420         "pin1": {
421           "compName": "NandGate#8",
422           "pinName": "Y"
423         },
424         "pin2": {
425           "compName": "_submodelinterface",
426           "pinName": "Y"
427         },
428         "name": "unnamedWire#24"
429       },
430       {
431         "pin1": {
432           "compName": "_submodelinterface",
433           "pinName": "A4"
434         },
435         "pin2": {
436           "compName": "WireCrossPoint#3",
437           "pinName": ""
438         },
439         "name": "unnamedWire#3",
440         "path": []
441       },
442       {
443         "pin1": {
444           "compName": "WireCrossPoint#0",
445           "pinName": ""
446         },
447         "pin2": {
448           "compName": "NandGate#0",
449           "pinName": "A"
450         },
451         "name": "unnamedWire#4",
452         "path": [
453           {
454             "x": 15.0,
455             "y": 20.0
456           }
457         ]
458       },
459       {
460         "pin1": {
461           "compName": "WireCrossPoint#1",
462           "pinName": ""
463         },
464         "pin2": {
465           "compName": "NandGate#1",
466           "pinName": "A"
467         },
468         "name": "unnamedWire#5",
469         "path": [
470           {
471             "x": 15.0,
472             "y": 70.0
473           }
474         ]
475       },
476       {
477         "pin1": {
478           "compName": "WireCrossPoint#2",
479           "pinName": ""
480         },
481         "pin2": {
482           "compName": "NandGate#2",
483           "pinName": "A"
484         },
485         "name": "unnamedWire#6",
486         "path": [
487           {
488             "x": 15.0,
489             "y": 120.0
490           }
491         ]
492       },
493       {
494         "pin1": {
495           "compName": "WireCrossPoint#3",
496           "pinName": ""
497         },
498         "pin2": {
499           "compName": "NandGate#3",
500           "pinName": "A"
501         },
502         "name": "unnamedWire#7",
503         "path": [
504           {
505             "x": 15.0,
506             "y": 170.0
507           }
508         ]
509       },
510       {
511         "pin1": {
512           "compName": "WireCrossPoint#0",
513           "pinName": ""
514         },
515         "pin2": {
516           "compName": "NandGate#0",
517           "pinName": "B"
518         },
519         "name": "unnamedWire#8",
520         "path": [
521           {
522             "x": 15.0,
523             "y": 30.0
524           }
525         ]
526       },
527       {
528         "pin1": {
529           "compName": "WireCrossPoint#1",
530           "pinName": ""
531         },
532         "pin2": {
533           "compName": "NandGate#1",
534           "pinName": "B"
535         },
536         "name": "unnamedWire#9",
537         "path": [
538           {
539             "x": 15.0,
540             "y": 80.0
541           }
542         ]
543       }
544     ],
545     "version": "0.1.1"
546   },
547   "symbolRendererSnippetID": "simpleRectangularLike",
548   "symbolRendererParams": {
549     "centerText": "or4",
550     "centerTextHeight": 5.0,
551     "horizontalComponentCenter": 17.5,
552     "pinLabelHeight": 3.5,
553     "pinLabelMargin": 0.5
554   },
555   "outlineRendererSnippetID": "default",
556   "highLevelStateHandlerSnippetID": "default",
557   "version": "0.1.5"
558 }