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