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