bcac03d02374cf4efbde3c95fbb120443472f924
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / dlatch4.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": "WireCrossPoint",
92         "name": "WireCrossPoint#0",
93         "pos": {
94           "x": 14.0,
95           "y": 46.5
96         },
97         "params": 1
98       },
99       {
100         "id": "WireCrossPoint",
101         "name": "WireCrossPoint#1",
102         "pos": {
103           "x": 14.0,
104           "y": 71.5
105         },
106         "params": 1
107       },
108       {
109         "id": "WireCrossPoint",
110         "name": "WireCrossPoint#2",
111         "pos": {
112           "x": 14.0,
113           "y": 96.5
114         },
115         "params": 1
116       },
117       {
118         "id": "dlatch",
119         "name": "dlatch#0",
120         "pos": {
121           "x": 30.0,
122           "y": 7.5
123         }
124       },
125       {
126         "id": "dlatch",
127         "name": "dlatch#1",
128         "pos": {
129           "x": 30.0,
130           "y": 32.5
131         }
132       },
133       {
134         "id": "dlatch",
135         "name": "dlatch#2",
136         "pos": {
137           "x": 30.0,
138           "y": 57.5
139         }
140       },
141       {
142         "id": "dlatch",
143         "name": "dlatch#3",
144         "pos": {
145           "x": 30.0,
146           "y": 82.5
147         }
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": "dlatch#3",
175           "pinName": "E"
176         },
177         "name": "unnamedWire#1",
178         "path": []
179       },
180       {
181         "pin1": {
182           "compName": "WireCrossPoint#2",
183           "pinName": ""
184         },
185         "pin2": {
186           "compName": "WireCrossPoint#1",
187           "pinName": ""
188         },
189         "name": "unnamedWire#2",
190         "path": []
191       },
192       {
193         "pin1": {
194           "compName": "WireCrossPoint#1",
195           "pinName": ""
196         },
197         "pin2": {
198           "compName": "dlatch#2",
199           "pinName": "E"
200         },
201         "name": "unnamedWire#3",
202         "path": []
203       },
204       {
205         "pin1": {
206           "compName": "WireCrossPoint#1",
207           "pinName": ""
208         },
209         "pin2": {
210           "compName": "WireCrossPoint#0",
211           "pinName": ""
212         },
213         "name": "unnamedWire#4",
214         "path": []
215       },
216       {
217         "pin1": {
218           "compName": "WireCrossPoint#0",
219           "pinName": ""
220         },
221         "pin2": {
222           "compName": "dlatch#1",
223           "pinName": "E"
224         },
225         "name": "unnamedWire#5",
226         "path": []
227       },
228       {
229         "pin1": {
230           "compName": "WireCrossPoint#0",
231           "pinName": ""
232         },
233         "pin2": {
234           "compName": "dlatch#0",
235           "pinName": "E"
236         },
237         "name": "unnamedWire#6",
238         "path": [
239           {
240             "x": 15.0,
241             "y": 22.5
242           }
243         ]
244       },
245       {
246         "pin1": {
247           "compName": "_submodelinterface",
248           "pinName": "D1"
249         },
250         "pin2": {
251           "compName": "dlatch#0",
252           "pinName": "D"
253         },
254         "name": "unnamedWire#7",
255         "path": []
256       },
257       {
258         "pin1": {
259           "compName": "_submodelinterface",
260           "pinName": "D2"
261         },
262         "pin2": {
263           "compName": "dlatch#1",
264           "pinName": "D"
265         },
266         "name": "unnamedWire#8",
267         "path": []
268       },
269       {
270         "pin1": {
271           "compName": "_submodelinterface",
272           "pinName": "D3"
273         },
274         "pin2": {
275           "compName": "dlatch#2",
276           "pinName": "D"
277         },
278         "name": "unnamedWire#9",
279         "path": []
280       },
281       {
282         "pin1": {
283           "compName": "_submodelinterface",
284           "pinName": "D4"
285         },
286         "pin2": {
287           "compName": "dlatch#3",
288           "pinName": "D"
289         },
290         "name": "unnamedWire#10",
291         "path": []
292       },
293       {
294         "pin1": {
295           "compName": "dlatch#0",
296           "pinName": "Q"
297         },
298         "pin2": {
299           "compName": "_submodelinterface",
300           "pinName": "Q1"
301         },
302         "name": "unnamedWire#11",
303         "path": []
304       },
305       {
306         "pin1": {
307           "compName": "dlatch#1",
308           "pinName": "Q"
309         },
310         "pin2": {
311           "compName": "_submodelinterface",
312           "pinName": "Q2"
313         },
314         "name": "unnamedWire#12",
315         "path": []
316       },
317       {
318         "pin1": {
319           "compName": "dlatch#2",
320           "pinName": "Q"
321         },
322         "pin2": {
323           "compName": "_submodelinterface",
324           "pinName": "Q3"
325         },
326         "name": "unnamedWire#13",
327         "path": []
328       },
329       {
330         "pin1": {
331           "compName": "dlatch#3",
332           "pinName": "Q"
333         },
334         "pin2": {
335           "compName": "_submodelinterface",
336           "pinName": "Q4"
337         },
338         "name": "unnamedWire#14",
339         "path": []
340       }
341     ],
342     "version": "0.1.1"
343   },
344   "symbolRendererSnippetID": "simpleRectangularLike",
345   "symbolRendererParams": {
346     "centerText": "dlatch4",
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       "q": {
358         "id": "bitVectorSplitting",
359         "params": {
360           "vectorPartTargets": [
361             "q4",
362             "q3",
363             "q2",
364             "q1"
365           ],
366           "vectorPartLengthes": [
367             1,
368             1,
369             1,
370             1
371           ]
372         }
373       },
374       "q1": {
375         "id": "delegating",
376         "params": {
377           "delegateTarget": "dlatch#0",
378           "subStateID": "q"
379         }
380       },
381       "q2": {
382         "id": "delegating",
383         "params": {
384           "delegateTarget": "dlatch#1",
385           "subStateID": "q"
386         }
387       },
388       "q3": {
389         "id": "delegating",
390         "params": {
391           "delegateTarget": "dlatch#2",
392           "subStateID": "q"
393         }
394       },
395       "q4": {
396         "id": "delegating",
397         "params": {
398           "delegateTarget": "dlatch#3",
399           "subStateID": "q"
400         }
401       }
402     }
403   },
404   "version": "0.1.5"
405 }