Fixed a bug in Am2900; created dlatch8/80; relayouted some components
[Mograsim.git] / 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": "WireCrossPoint#2",
182           "pinName": ""
183         },
184         "pin2": {
185           "compName": "NandGate#2",
186           "pinName": "B"
187         },
188         "name": "unnamedWire#10",
189         "path": [
190           {
191             "x": 15.0,
192             "y": 67.5
193           }
194         ]
195       },
196       {
197         "pin1": {
198           "compName": "WireCrossPoint#3",
199           "pinName": ""
200         },
201         "pin2": {
202           "compName": "NandGate#3",
203           "pinName": "B"
204         },
205         "name": "unnamedWire#11",
206         "path": [
207           {
208             "x": 15.0,
209             "y": 92.5
210           }
211         ]
212       },
213       {
214         "pin1": {
215           "compName": "NandGate#0",
216           "pinName": "Y"
217         },
218         "pin2": {
219           "compName": "_submodelinterface",
220           "pinName": "Y1"
221         },
222         "name": "unnamedWire#12",
223         "path": []
224       },
225       {
226         "pin1": {
227           "compName": "NandGate#1",
228           "pinName": "Y"
229         },
230         "pin2": {
231           "compName": "_submodelinterface",
232           "pinName": "Y2"
233         },
234         "name": "unnamedWire#13",
235         "path": []
236       },
237       {
238         "pin1": {
239           "compName": "NandGate#2",
240           "pinName": "Y"
241         },
242         "pin2": {
243           "compName": "_submodelinterface",
244           "pinName": "Y3"
245         },
246         "name": "unnamedWire#14",
247         "path": []
248       },
249       {
250         "pin1": {
251           "compName": "NandGate#3",
252           "pinName": "Y"
253         },
254         "pin2": {
255           "compName": "_submodelinterface",
256           "pinName": "Y4"
257         },
258         "name": "unnamedWire#15",
259         "path": []
260       },
261       {
262         "pin1": {
263           "compName": "_submodelinterface",
264           "pinName": "A3"
265         },
266         "pin2": {
267           "compName": "WireCrossPoint#2",
268           "pinName": ""
269         },
270         "name": "unnamedWire#2",
271         "path": []
272       },
273       {
274         "pin1": {
275           "compName": "_submodelinterface",
276           "pinName": "A4"
277         },
278         "pin2": {
279           "compName": "WireCrossPoint#3",
280           "pinName": ""
281         },
282         "name": "unnamedWire#3",
283         "path": []
284       },
285       {
286         "pin1": {
287           "compName": "WireCrossPoint#0",
288           "pinName": ""
289         },
290         "pin2": {
291           "compName": "NandGate#0",
292           "pinName": "A"
293         },
294         "name": "unnamedWire#4",
295         "path": [
296           {
297             "x": 15.0,
298             "y": 7.5
299           }
300         ]
301       },
302       {
303         "pin1": {
304           "compName": "WireCrossPoint#1",
305           "pinName": ""
306         },
307         "pin2": {
308           "compName": "NandGate#1",
309           "pinName": "A"
310         },
311         "name": "unnamedWire#5",
312         "path": [
313           {
314             "x": 15.0,
315             "y": 32.5
316           }
317         ]
318       },
319       {
320         "pin1": {
321           "compName": "WireCrossPoint#2",
322           "pinName": ""
323         },
324         "pin2": {
325           "compName": "NandGate#2",
326           "pinName": "A"
327         },
328         "name": "unnamedWire#6",
329         "path": [
330           {
331             "x": 15.0,
332             "y": 57.5
333           }
334         ]
335       },
336       {
337         "pin1": {
338           "compName": "WireCrossPoint#3",
339           "pinName": ""
340         },
341         "pin2": {
342           "compName": "NandGate#3",
343           "pinName": "A"
344         },
345         "name": "unnamedWire#7",
346         "path": [
347           {
348             "x": 15.0,
349             "y": 82.5
350           }
351         ]
352       },
353       {
354         "pin1": {
355           "compName": "WireCrossPoint#0",
356           "pinName": ""
357         },
358         "pin2": {
359           "compName": "NandGate#0",
360           "pinName": "B"
361         },
362         "name": "unnamedWire#8",
363         "path": [
364           {
365             "x": 15.0,
366             "y": 17.5
367           }
368         ]
369       },
370       {
371         "pin1": {
372           "compName": "WireCrossPoint#1",
373           "pinName": ""
374         },
375         "pin2": {
376           "compName": "NandGate#1",
377           "pinName": "B"
378         },
379         "name": "unnamedWire#9",
380         "path": [
381           {
382             "x": 15.0,
383             "y": 42.5
384           }
385         ]
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 }