Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUIdlatch4.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 50.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 0.0,
9         "y": 35.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": 45.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": 5.0
58       },
59       "name": "D1",
60       "logicWidth": 1
61     },
62     {
63       "location": {
64         "x": 0.0,
65         "y": 15.0
66       },
67       "name": "D2",
68       "logicWidth": 1
69     },
70     {
71       "location": {
72         "x": 0.0,
73         "y": 25.0
74       },
75       "name": "D3",
76       "logicWidth": 1
77     }
78   ],
79   "submodel": {
80     "innerScale": 0.4,
81     "subComps": [
82       {
83         "id": "WireCrossPoint",
84         "name": "WireCrossPoint#1",
85         "pos": {
86           "x": 14.0,
87           "y": 71.5
88         },
89         "params": 1
90       },
91       {
92         "id": "WireCrossPoint",
93         "name": "WireCrossPoint#0",
94         "pos": {
95           "x": 14.0,
96           "y": 46.5
97         },
98         "params": 1
99       },
100       {
101         "id": "WireCrossPoint",
102         "name": "WireCrossPoint#2",
103         "pos": {
104           "x": 14.0,
105           "y": 96.5
106         },
107         "params": 1
108       },
109       {
110         "id": "GUIdlatch",
111         "name": "GUIdlatch#1",
112         "pos": {
113           "x": 30.0,
114           "y": 32.5
115         }
116       },
117       {
118         "id": "GUIdlatch",
119         "name": "GUIdlatch#0",
120         "pos": {
121           "x": 30.0,
122           "y": 7.5
123         }
124       },
125       {
126         "id": "GUIdlatch",
127         "name": "GUIdlatch#3",
128         "pos": {
129           "x": 30.0,
130           "y": 82.5
131         }
132       },
133       {
134         "id": "GUIdlatch",
135         "name": "GUIdlatch#2",
136         "pos": {
137           "x": 30.0,
138           "y": 57.5
139         }
140       }
141     ],
142     "innerWires": [
143       {
144         "pin1": {
145           "compName": "GUIdlatch#3",
146           "pinName": "Q"
147         },
148         "pin2": {
149           "compName": "_submodelinterface",
150           "pinName": "Q4"
151         },
152         "name": "unnamedWire#14",
153         "path": []
154       },
155       {
156         "pin1": {
157           "compName": "GUIdlatch#2",
158           "pinName": "Q"
159         },
160         "pin2": {
161           "compName": "_submodelinterface",
162           "pinName": "Q3"
163         },
164         "name": "unnamedWire#13",
165         "path": []
166       },
167       {
168         "pin1": {
169           "compName": "_submodelinterface",
170           "pinName": "D3"
171         },
172         "pin2": {
173           "compName": "GUIdlatch#2",
174           "pinName": "D"
175         },
176         "name": "unnamedWire#9",
177         "path": []
178       },
179       {
180         "pin1": {
181           "compName": "_submodelinterface",
182           "pinName": "D2"
183         },
184         "pin2": {
185           "compName": "GUIdlatch#1",
186           "pinName": "D"
187         },
188         "name": "unnamedWire#8",
189         "path": []
190       },
191       {
192         "pin1": {
193           "compName": "_submodelinterface",
194           "pinName": "D1"
195         },
196         "pin2": {
197           "compName": "GUIdlatch#0",
198           "pinName": "D"
199         },
200         "name": "unnamedWire#7",
201         "path": []
202       },
203       {
204         "pin1": {
205           "compName": "WireCrossPoint#0",
206           "pinName": ""
207         },
208         "pin2": {
209           "compName": "GUIdlatch#0",
210           "pinName": "E"
211         },
212         "name": "unnamedWire#6",
213         "path": [
214           {
215             "x": 15.0,
216             "y": 22.5
217           }
218         ]
219       },
220       {
221         "pin1": {
222           "compName": "WireCrossPoint#2",
223           "pinName": ""
224         },
225         "pin2": {
226           "compName": "GUIdlatch#3",
227           "pinName": "E"
228         },
229         "name": "unnamedWire#1",
230         "path": []
231       },
232       {
233         "pin1": {
234           "compName": "_submodelinterface",
235           "pinName": "C"
236         },
237         "pin2": {
238           "compName": "WireCrossPoint#2",
239           "pinName": ""
240         },
241         "name": "unnamedWire#0",
242         "path": [
243           {
244             "x": 15.0,
245             "y": 112.5
246           }
247         ]
248       },
249       {
250         "pin1": {
251           "compName": "WireCrossPoint#0",
252           "pinName": ""
253         },
254         "pin2": {
255           "compName": "GUIdlatch#1",
256           "pinName": "E"
257         },
258         "name": "unnamedWire#5",
259         "path": []
260       },
261       {
262         "pin1": {
263           "compName": "_submodelinterface",
264           "pinName": "D4"
265         },
266         "pin2": {
267           "compName": "GUIdlatch#3",
268           "pinName": "D"
269         },
270         "name": "unnamedWire#10",
271         "path": []
272       },
273       {
274         "pin1": {
275           "compName": "WireCrossPoint#1",
276           "pinName": ""
277         },
278         "pin2": {
279           "compName": "WireCrossPoint#0",
280           "pinName": ""
281         },
282         "name": "unnamedWire#4",
283         "path": []
284       },
285       {
286         "pin1": {
287           "compName": "WireCrossPoint#1",
288           "pinName": ""
289         },
290         "pin2": {
291           "compName": "GUIdlatch#2",
292           "pinName": "E"
293         },
294         "name": "unnamedWire#3",
295         "path": []
296       },
297       {
298         "pin1": {
299           "compName": "GUIdlatch#1",
300           "pinName": "Q"
301         },
302         "pin2": {
303           "compName": "_submodelinterface",
304           "pinName": "Q2"
305         },
306         "name": "unnamedWire#12",
307         "path": []
308       },
309       {
310         "pin1": {
311           "compName": "WireCrossPoint#2",
312           "pinName": ""
313         },
314         "pin2": {
315           "compName": "WireCrossPoint#1",
316           "pinName": ""
317         },
318         "name": "unnamedWire#2",
319         "path": []
320       },
321       {
322         "pin1": {
323           "compName": "GUIdlatch#0",
324           "pinName": "Q"
325         },
326         "pin2": {
327           "compName": "_submodelinterface",
328           "pinName": "Q1"
329         },
330         "name": "unnamedWire#11",
331         "path": []
332       }
333     ]
334   },
335   "symbolRendererSnippetID": "simpleRectangularLike",
336   "symbolRendererParams": {
337     "centerText": "GUIdlatch4",
338     "centerTextHeight": 5.0,
339     "horizontalComponentCenter": 17.5,
340     "pinLabelHeight": 3.5,
341     "pinLabelMargin": 0.5
342   },
343   "outlineRendererSnippetID": "default",
344   "highLevelStateHandlerSnippetID": "standard",
345   "highLevelStateHandlerParams": {
346     "subcomponentHighLevelStates": {},
347     "atomicHighLevelStates": {
348       "q1": {
349         "id": "delegating",
350         "params": {
351           "delegateTarget": "GUIdlatch#0",
352           "subStateID": "q"
353         }
354       },
355       "q2": {
356         "id": "delegating",
357         "params": {
358           "delegateTarget": "GUIdlatch#1",
359           "subStateID": "q"
360         }
361       },
362       "q": {
363         "id": "bitVectorSplitting",
364         "params": {
365           "vectorPartTargets": [
366             "q1",
367             "q2",
368             "q3",
369             "q4"
370           ],
371           "vectorPartLengthes": [
372             1,
373             1,
374             1,
375             1
376           ]
377         }
378       },
379       "q3": {
380         "id": "delegating",
381         "params": {
382           "delegateTarget": "GUIdlatch#2",
383           "subStateID": "q"
384         }
385       },
386       "q4": {
387         "id": "delegating",
388         "params": {
389           "delegateTarget": "GUIdlatch#3",
390           "subStateID": "q"
391         }
392       }
393     }
394   }
395 }