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