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