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