Reserialized components
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / not4.json
1 {
2   "width": 35.0,
3   "height": 40.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": 0.0,
35         "y": 35.0
36       },
37       "name": "A4",
38       "logicWidth": 1,
39       "usage": "INPUT"
40     },
41     {
42       "location": {
43         "x": 35.0,
44         "y": 5.0
45       },
46       "name": "Y1",
47       "logicWidth": 1,
48       "usage": "OUTPUT"
49     },
50     {
51       "location": {
52         "x": 35.0,
53         "y": 15.0
54       },
55       "name": "Y2",
56       "logicWidth": 1,
57       "usage": "OUTPUT"
58     },
59     {
60       "location": {
61         "x": 35.0,
62         "y": 25.0
63       },
64       "name": "Y3",
65       "logicWidth": 1,
66       "usage": "OUTPUT"
67     },
68     {
69       "location": {
70         "x": 35.0,
71         "y": 35.0
72       },
73       "name": "Y4",
74       "logicWidth": 1,
75       "usage": "OUTPUT"
76     }
77   ],
78   "innerScale": 0.4,
79   "submodel": {
80     "components": [
81       {
82         "id": "NandGate",
83         "name": "NandGate#0",
84         "pos": {
85           "x": 30.0,
86           "y": 2.5
87         },
88         "params": 1
89       },
90       {
91         "id": "NandGate",
92         "name": "NandGate#1",
93         "pos": {
94           "x": 30.0,
95           "y": 27.5
96         },
97         "params": 1
98       },
99       {
100         "id": "NandGate",
101         "name": "NandGate#2",
102         "pos": {
103           "x": 30.0,
104           "y": 52.5
105         },
106         "params": 1
107       },
108       {
109         "id": "NandGate",
110         "name": "NandGate#3",
111         "pos": {
112           "x": 30.0,
113           "y": 77.5
114         },
115         "params": 1
116       },
117       {
118         "id": "WireCrossPoint",
119         "name": "WireCrossPoint#0",
120         "pos": {
121           "x": 14.0,
122           "y": 11.5
123         },
124         "params": 1
125       },
126       {
127         "id": "WireCrossPoint",
128         "name": "WireCrossPoint#1",
129         "pos": {
130           "x": 14.0,
131           "y": 36.5
132         },
133         "params": 1
134       },
135       {
136         "id": "WireCrossPoint",
137         "name": "WireCrossPoint#2",
138         "pos": {
139           "x": 14.0,
140           "y": 61.5
141         },
142         "params": 1
143       },
144       {
145         "id": "WireCrossPoint",
146         "name": "WireCrossPoint#3",
147         "pos": {
148           "x": 14.0,
149           "y": 86.5
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#2",
186           "pinName": ""
187         },
188         "name": "unnamedWire#2",
189         "path": []
190       },
191       {
192         "pin1": {
193           "compName": "_submodelinterface",
194           "pinName": "A4"
195         },
196         "pin2": {
197           "compName": "WireCrossPoint#3",
198           "pinName": ""
199         },
200         "name": "unnamedWire#3",
201         "path": []
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": 15.0,
216             "y": 7.5
217           }
218         ]
219       },
220       {
221         "pin1": {
222           "compName": "WireCrossPoint#1",
223           "pinName": ""
224         },
225         "pin2": {
226           "compName": "NandGate#1",
227           "pinName": "A"
228         },
229         "name": "unnamedWire#5",
230         "path": [
231           {
232             "x": 15.0,
233             "y": 32.5
234           }
235         ]
236       },
237       {
238         "pin1": {
239           "compName": "WireCrossPoint#2",
240           "pinName": ""
241         },
242         "pin2": {
243           "compName": "NandGate#2",
244           "pinName": "A"
245         },
246         "name": "unnamedWire#6",
247         "path": [
248           {
249             "x": 15.0,
250             "y": 57.5
251           }
252         ]
253       },
254       {
255         "pin1": {
256           "compName": "WireCrossPoint#3",
257           "pinName": ""
258         },
259         "pin2": {
260           "compName": "NandGate#3",
261           "pinName": "A"
262         },
263         "name": "unnamedWire#7",
264         "path": [
265           {
266             "x": 15.0,
267             "y": 82.5
268           }
269         ]
270       },
271       {
272         "pin1": {
273           "compName": "WireCrossPoint#0",
274           "pinName": ""
275         },
276         "pin2": {
277           "compName": "NandGate#0",
278           "pinName": "B"
279         },
280         "name": "unnamedWire#8",
281         "path": [
282           {
283             "x": 15.0,
284             "y": 17.5
285           }
286         ]
287       },
288       {
289         "pin1": {
290           "compName": "WireCrossPoint#1",
291           "pinName": ""
292         },
293         "pin2": {
294           "compName": "NandGate#1",
295           "pinName": "B"
296         },
297         "name": "unnamedWire#9",
298         "path": [
299           {
300             "x": 15.0,
301             "y": 42.5
302           }
303         ]
304       },
305       {
306         "pin1": {
307           "compName": "WireCrossPoint#2",
308           "pinName": ""
309         },
310         "pin2": {
311           "compName": "NandGate#2",
312           "pinName": "B"
313         },
314         "name": "unnamedWire#10",
315         "path": [
316           {
317             "x": 15.0,
318             "y": 67.5
319           }
320         ]
321       },
322       {
323         "pin1": {
324           "compName": "WireCrossPoint#3",
325           "pinName": ""
326         },
327         "pin2": {
328           "compName": "NandGate#3",
329           "pinName": "B"
330         },
331         "name": "unnamedWire#11",
332         "path": [
333           {
334             "x": 15.0,
335             "y": 92.5
336           }
337         ]
338       },
339       {
340         "pin1": {
341           "compName": "NandGate#0",
342           "pinName": "Y"
343         },
344         "pin2": {
345           "compName": "_submodelinterface",
346           "pinName": "Y1"
347         },
348         "name": "unnamedWire#12",
349         "path": []
350       },
351       {
352         "pin1": {
353           "compName": "NandGate#1",
354           "pinName": "Y"
355         },
356         "pin2": {
357           "compName": "_submodelinterface",
358           "pinName": "Y2"
359         },
360         "name": "unnamedWire#13",
361         "path": []
362       },
363       {
364         "pin1": {
365           "compName": "NandGate#2",
366           "pinName": "Y"
367         },
368         "pin2": {
369           "compName": "_submodelinterface",
370           "pinName": "Y3"
371         },
372         "name": "unnamedWire#14",
373         "path": []
374       },
375       {
376         "pin1": {
377           "compName": "NandGate#3",
378           "pinName": "Y"
379         },
380         "pin2": {
381           "compName": "_submodelinterface",
382           "pinName": "Y4"
383         },
384         "name": "unnamedWire#15",
385         "path": []
386       }
387     ],
388     "version": "0.1.1"
389   },
390   "symbolRendererSnippetID": "simpleRectangularLike",
391   "symbolRendererParams": {
392     "centerText": "not4",
393     "centerTextHeight": 5.0,
394     "horizontalComponentCenter": 17.5,
395     "pinLabelHeight": 3.5,
396     "pinLabelMargin": 0.5
397   },
398   "outlineRendererSnippetID": "default",
399   "highLevelStateHandlerSnippetID": "default",
400   "version": "0.1.5"
401 }