Merge 'transportdelay' into development
[Mograsim.git] / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / dff8.json
1 {
2   "width": 35.0,
3   "height": 30.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": 15.0
18       },
19       "name": "D",
20       "logicWidth": 8,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 35.0,
26         "y": 15.0
27       },
28       "name": "Q",
29       "logicWidth": 8,
30       "usage": "TRISTATE"
31     }
32   ],
33   "innerScale": 0.2,
34   "submodel": {
35     "components": [
36       {
37         "id": "Splitter",
38         "name": "Splitter#0",
39         "pos": {
40           "x": 5.0,
41           "y": 40.0
42         },
43         "params": {
44           "logicWidth": 8,
45           "orientation": "RIGHT"
46         }
47       },
48       {
49         "id": "Splitter",
50         "name": "Splitter#1",
51         "pos": {
52           "x": 160.0,
53           "y": 40.0
54         },
55         "params": {
56           "logicWidth": 8,
57           "orientation": "LEFT"
58         }
59       },
60       {
61         "id": "WireCrossPoint",
62         "name": "WireCrossPoint#0",
63         "pos": {
64           "x": 39.0,
65           "y": 14.0
66         },
67         "params": 1
68       },
69       {
70         "id": "WireCrossPoint",
71         "name": "WireCrossPoint#10",
72         "pos": {
73           "x": 89.0,
74           "y": 54.0
75         },
76         "params": 1
77       },
78       {
79         "id": "WireCrossPoint",
80         "name": "WireCrossPoint#2",
81         "pos": {
82           "x": 39.0,
83           "y": 44.0
84         },
85         "params": 1
86       },
87       {
88         "id": "WireCrossPoint",
89         "name": "WireCrossPoint#3",
90         "pos": {
91           "x": 39.0,
92           "y": 74.0
93         },
94         "params": 1
95       },
96       {
97         "id": "WireCrossPoint",
98         "name": "WireCrossPoint#7",
99         "pos": {
100           "x": 89.0,
101           "y": 84.0
102         },
103         "params": 1
104       },
105       {
106         "id": "WireCrossPoint",
107         "name": "WireCrossPoint#9",
108         "pos": {
109           "x": 89.0,
110           "y": 24.0
111         },
112         "params": 1
113       },
114       {
115         "id": "dff",
116         "name": "dff#10",
117         "pos": {
118           "x": 95.0,
119           "y": 50.0
120         }
121       },
122       {
123         "id": "dff",
124         "name": "dff#11",
125         "pos": {
126           "x": 45.0,
127           "y": 40.0
128         }
129       },
130       {
131         "id": "dff",
132         "name": "dff#4",
133         "pos": {
134           "x": 45.0,
135           "y": 10.0
136         }
137       },
138       {
139         "id": "dff",
140         "name": "dff#5",
141         "pos": {
142           "x": 95.0,
143           "y": 80.0
144         }
145       },
146       {
147         "id": "dff",
148         "name": "dff#6",
149         "pos": {
150           "x": 95.0,
151           "y": 110.0
152         }
153       },
154       {
155         "id": "dff",
156         "name": "dff#7",
157         "pos": {
158           "x": 45.0,
159           "y": 100.0
160         }
161       },
162       {
163         "id": "dff",
164         "name": "dff#8",
165         "pos": {
166           "x": 45.0,
167           "y": 70.0
168         }
169       },
170       {
171         "id": "dff",
172         "name": "dff#9",
173         "pos": {
174           "x": 95.0,
175           "y": 20.0
176         }
177       }
178     ],
179     "wires": [
180       {
181         "pin1": {
182           "compName": "WireCrossPoint#0",
183           "pinName": ""
184         },
185         "pin2": {
186           "compName": "WireCrossPoint#9",
187           "pinName": ""
188         },
189         "name": "unnamedWire#0",
190         "path": [
191           {
192             "x": 40.0,
193             "y": 5.0
194           },
195           {
196             "x": 90.0,
197             "y": 5.0
198           }
199         ]
200       },
201       {
202         "pin1": {
203           "compName": "WireCrossPoint#0",
204           "pinName": ""
205         },
206         "pin2": {
207           "compName": "_submodelinterface",
208           "pinName": "C"
209         },
210         "name": "unnamedWire#1",
211         "path": [
212           {
213             "x": 10.0,
214             "y": 15.0
215           },
216           {
217             "x": 10.0,
218             "y": 25.0
219           }
220         ]
221       },
222       {
223         "pin1": {
224           "compName": "dff#11",
225           "pinName": "D"
226         },
227         "pin2": {
228           "compName": "Splitter#0",
229           "pinName": "O5"
230         },
231         "name": "unnamedWire#10",
232         "path": [
233           {
234             "x": 25.0,
235             "y": 55.0
236           },
237           {
238             "x": 25.0,
239             "y": 60.0
240           }
241         ]
242       },
243       {
244         "pin1": {
245           "compName": "Splitter#0",
246           "pinName": "O4"
247         },
248         "pin2": {
249           "compName": "dff#10",
250           "pinName": "D"
251         },
252         "name": "unnamedWire#11",
253         "path": [
254           {
255             "x": 25.0,
256             "y": 70.0
257           },
258           {
259             "x": 25.0,
260             "y": 65.0
261           }
262         ]
263       },
264       {
265         "pin1": {
266           "compName": "dff#8",
267           "pinName": "D"
268         },
269         "pin2": {
270           "compName": "Splitter#0",
271           "pinName": "O3"
272         },
273         "name": "unnamedWire#12",
274         "path": [
275           {
276             "x": 25.0,
277             "y": 85.0
278           },
279           {
280             "x": 25.0,
281             "y": 80.0
282           }
283         ]
284       },
285       {
286         "pin1": {
287           "compName": "Splitter#0",
288           "pinName": "O2"
289         },
290         "pin2": {
291           "compName": "dff#5",
292           "pinName": "D"
293         },
294         "name": "unnamedWire#13",
295         "path": [
296           {
297             "x": 25.0,
298             "y": 90.0
299           },
300           {
301             "x": 25.0,
302             "y": 95.0
303           }
304         ]
305       },
306       {
307         "pin1": {
308           "compName": "dff#7",
309           "pinName": "D"
310         },
311         "pin2": {
312           "compName": "Splitter#0",
313           "pinName": "O1"
314         },
315         "name": "unnamedWire#14",
316         "path": [
317           {
318             "x": 25.0,
319             "y": 115.0
320           },
321           {
322             "x": 25.0,
323             "y": 100.0
324           }
325         ]
326       },
327       {
328         "pin1": {
329           "compName": "Splitter#0",
330           "pinName": "O0"
331         },
332         "pin2": {
333           "compName": "dff#6",
334           "pinName": "D"
335         },
336         "name": "unnamedWire#15",
337         "path": [
338           {
339             "x": 20.0,
340             "y": 110.0
341           },
342           {
343             "x": 20.0,
344             "y": 125.0
345           }
346         ]
347       },
348       {
349         "pin1": {
350           "compName": "_submodelinterface",
351           "pinName": "D"
352         },
353         "pin2": {
354           "compName": "Splitter#0",
355           "pinName": "I"
356         },
357         "name": "unnamedWire#2",
358         "path": []
359       },
360       {
361         "pin1": {
362           "compName": "WireCrossPoint#2",
363           "pinName": ""
364         },
365         "pin2": {
366           "compName": "dff#11",
367           "pinName": "C"
368         },
369         "name": "unnamedWire#27",
370         "path": []
371       },
372       {
373         "pin1": {
374           "compName": "WireCrossPoint#2",
375           "pinName": ""
376         },
377         "pin2": {
378           "compName": "WireCrossPoint#3",
379           "pinName": ""
380         },
381         "name": "unnamedWire#28",
382         "path": []
383       },
384       {
385         "pin1": {
386           "compName": "WireCrossPoint#3",
387           "pinName": ""
388         },
389         "pin2": {
390           "compName": "dff#8",
391           "pinName": "C"
392         },
393         "name": "unnamedWire#29",
394         "path": []
395       },
396       {
397         "pin1": {
398           "compName": "Splitter#1",
399           "pinName": "I"
400         },
401         "pin2": {
402           "compName": "_submodelinterface",
403           "pinName": "Q"
404         },
405         "name": "unnamedWire#3",
406         "path": []
407       },
408       {
409         "pin1": {
410           "compName": "WireCrossPoint#3",
411           "pinName": ""
412         },
413         "pin2": {
414           "compName": "dff#7",
415           "pinName": "C"
416         },
417         "name": "unnamedWire#30",
418         "path": [
419           {
420             "x": 40.0,
421             "y": 105.0
422           }
423         ]
424       },
425       {
426         "pin1": {
427           "compName": "dff#6",
428           "pinName": "C"
429         },
430         "pin2": {
431           "compName": "WireCrossPoint#7",
432           "pinName": ""
433         },
434         "name": "unnamedWire#31",
435         "path": [
436           {
437             "x": 90.0,
438             "y": 115.0
439           }
440         ]
441       },
442       {
443         "pin1": {
444           "compName": "WireCrossPoint#7",
445           "pinName": ""
446         },
447         "pin2": {
448           "compName": "dff#5",
449           "pinName": "C"
450         },
451         "name": "unnamedWire#32",
452         "path": []
453       },
454       {
455         "pin1": {
456           "compName": "WireCrossPoint#7",
457           "pinName": ""
458         },
459         "pin2": {
460           "compName": "WireCrossPoint#10",
461           "pinName": ""
462         },
463         "name": "unnamedWire#33",
464         "path": []
465       },
466       {
467         "pin1": {
468           "compName": "dff#10",
469           "pinName": "C"
470         },
471         "pin2": {
472           "compName": "WireCrossPoint#10",
473           "pinName": ""
474         },
475         "name": "unnamedWire#34",
476         "path": []
477       },
478       {
479         "pin1": {
480           "compName": "WireCrossPoint#9",
481           "pinName": ""
482         },
483         "pin2": {
484           "compName": "WireCrossPoint#10",
485           "pinName": ""
486         },
487         "name": "unnamedWire#35",
488         "path": []
489       },
490       {
491         "pin1": {
492           "compName": "WireCrossPoint#9",
493           "pinName": ""
494         },
495         "pin2": {
496           "compName": "dff#9",
497           "pinName": "C"
498         },
499         "name": "unnamedWire#36",
500         "path": []
501       },
502       {
503         "pin1": {
504           "compName": "WireCrossPoint#0",
505           "pinName": ""
506         },
507         "pin2": {
508           "compName": "WireCrossPoint#2",
509           "pinName": ""
510         },
511         "name": "unnamedWire#4",
512         "path": []
513       },
514       {
515         "pin1": {
516           "compName": "WireCrossPoint#0",
517           "pinName": ""
518         },
519         "pin2": {
520           "compName": "dff#4",
521           "pinName": "C"
522         },
523         "name": "unnamedWire#5",
524         "path": []
525       },
526       {
527         "pin1": {
528           "compName": "Splitter#1",
529           "pinName": "O7"
530         },
531         "pin2": {
532           "compName": "dff#4",
533           "pinName": "Q"
534         },
535         "name": "unnamedWire#57",
536         "path": [
537           {
538             "x": 155.0,
539             "y": 40.0
540           },
541           {
542             "x": 155.0,
543             "y": 15.0
544           }
545         ]
546       },
547       {
548         "pin1": {
549           "compName": "dff#9",
550           "pinName": "Q"
551         },
552         "pin2": {
553           "compName": "Splitter#1",
554           "pinName": "O6"
555         },
556         "name": "unnamedWire#58",
557         "path": [
558           {
559             "x": 150.0,
560             "y": 25.0
561           },
562           {
563             "x": 150.0,
564             "y": 50.0
565           }
566         ]
567       },
568       {
569         "pin1": {
570           "compName": "Splitter#1",
571           "pinName": "O5"
572         },
573         "pin2": {
574           "compName": "dff#11",
575           "pinName": "Q"
576         },
577         "name": "unnamedWire#59",
578         "path": [
579           {
580             "x": 145.0,
581             "y": 60.0
582           },
583           {
584             "x": 145.0,
585             "y": 45.0
586           }
587         ]
588       },
589       {
590         "pin1": {
591           "compName": "Splitter#1",
592           "pinName": "O4"
593         },
594         "pin2": {
595           "compName": "dff#10",
596           "pinName": "Q"
597         },
598         "name": "unnamedWire#60",
599         "path": [
600           {
601             "x": 140.0,
602             "y": 70.0
603           },
604           {
605             "x": 140.0,
606             "y": 55.0
607           }
608         ]
609       },
610       {
611         "pin1": {
612           "compName": "Splitter#1",
613           "pinName": "O3"
614         },
615         "pin2": {
616           "compName": "dff#8",
617           "pinName": "Q"
618         },
619         "name": "unnamedWire#61",
620         "path": [
621           {
622             "x": 140.0,
623             "y": 80.0
624           },
625           {
626             "x": 140.0,
627             "y": 75.0
628           }
629         ]
630       },
631       {
632         "pin1": {
633           "compName": "dff#5",
634           "pinName": "Q"
635         },
636         "pin2": {
637           "compName": "Splitter#1",
638           "pinName": "O2"
639         },
640         "name": "unnamedWire#62",
641         "path": [
642           {
643             "x": 140.0,
644             "y": 85.0
645           },
646           {
647             "x": 140.0,
648             "y": 90.0
649           }
650         ]
651       },
652       {
653         "pin1": {
654           "compName": "Splitter#1",
655           "pinName": "O1"
656         },
657         "pin2": {
658           "compName": "dff#7",
659           "pinName": "Q"
660         },
661         "name": "unnamedWire#63",
662         "path": [
663           {
664             "x": 140.0,
665             "y": 100.0
666           },
667           {
668             "x": 140.0,
669             "y": 105.0
670           }
671         ]
672       },
673       {
674         "pin1": {
675           "compName": "dff#6",
676           "pinName": "Q"
677         },
678         "pin2": {
679           "compName": "Splitter#1",
680           "pinName": "O0"
681         },
682         "name": "unnamedWire#64",
683         "path": [
684           {
685             "x": 140.0,
686             "y": 115.0
687           },
688           {
689             "x": 140.0,
690             "y": 110.0
691           }
692         ]
693       },
694       {
695         "pin1": {
696           "compName": "dff#4",
697           "pinName": "D"
698         },
699         "pin2": {
700           "compName": "Splitter#0",
701           "pinName": "O7"
702         },
703         "name": "unnamedWire#8",
704         "path": [
705           {
706             "x": 20.0,
707             "y": 25.0
708           },
709           {
710             "x": 20.0,
711             "y": 40.0
712           }
713         ]
714       },
715       {
716         "pin1": {
717           "compName": "Splitter#0",
718           "pinName": "O6"
719         },
720         "pin2": {
721           "compName": "dff#9",
722           "pinName": "D"
723         },
724         "name": "unnamedWire#9",
725         "path": [
726           {
727             "x": 25.0,
728             "y": 50.0
729           },
730           {
731             "x": 25.0,
732             "y": 35.0
733           }
734         ]
735       }
736     ],
737     "version": "0.1.1"
738   },
739   "symbolRendererSnippetID": "simpleRectangularLike",
740   "symbolRendererParams": {
741     "centerText": "D flip flop\n8 bit",
742     "centerTextHeight": 5.0,
743     "horizontalComponentCenter": 30.0,
744     "pinLabelHeight": 3.5,
745     "pinLabelMargin": 0.5
746   },
747   "outlineRendererSnippetID": "default",
748   "highLevelStateHandlerSnippetID": "standard",
749   "highLevelStateHandlerParams": {
750     "subcomponentHighLevelStates": {},
751     "atomicHighLevelStates": {
752       "q": {
753         "id": "bitVectorSplitting",
754         "params": {
755           "vectorPartTargets": [
756             "q8",
757             "q7",
758             "q6",
759             "q5",
760             "q4",
761             "q3",
762             "q2",
763             "q1"
764           ],
765           "vectorPartLengthes": [
766             1,
767             1,
768             1,
769             1,
770             1,
771             1,
772             1,
773             1
774           ]
775         }
776       },
777       "q1": {
778         "id": "delegating",
779         "params": {
780           "delegateTarget": "dff#6",
781           "subStateID": "q"
782         }
783       },
784       "q2": {
785         "id": "delegating",
786         "params": {
787           "delegateTarget": "dff#7",
788           "subStateID": "q"
789         }
790       },
791       "q3": {
792         "id": "delegating",
793         "params": {
794           "delegateTarget": "dff#5",
795           "subStateID": "q"
796         }
797       },
798       "q4": {
799         "id": "delegating",
800         "params": {
801           "delegateTarget": "dff#8",
802           "subStateID": "q"
803         }
804       },
805       "q5": {
806         "id": "delegating",
807         "params": {
808           "delegateTarget": "dff#10",
809           "subStateID": "q"
810         }
811       },
812       "q6": {
813         "id": "delegating",
814         "params": {
815           "delegateTarget": "dff#11",
816           "subStateID": "q"
817         }
818       },
819       "q7": {
820         "id": "delegating",
821         "params": {
822           "delegateTarget": "dff#9",
823           "subStateID": "q"
824         }
825       },
826       "q8": {
827         "id": "delegating",
828         "params": {
829           "delegateTarget": "dff#4",
830           "subStateID": "q"
831         }
832       }
833     }
834   },
835   "version": "0.1.5"
836 }