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