Serializing now serializes everything; among many other things:
[Mograsim.git] / net.mograsim.logic.model.editor / components / am2901 / GUIAm2901QReg.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 60.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 0.0,
9         "y": 55.0
10       },
11       "name": "D4",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 35.0,
17         "y": 5.0
18       },
19       "name": "Q1",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 35.0,
25         "y": 15.0
26       },
27       "name": "Q2",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 35.0,
33         "y": 25.0
34       },
35       "name": "Q3",
36       "logicWidth": 1
37     },
38     {
39       "location": {
40         "x": 0.0,
41         "y": 5.0
42       },
43       "name": "C",
44       "logicWidth": 1
45     },
46     {
47       "location": {
48         "x": 35.0,
49         "y": 35.0
50       },
51       "name": "Q4",
52       "logicWidth": 1
53     },
54     {
55       "location": {
56         "x": 0.0,
57         "y": 25.0
58       },
59       "name": "D1",
60       "logicWidth": 1
61     },
62     {
63       "location": {
64         "x": 0.0,
65         "y": 15.0
66       },
67       "name": "WE",
68       "logicWidth": 1
69     },
70     {
71       "location": {
72         "x": 0.0,
73         "y": 35.0
74       },
75       "name": "D2",
76       "logicWidth": 1
77     },
78     {
79       "location": {
80         "x": 0.0,
81         "y": 45.0
82       },
83       "name": "D3",
84       "logicWidth": 1
85     }
86   ],
87   "submodel": {
88     "innerScale": 0.4,
89     "subComps": [
90       {
91         "id": "GUIdff",
92         "name": "GUIdff#1",
93         "pos": {
94           "x": 50.0,
95           "y": 32.5
96         }
97       },
98       {
99         "id": "GUIdff",
100         "name": "GUIdff#0",
101         "pos": {
102           "x": 50.0,
103           "y": 7.5
104         }
105       },
106       {
107         "id": "WireCrossPoint",
108         "name": "WireCrossPoint#1",
109         "pos": {
110           "x": 41.5,
111           "y": 36.5
112         },
113         "params": 1
114       },
115       {
116         "id": "WireCrossPoint",
117         "name": "WireCrossPoint#0",
118         "pos": {
119           "x": 41.5,
120           "y": 19.0
121         },
122         "params": 1
123       },
124       {
125         "id": "WireCrossPoint",
126         "name": "WireCrossPoint#2",
127         "pos": {
128           "x": 41.5,
129           "y": 61.5
130         },
131         "params": 1
132       },
133       {
134         "id": "GUIand",
135         "name": "GUIand#0",
136         "pos": {
137           "x": 5.0,
138           "y": 15.0
139         }
140       },
141       {
142         "id": "GUIdff",
143         "name": "GUIdff#3",
144         "pos": {
145           "x": 50.0,
146           "y": 82.5
147         }
148       },
149       {
150         "id": "GUIdff",
151         "name": "GUIdff#2",
152         "pos": {
153           "x": 50.0,
154           "y": 57.5
155         }
156       }
157     ],
158     "innerWires": [
159       {
160         "pin1": {
161           "compName": "GUIdff#1",
162           "pinName": "Q"
163         },
164         "pin2": {
165           "compName": "_submodelinterface",
166           "pinName": "Q2"
167         },
168         "name": "unnamedWire#14",
169         "path": []
170       },
171       {
172         "pin1": {
173           "compName": "GUIdff#0",
174           "pinName": "Q"
175         },
176         "pin2": {
177           "compName": "_submodelinterface",
178           "pinName": "Q1"
179         },
180         "name": "unnamedWire#13",
181         "path": []
182       },
183       {
184         "pin1": {
185           "compName": "GUIdff#3",
186           "pinName": "Q"
187         },
188         "pin2": {
189           "compName": "_submodelinterface",
190           "pinName": "Q4"
191         },
192         "name": "unnamedWire#16",
193         "path": []
194       },
195       {
196         "pin1": {
197           "compName": "GUIdff#2",
198           "pinName": "Q"
199         },
200         "pin2": {
201           "compName": "_submodelinterface",
202           "pinName": "Q3"
203         },
204         "name": "unnamedWire#15",
205         "path": []
206       },
207       {
208         "pin1": {
209           "compName": "_submodelinterface",
210           "pinName": "D1"
211         },
212         "pin2": {
213           "compName": "GUIdff#0",
214           "pinName": "D"
215         },
216         "name": "unnamedWire#9",
217         "path": [
218           {
219             "x": 17.5,
220             "y": 62.5
221           },
222           {
223             "x": 17.5,
224             "y": 42.5
225           },
226           {
227             "x": 45.0,
228             "y": 42.5
229           },
230           {
231             "x": 45.0,
232             "y": 22.5
233           }
234         ]
235       },
236       {
237         "pin1": {
238           "compName": "WireCrossPoint#2",
239           "pinName": ""
240         },
241         "pin2": {
242           "compName": "GUIdff#3",
243           "pinName": "C"
244         },
245         "name": "unnamedWire#8",
246         "path": [
247           {
248             "x": 42.5,
249             "y": 87.5
250           }
251         ]
252       },
253       {
254         "pin1": {
255           "compName": "WireCrossPoint#2",
256           "pinName": ""
257         },
258         "pin2": {
259           "compName": "GUIdff#2",
260           "pinName": "C"
261         },
262         "name": "unnamedWire#7",
263         "path": []
264       },
265       {
266         "pin1": {
267           "compName": "WireCrossPoint#1",
268           "pinName": ""
269         },
270         "pin2": {
271           "compName": "WireCrossPoint#2",
272           "pinName": ""
273         },
274         "name": "unnamedWire#6",
275         "path": []
276       },
277       {
278         "pin1": {
279           "compName": "_submodelinterface",
280           "pinName": "WE"
281         },
282         "pin2": {
283           "compName": "GUIand#0",
284           "pinName": "B"
285         },
286         "name": "unnamedWire#1"
287       },
288       {
289         "pin1": {
290           "compName": "_submodelinterface",
291           "pinName": "C"
292         },
293         "pin2": {
294           "compName": "GUIand#0",
295           "pinName": "A"
296         },
297         "name": "unnamedWire#0"
298       },
299       {
300         "pin1": {
301           "compName": "WireCrossPoint#1",
302           "pinName": ""
303         },
304         "pin2": {
305           "compName": "GUIdff#1",
306           "pinName": "C"
307         },
308         "name": "unnamedWire#5",
309         "path": []
310       },
311       {
312         "pin1": {
313           "compName": "_submodelinterface",
314           "pinName": "D2"
315         },
316         "pin2": {
317           "compName": "GUIdff#1",
318           "pinName": "D"
319         },
320         "name": "unnamedWire#10",
321         "path": [
322           {
323             "x": 22.5,
324             "y": 87.5
325           },
326           {
327             "x": 22.5,
328             "y": 47.5
329           }
330         ]
331       },
332       {
333         "pin1": {
334           "compName": "WireCrossPoint#0",
335           "pinName": ""
336         },
337         "pin2": {
338           "compName": "WireCrossPoint#1",
339           "pinName": ""
340         },
341         "name": "unnamedWire#4",
342         "path": []
343       },
344       {
345         "pin1": {
346           "compName": "WireCrossPoint#0",
347           "pinName": ""
348         },
349         "pin2": {
350           "compName": "GUIdff#0",
351           "pinName": "C"
352         },
353         "name": "unnamedWire#3",
354         "path": [
355           {
356             "x": 42.5,
357             "y": 12.5
358           }
359         ]
360       },
361       {
362         "pin1": {
363           "compName": "_submodelinterface",
364           "pinName": "D4"
365         },
366         "pin2": {
367           "compName": "GUIdff#3",
368           "pinName": "D"
369         },
370         "name": "unnamedWire#12",
371         "path": [
372           {
373             "x": 32.5,
374             "y": 137.5
375           },
376           {
377             "x": 32.5,
378             "y": 97.5
379           }
380         ]
381       },
382       {
383         "pin1": {
384           "compName": "GUIand#0",
385           "pinName": "Y"
386         },
387         "pin2": {
388           "compName": "WireCrossPoint#0",
389           "pinName": ""
390         },
391         "name": "unnamedWire#2",
392         "path": []
393       },
394       {
395         "pin1": {
396           "compName": "_submodelinterface",
397           "pinName": "D3"
398         },
399         "pin2": {
400           "compName": "GUIdff#2",
401           "pinName": "D"
402         },
403         "name": "unnamedWire#11",
404         "path": [
405           {
406             "x": 27.5,
407             "y": 112.5
408           },
409           {
410             "x": 27.5,
411             "y": 72.5
412           }
413         ]
414       }
415     ]
416   },
417   "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
418   "symbolRendererParams": {
419     "centerText": "GUIAm2901QReg",
420     "centerTextHeight": 5.0,
421     "horizontalComponentCenter": 17.5,
422     "pinLabelHeight": 3.5,
423     "pinLabelMargin": 0.5
424   },
425   "outlineRendererSnippetID": "class:net.mograsim.logic.model.snippets.outlinerenderers.DefaultOutlineRenderer",
426   "highLevelStateHandlerSnippetID": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.StandardHighLevelStateHandler",
427   "highLevelStateHandlerParams": {
428     "subcomponentHighLevelStates": {},
429     "atomicHighLevelStates": {
430       "q1": {
431         "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler",
432         "params": {
433           "delegateTarget": "GUIdff#0",
434           "subStateID": "q"
435         }
436       },
437       "q2": {
438         "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler",
439         "params": {
440           "delegateTarget": "GUIdff#1",
441           "subStateID": "q"
442         }
443       },
444       "q": {
445         "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.BitVectorSplittingAtomicHighLevelStateHandler",
446         "params": {
447           "vectorPartTargets": [
448             "q1",
449             "q2",
450             "q3",
451             "q4"
452           ],
453           "vectorPartLengthes": [
454             1,
455             1,
456             1,
457             1
458           ]
459         }
460       },
461       "q3": {
462         "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler",
463         "params": {
464           "delegateTarget": "GUIdff#2",
465           "subStateID": "q"
466         }
467       },
468       "q4": {
469         "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler",
470         "params": {
471           "delegateTarget": "GUIdff#3",
472           "subStateID": "q"
473         }
474       }
475     }
476   }
477 }