176ee95a16d3e29e3a371ac9158209c866ae8c89
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / xnor.json
1 {
2   "width": 45.0,
3   "height": 20.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 5.0
9       },
10       "name": "A",
11       "logicWidth": 1,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "B",
20       "logicWidth": 1,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 45.0,
26         "y": 5.0
27       },
28       "name": "Y",
29       "logicWidth": 1,
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": 35.0,
41           "y": 2.5
42         },
43         "params": 1
44       },
45       {
46         "id": "NandGate",
47         "name": "NandGate#1",
48         "pos": {
49           "x": 35.0,
50           "y": 27.5
51         },
52         "params": 1
53       },
54       {
55         "id": "NandGate",
56         "name": "NandGate#2",
57         "pos": {
58           "x": 60.0,
59           "y": 2.5
60         },
61         "params": 1
62       },
63       {
64         "id": "NandGate",
65         "name": "NandGate#3",
66         "pos": {
67           "x": 10.0,
68           "y": 15.0
69         },
70         "params": 1
71       },
72       {
73         "id": "NandGate",
74         "name": "NandGate#4",
75         "pos": {
76           "x": 85.0,
77           "y": 2.5
78         },
79         "params": 1
80       },
81       {
82         "id": "WireCrossPoint",
83         "name": "WireCrossPoint#0",
84         "pos": {
85           "x": 31.5,
86           "y": 11.5
87         },
88         "params": 1
89       },
90       {
91         "id": "WireCrossPoint",
92         "name": "WireCrossPoint#1",
93         "pos": {
94           "x": 4.0,
95           "y": 36.5
96         },
97         "params": 1
98       },
99       {
100         "id": "WireCrossPoint",
101         "name": "WireCrossPoint#2",
102         "pos": {
103           "x": 4.0,
104           "y": 11.5
105         },
106         "params": 1
107       },
108       {
109         "id": "WireCrossPoint",
110         "name": "WireCrossPoint#3",
111         "pos": {
112           "x": 31.5,
113           "y": 36.5
114         },
115         "params": 1
116       }
117     ],
118     "wires": [
119       {
120         "pin1": {
121           "compName": "NandGate#0",
122           "pinName": "Y"
123         },
124         "pin2": {
125           "compName": "NandGate#2",
126           "pinName": "A"
127         },
128         "name": "unnamedWire#0",
129         "path": [
130           {
131             "x": 57.5,
132             "y": 12.5
133           },
134           {
135             "x": 57.5,
136             "y": 7.5
137           }
138         ]
139       },
140       {
141         "pin1": {
142           "compName": "NandGate#1",
143           "pinName": "Y"
144         },
145         "pin2": {
146           "compName": "NandGate#2",
147           "pinName": "B"
148         },
149         "name": "unnamedWire#1",
150         "path": [
151           {
152             "x": 57.5,
153             "y": 37.5
154           },
155           {
156             "x": 57.5,
157             "y": 17.5
158           }
159         ]
160       },
161       {
162         "pin1": {
163           "compName": "NandGate#2",
164           "pinName": "Y"
165         },
166         "pin2": {
167           "compName": "NandGate#4",
168           "pinName": "A"
169         },
170         "name": "unnamedWire#2",
171         "path": [
172           {
173             "x": 82.5,
174             "y": 12.5
175           },
176           {
177             "x": 82.5,
178             "y": 7.5
179           }
180         ]
181       },
182       {
183         "pin1": {
184           "compName": "NandGate#3",
185           "pinName": "Y"
186         },
187         "pin2": {
188           "compName": "NandGate#4",
189           "pinName": "B"
190         },
191         "name": "unnamedWire#3",
192         "path": [
193           {
194             "x": 82.5,
195             "y": 25.0
196           },
197           {
198             "x": 82.5,
199             "y": 17.5
200           }
201         ]
202       },
203       {
204         "pin1": {
205           "compName": "WireCrossPoint#0",
206           "pinName": ""
207         },
208         "pin2": {
209           "compName": "NandGate#0",
210           "pinName": "A"
211         },
212         "name": "unnamedWire#4",
213         "path": [
214           {
215             "x": 32.5,
216             "y": 7.5
217           }
218         ]
219       },
220       {
221         "pin1": {
222           "compName": "_submodelinterface",
223           "pinName": "B"
224         },
225         "pin2": {
226           "compName": "WireCrossPoint#1",
227           "pinName": ""
228         },
229         "name": "unnamedWire#5",
230         "path": []
231       },
232       {
233         "pin1": {
234           "compName": "WireCrossPoint#0",
235           "pinName": ""
236         },
237         "pin2": {
238           "compName": "WireCrossPoint#2",
239           "pinName": ""
240         },
241         "name": "unnamedWire#6",
242         "path": []
243       },
244       {
245         "pin1": {
246           "compName": "WireCrossPoint#1",
247           "pinName": ""
248         },
249         "pin2": {
250           "compName": "WireCrossPoint#3",
251           "pinName": ""
252         },
253         "name": "unnamedWire#7",
254         "path": []
255       },
256       {
257         "pin1": {
258           "compName": "WireCrossPoint#2",
259           "pinName": ""
260         },
261         "pin2": {
262           "compName": "NandGate#3",
263           "pinName": "A"
264         },
265         "name": "unnamedWire#8",
266         "path": [
267           {
268             "x": 5.0,
269             "y": 20.0
270           }
271         ]
272       },
273       {
274         "pin1": {
275           "compName": "WireCrossPoint#0",
276           "pinName": ""
277         },
278         "pin2": {
279           "compName": "NandGate#0",
280           "pinName": "B"
281         },
282         "name": "unnamedWire#9",
283         "path": [
284           {
285             "x": 32.5,
286             "y": 17.5
287           }
288         ]
289       },
290       {
291         "pin1": {
292           "compName": "WireCrossPoint#1",
293           "pinName": ""
294         },
295         "pin2": {
296           "compName": "NandGate#3",
297           "pinName": "B"
298         },
299         "name": "unnamedWire#10",
300         "path": [
301           {
302             "x": 5.0,
303             "y": 30.0
304           }
305         ]
306       },
307       {
308         "pin1": {
309           "compName": "NandGate#4",
310           "pinName": "Y"
311         },
312         "pin2": {
313           "compName": "_submodelinterface",
314           "pinName": "Y"
315         },
316         "name": "unnamedWire#11",
317         "path": []
318       },
319       {
320         "pin1": {
321           "compName": "WireCrossPoint#3",
322           "pinName": ""
323         },
324         "pin2": {
325           "compName": "NandGate#1",
326           "pinName": "B"
327         },
328         "name": "unnamedWire#12",
329         "path": [
330           {
331             "x": 32.5,
332             "y": 42.5
333           }
334         ]
335       },
336       {
337         "pin1": {
338           "compName": "WireCrossPoint#3",
339           "pinName": ""
340         },
341         "pin2": {
342           "compName": "NandGate#1",
343           "pinName": "A"
344         },
345         "name": "unnamedWire#13",
346         "path": [
347           {
348             "x": 32.5,
349             "y": 32.5
350           }
351         ]
352       },
353       {
354         "pin1": {
355           "compName": "_submodelinterface",
356           "pinName": "A"
357         },
358         "pin2": {
359           "compName": "WireCrossPoint#2",
360           "pinName": ""
361         },
362         "name": "unnamedWire#14",
363         "path": []
364       }
365     ],
366     "version": "0.1.1"
367   },
368   "symbolRendererSnippetID": "simpleRectangularLike",
369   "symbolRendererParams": {
370     "centerText": "xnor",
371     "centerTextHeight": 5.0,
372     "horizontalComponentCenter": 22.5,
373     "pinLabelHeight": 3.5,
374     "pinLabelMargin": 0.5
375   },
376   "outlineRendererSnippetID": "default",
377   "highLevelStateHandlerSnippetID": "default",
378   "version": "0.1.5"
379 }