Reorganized location of .json components
[Mograsim.git] / net.mograsim.logic.ui.am2900 / components / GUIdff.json
1 mograsim version: 0.1.2
2 {
3   "type": "SimpleRectangularSubmodelComponent",
4   "name": "GUIdff",
5   "width": 35.0,
6   "height": 20.0,
7   "interfacePins": [
8     {
9       "location": {
10         "x": 35.0,
11         "y": 5.0
12       },
13       "name": "Q",
14       "logicWidth": 1
15     },
16     {
17       "location": {
18         "x": 35.0,
19         "y": 15.0
20       },
21       "name": "_Q",
22       "logicWidth": 1
23     },
24     {
25       "location": {
26         "x": 0.0,
27         "y": 5.0
28       },
29       "name": "C",
30       "logicWidth": 1
31     },
32     {
33       "location": {
34         "x": 0.0,
35         "y": 15.0
36       },
37       "name": "D",
38       "logicWidth": 1
39     }
40   ],
41   "composition": {
42     "innerScale": 0.2,
43     "subComps": [
44       {
45         "pos": {
46           "x": 40.0,
47           "y": 10.0
48         },
49         "name": "GUI_rsLatch",
50         "params": {}
51       },
52       {
53         "pos": {
54           "x": 40.0,
55           "y": 40.0
56         },
57         "name": "GUInand3",
58         "params": {}
59       },
60       {
61         "pos": {
62           "x": 120.0,
63           "y": 60.0
64         },
65         "name": "GUINandGate",
66         "params": {
67           "logicWidth": 1
68         }
69       },
70       {
71         "pos": {
72           "x": 120.0,
73           "y": 30.0
74         },
75         "name": "GUI_rsLatch",
76         "params": {}
77       },
78       {
79         "pos": {
80           "x": 9.0,
81           "y": 24.0
82         },
83         "name": "WireCrossPoint",
84         "params": {
85           "logicWidth": 1
86         }
87       },
88       {
89         "pos": {
90           "x": 19.0,
91           "y": 64.0
92         },
93         "name": "WireCrossPoint",
94         "params": {
95           "logicWidth": 1
96         }
97       },
98       {
99         "pos": {
100           "x": 99.0,
101           "y": 34.0
102         },
103         "name": "WireCrossPoint",
104         "params": {
105           "logicWidth": 1
106         }
107       },
108       {
109         "pos": {
110           "x": 99.0,
111           "y": 44.0
112         },
113         "name": "WireCrossPoint",
114         "params": {
115           "logicWidth": 1
116         }
117       }
118     ],
119     "innerWires": [
120       {
121         "pin1": {
122           "compId": 0,
123           "pinName": "C"
124         },
125         "pin2": {
126           "compId": 5,
127           "pinName": ""
128         },
129         "path": []
130       },
131       {
132         "pin1": {
133           "compId": 5,
134           "pinName": ""
135         },
136         "pin2": {
137           "compId": 1,
138           "pinName": "_R"
139         },
140         "path": []
141       },
142       {
143         "pin1": {
144           "compId": 5,
145           "pinName": ""
146         },
147         "pin2": {
148           "compId": 2,
149           "pinName": "B"
150         },
151         "path": [
152           {
153             "x": 10.0,
154             "y": 55.0
155           }
156         ]
157       },
158       {
159         "pin1": {
160           "compId": 0,
161           "pinName": "D"
162         },
163         "pin2": {
164           "compId": 3,
165           "pinName": "B"
166         },
167         "path": []
168       },
169       {
170         "pin1": {
171           "compId": 3,
172           "pinName": "Y"
173         },
174         "pin2": {
175           "compId": 6,
176           "pinName": ""
177         },
178         "path": [
179           {
180             "x": 145.0,
181             "y": 70.0
182           },
183           {
184             "x": 145.0,
185             "y": 85.0
186           },
187           {
188             "x": 20.0,
189             "y": 85.0
190           }
191         ]
192       },
193       {
194         "pin1": {
195           "compId": 6,
196           "pinName": ""
197         },
198         "pin2": {
199           "compId": 1,
200           "pinName": "_S"
201         },
202         "path": [
203           {
204             "x": 20.0,
205             "y": 15.0
206           }
207         ]
208       },
209       {
210         "pin1": {
211           "compId": 6,
212           "pinName": ""
213         },
214         "pin2": {
215           "compId": 2,
216           "pinName": "C"
217         },
218         "path": []
219       },
220       {
221         "pin1": {
222           "compId": 1,
223           "pinName": "_Q"
224         },
225         "pin2": {
226           "compId": 7,
227           "pinName": ""
228         },
229         "path": [
230           {
231             "x": 100.0,
232             "y": 25.0
233           }
234         ]
235       },
236       {
237         "pin1": {
238           "compId": 7,
239           "pinName": ""
240         },
241         "pin2": {
242           "compId": 2,
243           "pinName": "A"
244         },
245         "path": [
246           {
247             "x": 30.0,
248             "y": 35.0
249           },
250           {
251             "x": 30.0,
252             "y": 45.0
253           }
254         ]
255       },
256       {
257         "pin1": {
258           "compId": 7,
259           "pinName": ""
260         },
261         "pin2": {
262           "compId": 4,
263           "pinName": "_S"
264         },
265         "path": []
266       },
267       {
268         "pin1": {
269           "compId": 2,
270           "pinName": "Y"
271         },
272         "pin2": {
273           "compId": 8,
274           "pinName": ""
275         },
276         "path": []
277       },
278       {
279         "pin1": {
280           "compId": 8,
281           "pinName": ""
282         },
283         "pin2": {
284           "compId": 4,
285           "pinName": "_R"
286         },
287         "path": []
288       },
289       {
290         "pin1": {
291           "compId": 8,
292           "pinName": ""
293         },
294         "pin2": {
295           "compId": 3,
296           "pinName": "A"
297         },
298         "path": [
299           {
300             "x": 100.0,
301             "y": 65.0
302           }
303         ]
304       },
305       {
306         "pin1": {
307           "compId": 4,
308           "pinName": "Q"
309         },
310         "pin2": {
311           "compId": 0,
312           "pinName": "Q"
313         }
314       },
315       {
316         "pin1": {
317           "compId": 4,
318           "pinName": "_Q"
319         },
320         "pin2": {
321           "compId": 0,
322           "pinName": "_Q"
323         }
324       }
325     ]
326   },
327   "specialized": {
328     "input_count": [
329       "C",
330       "D"
331     ],
332     "label": "GUIdff",
333     "logic_width": 1,
334     "output_count": [
335       "Q",
336       "_Q"
337     ]
338   }
339 }