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