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