Move components to an actual resource folder (that will remain in jar)
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUIdff4.json
1 {
2   "width": 35.0,
3   "height": 60.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 5.0
9       },
10       "name": "C",
11       "logicWidth": 1,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 25.0
18       },
19       "name": "D1",
20       "logicWidth": 1,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 0.0,
26         "y": 35.0
27       },
28       "name": "D2",
29       "logicWidth": 1,
30       "usage": "INPUT"
31     },
32     {
33       "location": {
34         "x": 0.0,
35         "y": 45.0
36       },
37       "name": "D3",
38       "logicWidth": 1,
39       "usage": "INPUT"
40     },
41     {
42       "location": {
43         "x": 0.0,
44         "y": 55.0
45       },
46       "name": "D4",
47       "logicWidth": 1,
48       "usage": "INPUT"
49     },
50     {
51       "location": {
52         "x": 35.0,
53         "y": 5.0
54       },
55       "name": "Q1",
56       "logicWidth": 1,
57       "usage": "OUTPUT"
58     },
59     {
60       "location": {
61         "x": 35.0,
62         "y": 15.0
63       },
64       "name": "Q2",
65       "logicWidth": 1,
66       "usage": "OUTPUT"
67     },
68     {
69       "location": {
70         "x": 35.0,
71         "y": 25.0
72       },
73       "name": "Q3",
74       "logicWidth": 1,
75       "usage": "OUTPUT"
76     },
77     {
78       "location": {
79         "x": 35.0,
80         "y": 35.0
81       },
82       "name": "Q4",
83       "logicWidth": 1,
84       "usage": "OUTPUT"
85     },
86     {
87       "location": {
88         "x": 0.0,
89         "y": 15.0
90       },
91       "name": "WE",
92       "logicWidth": 1,
93       "usage": "INPUT"
94     }
95   ],
96   "innerScale": 0.2,
97   "submodel": {
98     "components": [
99       {
100         "id": "GUImux1_4",
101         "name": "DeserializedSubmodelComponent#0",
102         "pos": {
103           "x": 55.0,
104           "y": 70.0
105         }
106       },
107       {
108         "id": "GUIdff",
109         "name": "GUIdff#0",
110         "pos": {
111           "x": 115.0,
112           "y": 20.0
113         }
114       },
115       {
116         "id": "GUIdff",
117         "name": "GUIdff#1",
118         "pos": {
119           "x": 115.0,
120           "y": 70.0
121         }
122       },
123       {
124         "id": "GUIdff",
125         "name": "GUIdff#2",
126         "pos": {
127           "x": 115.0,
128           "y": 120.0
129         }
130       },
131       {
132         "id": "GUIdff",
133         "name": "GUIdff#3",
134         "pos": {
135           "x": 115.0,
136           "y": 170.0
137         }
138       },
139       {
140         "id": "WireCrossPoint",
141         "name": "WireCrossPoint#0",
142         "pos": {
143           "x": 104.0,
144           "y": 24.0
145         },
146         "params": 1
147       },
148       {
149         "id": "WireCrossPoint",
150         "name": "WireCrossPoint#1",
151         "pos": {
152           "x": 104.0,
153           "y": 74.0
154         },
155         "params": 1
156       },
157       {
158         "id": "WireCrossPoint",
159         "name": "WireCrossPoint#2",
160         "pos": {
161           "x": 104.0,
162           "y": 124.0
163         },
164         "params": 1
165       },
166       {
167         "id": "WireCrossPoint",
168         "name": "WireCrossPoint#3",
169         "pos": {
170           "x": 169.0,
171           "y": 24.0
172         },
173         "params": 1
174       },
175       {
176         "id": "WireCrossPoint",
177         "name": "WireCrossPoint#4",
178         "pos": {
179           "x": 164.0,
180           "y": 74.0
181         },
182         "params": 1
183       },
184       {
185         "id": "WireCrossPoint",
186         "name": "WireCrossPoint#5",
187         "pos": {
188           "x": 159.0,
189           "y": 124.0
190         },
191         "params": 1
192       },
193       {
194         "id": "WireCrossPoint",
195         "name": "WireCrossPoint#6",
196         "pos": {
197           "x": 154.0,
198           "y": 174.0
199         },
200         "params": 1
201       }
202     ],
203     "wires": [
204       {
205         "pin1": {
206           "compName": "_submodelinterface",
207           "pinName": "C"
208         },
209         "pin2": {
210           "compName": "WireCrossPoint#0",
211           "pinName": ""
212         },
213         "name": "unnamedWire#0",
214         "path": []
215       },
216       {
217         "pin1": {
218           "compName": "DeserializedSubmodelComponent#0",
219           "pinName": "Y1"
220         },
221         "pin2": {
222           "compName": "GUIdff#0",
223           "pinName": "D"
224         },
225         "name": "unnamedWire#1",
226         "path": [
227           {
228             "x": 100.0,
229             "y": 75.0
230           },
231           {
232             "x": 100.0,
233             "y": 35.0
234           }
235         ]
236       },
237       {
238         "pin1": {
239           "compName": "_submodelinterface",
240           "pinName": "D1"
241         },
242         "pin2": {
243           "compName": "DeserializedSubmodelComponent#0",
244           "pinName": "I1_1"
245         },
246         "name": "unnamedWire#10",
247         "path": []
248       },
249       {
250         "pin1": {
251           "compName": "_submodelinterface",
252           "pinName": "D2"
253         },
254         "pin2": {
255           "compName": "DeserializedSubmodelComponent#0",
256           "pinName": "I1_2"
257         },
258         "name": "unnamedWire#11",
259         "path": [
260           {
261             "x": 5.0,
262             "y": 175.0
263           },
264           {
265             "x": 5.0,
266             "y": 135.0
267           }
268         ]
269       },
270       {
271         "pin1": {
272           "compName": "_submodelinterface",
273           "pinName": "D3"
274         },
275         "pin2": {
276           "compName": "DeserializedSubmodelComponent#0",
277           "pinName": "I1_3"
278         },
279         "name": "unnamedWire#12",
280         "path": [
281           {
282             "x": 10.0,
283             "y": 225.0
284           },
285           {
286             "x": 10.0,
287             "y": 145.0
288           }
289         ]
290       },
291       {
292         "pin1": {
293           "compName": "GUIdff#0",
294           "pinName": "Q"
295         },
296         "pin2": {
297           "compName": "WireCrossPoint#3",
298           "pinName": ""
299         },
300         "name": "unnamedWire#13",
301         "path": []
302       },
303       {
304         "pin1": {
305           "compName": "WireCrossPoint#3",
306           "pinName": ""
307         },
308         "pin2": {
309           "compName": "_submodelinterface",
310           "pinName": "Q1"
311         },
312         "name": "unnamedWire#14",
313         "path": []
314       },
315       {
316         "pin1": {
317           "compName": "_submodelinterface",
318           "pinName": "Q2"
319         },
320         "pin2": {
321           "compName": "WireCrossPoint#4",
322           "pinName": ""
323         },
324         "name": "unnamedWire#15",
325         "path": []
326       },
327       {
328         "pin1": {
329           "compName": "WireCrossPoint#4",
330           "pinName": ""
331         },
332         "pin2": {
333           "compName": "GUIdff#1",
334           "pinName": "Q"
335         },
336         "name": "unnamedWire#16",
337         "path": []
338       },
339       {
340         "pin1": {
341           "compName": "_submodelinterface",
342           "pinName": "D4"
343         },
344         "pin2": {
345           "compName": "DeserializedSubmodelComponent#0",
346           "pinName": "I1_4"
347         },
348         "name": "unnamedWire#17",
349         "path": [
350           {
351             "x": 15.0,
352             "y": 275.0
353           },
354           {
355             "x": 15.0,
356             "y": 155.0
357           }
358         ]
359       },
360       {
361         "pin1": {
362           "compName": "GUIdff#2",
363           "pinName": "Q"
364         },
365         "pin2": {
366           "compName": "WireCrossPoint#5",
367           "pinName": ""
368         },
369         "name": "unnamedWire#18",
370         "path": []
371       },
372       {
373         "pin1": {
374           "compName": "WireCrossPoint#5",
375           "pinName": ""
376         },
377         "pin2": {
378           "compName": "_submodelinterface",
379           "pinName": "Q3"
380         },
381         "name": "unnamedWire#19",
382         "path": []
383       },
384       {
385         "pin1": {
386           "compName": "DeserializedSubmodelComponent#0",
387           "pinName": "Y2"
388         },
389         "pin2": {
390           "compName": "GUIdff#1",
391           "pinName": "D"
392         },
393         "name": "unnamedWire#2",
394         "path": []
395       },
396       {
397         "pin1": {
398           "compName": "WireCrossPoint#6",
399           "pinName": ""
400         },
401         "pin2": {
402           "compName": "_submodelinterface",
403           "pinName": "Q4"
404         },
405         "name": "unnamedWire#20",
406         "path": []
407       },
408       {
409         "pin1": {
410           "compName": "WireCrossPoint#6",
411           "pinName": ""
412         },
413         "pin2": {
414           "compName": "GUIdff#3",
415           "pinName": "Q"
416         },
417         "name": "unnamedWire#21",
418         "path": []
419       },
420       {
421         "pin1": {
422           "compName": "DeserializedSubmodelComponent#0",
423           "pinName": "Y3"
424         },
425         "pin2": {
426           "compName": "GUIdff#2",
427           "pinName": "D"
428         },
429         "name": "unnamedWire#22",
430         "path": [
431           {
432             "x": 100.0,
433             "y": 95.0
434           },
435           {
436             "x": 100.0,
437             "y": 135.0
438           }
439         ]
440       },
441       {
442         "pin1": {
443           "compName": "DeserializedSubmodelComponent#0",
444           "pinName": "Y4"
445         },
446         "pin2": {
447           "compName": "GUIdff#3",
448           "pinName": "D"
449         },
450         "name": "unnamedWire#23",
451         "path": [
452           {
453             "x": 95.0,
454             "y": 105.0
455           },
456           {
457             "x": 95.0,
458             "y": 185.0
459           }
460         ]
461       },
462       {
463         "pin1": {
464           "compName": "WireCrossPoint#3",
465           "pinName": ""
466         },
467         "pin2": {
468           "compName": "DeserializedSubmodelComponent#0",
469           "pinName": "I0_1"
470         },
471         "name": "unnamedWire#24",
472         "path": [
473           {
474             "x": 170.0,
475             "y": 195.0
476           },
477           {
478             "x": 50.0,
479             "y": 195.0
480           },
481           {
482             "x": 50.0,
483             "y": 85.0
484           }
485         ]
486       },
487       {
488         "pin1": {
489           "compName": "WireCrossPoint#4",
490           "pinName": ""
491         },
492         "pin2": {
493           "compName": "DeserializedSubmodelComponent#0",
494           "pinName": "I0_2"
495         },
496         "name": "unnamedWire#25",
497         "path": [
498           {
499             "x": 165.0,
500             "y": 200.0
501           },
502           {
503             "x": 45.0,
504             "y": 200.0
505           },
506           {
507             "x": 45.0,
508             "y": 95.0
509           }
510         ]
511       },
512       {
513         "pin1": {
514           "compName": "WireCrossPoint#5",
515           "pinName": ""
516         },
517         "pin2": {
518           "compName": "DeserializedSubmodelComponent#0",
519           "pinName": "I0_3"
520         },
521         "name": "unnamedWire#26",
522         "path": [
523           {
524             "x": 160.0,
525             "y": 205.0
526           },
527           {
528             "x": 40.0,
529             "y": 205.0
530           },
531           {
532             "x": 40.0,
533             "y": 105.0
534           }
535         ]
536       },
537       {
538         "pin1": {
539           "compName": "WireCrossPoint#6",
540           "pinName": ""
541         },
542         "pin2": {
543           "compName": "WireCrossPoint#6",
544           "pinName": ""
545         },
546         "name": "unnamedWire#27",
547         "path": []
548       },
549       {
550         "pin1": {
551           "compName": "WireCrossPoint#6",
552           "pinName": ""
553         },
554         "pin2": {
555           "compName": "DeserializedSubmodelComponent#0",
556           "pinName": "I0_4"
557         },
558         "name": "unnamedWire#28",
559         "path": [
560           {
561             "x": 155.0,
562             "y": 210.0
563           },
564           {
565             "x": 35.0,
566             "y": 210.0
567           },
568           {
569             "x": 35.0,
570             "y": 115.0
571           }
572         ]
573       },
574       {
575         "pin1": {
576           "compName": "WireCrossPoint#0",
577           "pinName": ""
578         },
579         "pin2": {
580           "compName": "GUIdff#0",
581           "pinName": "C"
582         },
583         "name": "unnamedWire#3",
584         "path": []
585       },
586       {
587         "pin1": {
588           "compName": "WireCrossPoint#0",
589           "pinName": ""
590         },
591         "pin2": {
592           "compName": "WireCrossPoint#1",
593           "pinName": ""
594         },
595         "name": "unnamedWire#4",
596         "path": []
597       },
598       {
599         "pin1": {
600           "compName": "WireCrossPoint#1",
601           "pinName": ""
602         },
603         "pin2": {
604           "compName": "GUIdff#1",
605           "pinName": "C"
606         },
607         "name": "unnamedWire#5",
608         "path": []
609       },
610       {
611         "pin1": {
612           "compName": "WireCrossPoint#1",
613           "pinName": ""
614         },
615         "pin2": {
616           "compName": "WireCrossPoint#2",
617           "pinName": ""
618         },
619         "name": "unnamedWire#6",
620         "path": []
621       },
622       {
623         "pin1": {
624           "compName": "WireCrossPoint#2",
625           "pinName": ""
626         },
627         "pin2": {
628           "compName": "GUIdff#2",
629           "pinName": "C"
630         },
631         "name": "unnamedWire#7",
632         "path": []
633       },
634       {
635         "pin1": {
636           "compName": "WireCrossPoint#2",
637           "pinName": ""
638         },
639         "pin2": {
640           "compName": "GUIdff#3",
641           "pinName": "C"
642         },
643         "name": "unnamedWire#8",
644         "path": [
645           {
646             "x": 105.0,
647             "y": 175.0
648           }
649         ]
650       },
651       {
652         "pin1": {
653           "compName": "_submodelinterface",
654           "pinName": "WE"
655         },
656         "pin2": {
657           "compName": "DeserializedSubmodelComponent#0",
658           "pinName": "S0"
659         },
660         "name": "unnamedWire#9",
661         "path": []
662       }
663     ],
664     "version": "0.1.1"
665   },
666   "symbolRendererSnippetID": "simpleRectangularLike",
667   "symbolRendererParams": {
668     "centerText": "D flip flop\n4 bit",
669     "centerTextHeight": 5.0,
670     "horizontalComponentCenter": 17.5,
671     "pinLabelHeight": 3.5,
672     "pinLabelMargin": 0.5
673   },
674   "outlineRendererSnippetID": "default",
675   "highLevelStateHandlerSnippetID": "standard",
676   "highLevelStateHandlerParams": {
677     "subcomponentHighLevelStates": {},
678     "atomicHighLevelStates": {
679       "q1": {
680         "id": "delegating",
681         "params": {
682           "delegateTarget": "GUIdff#0",
683           "subStateID": "q"
684         }
685       },
686       "q2": {
687         "id": "delegating",
688         "params": {
689           "delegateTarget": "GUIdff#1",
690           "subStateID": "q"
691         }
692       },
693       "q": {
694         "id": "bitVectorSplitting",
695         "params": {
696           "vectorPartTargets": [
697             "q1",
698             "q2",
699             "q3",
700             "q4"
701           ],
702           "vectorPartLengthes": [
703             1,
704             1,
705             1,
706             1
707           ]
708         }
709       },
710       "q3": {
711         "id": "delegating",
712         "params": {
713           "delegateTarget": "GUIdff#2",
714           "subStateID": "q"
715         }
716       },
717       "q4": {
718         "id": "delegating",
719         "params": {
720           "delegateTarget": "GUIdff#3",
721           "subStateID": "q"
722         }
723       }
724     }
725   },
726   "version": "0.1.5"
727 }