27438688fcfcffd13ee666f1df44a64259788722
[Mograsim.git] / net.mograsim.logic.ui / components / am2901 / GUIAm2901QReg.json
1 mograsim version: 0.1.1
2 {
3   "type": "SimpleRectangularSubmodelComponent",
4   "name": "GUIAm2901QReg",
5   "width": 35.0,
6   "height": 60.0,
7   "interfacePins": [
8     {
9       "location": {
10         "x": 0.0,
11         "y": 55.0
12       },
13       "name": "D4",
14       "logicWidth": 1
15     },
16     {
17       "location": {
18         "x": 35.0,
19         "y": 5.0
20       },
21       "name": "Q1",
22       "logicWidth": 1
23     },
24     {
25       "location": {
26         "x": 35.0,
27         "y": 15.0
28       },
29       "name": "Q2",
30       "logicWidth": 1
31     },
32     {
33       "location": {
34         "x": 35.0,
35         "y": 25.0
36       },
37       "name": "Q3",
38       "logicWidth": 1
39     },
40     {
41       "location": {
42         "x": 0.0,
43         "y": 5.0
44       },
45       "name": "C",
46       "logicWidth": 1
47     },
48     {
49       "location": {
50         "x": 35.0,
51         "y": 35.0
52       },
53       "name": "Q4",
54       "logicWidth": 1
55     },
56     {
57       "location": {
58         "x": 0.0,
59         "y": 25.0
60       },
61       "name": "D1",
62       "logicWidth": 1
63     },
64     {
65       "location": {
66         "x": 0.0,
67         "y": 15.0
68       },
69       "name": "WE",
70       "logicWidth": 1
71     },
72     {
73       "location": {
74         "x": 0.0,
75         "y": 35.0
76       },
77       "name": "D2",
78       "logicWidth": 1
79     },
80     {
81       "location": {
82         "x": 0.0,
83         "y": 45.0
84       },
85       "name": "D3",
86       "logicWidth": 1
87     }
88   ],
89   "composition": {
90     "innerScale": 0.4,
91     "subComps": [
92       {
93         "pos": {
94           "x": 5.0,
95           "y": 15.0
96         },
97         "name": "GUIand",
98         "params": {}
99       },
100       {
101         "pos": {
102           "x": 50.0,
103           "y": 7.5
104         },
105         "name": "GUIdff",
106         "params": {}
107       },
108       {
109         "pos": {
110           "x": 50.0,
111           "y": 32.5
112         },
113         "name": "GUIdff",
114         "params": {}
115       },
116       {
117         "pos": {
118           "x": 50.0,
119           "y": 57.5
120         },
121         "name": "GUIdff",
122         "params": {}
123       },
124       {
125         "pos": {
126           "x": 50.0,
127           "y": 82.5
128         },
129         "name": "GUIdff",
130         "params": {}
131       },
132       {
133         "pos": {
134           "x": 41.5,
135           "y": 19.0
136         },
137         "name": "WireCrossPoint",
138         "params": {
139           "logicWidth": 1
140         }
141       },
142       {
143         "pos": {
144           "x": 41.5,
145           "y": 36.5
146         },
147         "name": "WireCrossPoint",
148         "params": {
149           "logicWidth": 1
150         }
151       },
152       {
153         "pos": {
154           "x": 41.5,
155           "y": 61.5
156         },
157         "name": "WireCrossPoint",
158         "params": {
159           "logicWidth": 1
160         }
161       }
162     ],
163     "innerWires": [
164       {
165         "pin1": {
166           "compId": 0,
167           "pinName": "C"
168         },
169         "pin2": {
170           "compId": 1,
171           "pinName": "A"
172         }
173       },
174       {
175         "pin1": {
176           "compId": 0,
177           "pinName": "WE"
178         },
179         "pin2": {
180           "compId": 1,
181           "pinName": "B"
182         }
183       },
184       {
185         "pin1": {
186           "compId": 1,
187           "pinName": "Y"
188         },
189         "pin2": {
190           "compId": 6,
191           "pinName": ""
192         },
193         "path": []
194       },
195       {
196         "pin1": {
197           "compId": 6,
198           "pinName": ""
199         },
200         "pin2": {
201           "compId": 2,
202           "pinName": "C"
203         },
204         "path": [
205           {
206             "x": 42.5,
207             "y": 12.5
208           }
209         ]
210       },
211       {
212         "pin1": {
213           "compId": 6,
214           "pinName": ""
215         },
216         "pin2": {
217           "compId": 7,
218           "pinName": ""
219         },
220         "path": []
221       },
222       {
223         "pin1": {
224           "compId": 7,
225           "pinName": ""
226         },
227         "pin2": {
228           "compId": 3,
229           "pinName": "C"
230         },
231         "path": []
232       },
233       {
234         "pin1": {
235           "compId": 7,
236           "pinName": ""
237         },
238         "pin2": {
239           "compId": 8,
240           "pinName": ""
241         },
242         "path": []
243       },
244       {
245         "pin1": {
246           "compId": 8,
247           "pinName": ""
248         },
249         "pin2": {
250           "compId": 4,
251           "pinName": "C"
252         },
253         "path": []
254       },
255       {
256         "pin1": {
257           "compId": 8,
258           "pinName": ""
259         },
260         "pin2": {
261           "compId": 5,
262           "pinName": "C"
263         },
264         "path": [
265           {
266             "x": 42.5,
267             "y": 87.5
268           }
269         ]
270       },
271       {
272         "pin1": {
273           "compId": 0,
274           "pinName": "D1"
275         },
276         "pin2": {
277           "compId": 2,
278           "pinName": "D"
279         },
280         "path": [
281           {
282             "x": 17.5,
283             "y": 62.5
284           },
285           {
286             "x": 17.5,
287             "y": 42.5
288           },
289           {
290             "x": 45.0,
291             "y": 42.5
292           },
293           {
294             "x": 45.0,
295             "y": 22.5
296           }
297         ]
298       },
299       {
300         "pin1": {
301           "compId": 0,
302           "pinName": "D2"
303         },
304         "pin2": {
305           "compId": 3,
306           "pinName": "D"
307         },
308         "path": [
309           {
310             "x": 22.5,
311             "y": 87.5
312           },
313           {
314             "x": 22.5,
315             "y": 47.5
316           }
317         ]
318       },
319       {
320         "pin1": {
321           "compId": 0,
322           "pinName": "D3"
323         },
324         "pin2": {
325           "compId": 4,
326           "pinName": "D"
327         },
328         "path": [
329           {
330             "x": 27.5,
331             "y": 112.5
332           },
333           {
334             "x": 27.5,
335             "y": 72.5
336           }
337         ]
338       },
339       {
340         "pin1": {
341           "compId": 0,
342           "pinName": "D4"
343         },
344         "pin2": {
345           "compId": 5,
346           "pinName": "D"
347         },
348         "path": [
349           {
350             "x": 32.5,
351             "y": 137.5
352           },
353           {
354             "x": 32.5,
355             "y": 97.5
356           }
357         ]
358       },
359       {
360         "pin1": {
361           "compId": 2,
362           "pinName": "Q"
363         },
364         "pin2": {
365           "compId": 0,
366           "pinName": "Q1"
367         },
368         "path": []
369       },
370       {
371         "pin1": {
372           "compId": 3,
373           "pinName": "Q"
374         },
375         "pin2": {
376           "compId": 0,
377           "pinName": "Q2"
378         },
379         "path": []
380       },
381       {
382         "pin1": {
383           "compId": 4,
384           "pinName": "Q"
385         },
386         "pin2": {
387           "compId": 0,
388           "pinName": "Q3"
389         },
390         "path": []
391       },
392       {
393         "pin1": {
394           "compId": 5,
395           "pinName": "Q"
396         },
397         "pin2": {
398           "compId": 0,
399           "pinName": "Q4"
400         },
401         "path": []
402       }
403     ]
404   },
405   "specialized": {
406     "input_count": [
407       "C",
408       "WE",
409       "D1",
410       "D2",
411       "D3",
412       "D4"
413     ],
414     "label": "GUIAm2901QReg",
415     "logic_width": 1,
416     "output_count": [
417       "Q1",
418       "Q2",
419       "Q3",
420       "Q4"
421     ]
422   }
423 }