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