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