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