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