Serializing now serializes everything; among many other things:
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUIdlatch.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": "D",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 0.0,
33         "y": 15.0
34       },
35       "name": "E",
36       "logicWidth": 1
37     }
38   ],
39   "submodel": {
40     "innerScale": 0.4,
41     "subComps": [
42       {
43         "id": "GUINandGate",
44         "name": "GUINandGate#1",
45         "pos": {
46           "x": 15.0,
47           "y": 27.5
48         },
49         "params": 1
50       },
51       {
52         "id": "GUI_rsLatch",
53         "name": "GUI_rsLatch#0",
54         "pos": {
55           "x": 45.0,
56           "y": 7.5
57         }
58       },
59       {
60         "id": "GUINandGate",
61         "name": "GUINandGate#0",
62         "pos": {
63           "x": 10.0,
64           "y": 2.5
65         },
66         "params": 1
67       },
68       {
69         "id": "WireCrossPoint",
70         "name": "WireCrossPoint#1",
71         "pos": {
72           "x": 34.0,
73           "y": 11.5
74         },
75         "params": 1
76       },
77       {
78         "id": "WireCrossPoint",
79         "name": "WireCrossPoint#0",
80         "pos": {
81           "x": 4.0,
82           "y": 36.5
83         },
84         "params": 1
85       }
86     ],
87     "innerWires": [
88       {
89         "pin1": {
90           "compName": "GUI_rsLatch#0",
91           "pinName": "_Q"
92         },
93         "pin2": {
94           "compName": "_submodelinterface",
95           "pinName": "_Q"
96         },
97         "name": "unnamedWire#9"
98       },
99       {
100         "pin1": {
101           "compName": "GUI_rsLatch#0",
102           "pinName": "Q"
103         },
104         "pin2": {
105           "compName": "_submodelinterface",
106           "pinName": "Q"
107         },
108         "name": "unnamedWire#8",
109         "path": []
110       },
111       {
112         "pin1": {
113           "compName": "GUINandGate#1",
114           "pinName": "Y"
115         },
116         "pin2": {
117           "compName": "GUI_rsLatch#0",
118           "pinName": "_R"
119         },
120         "name": "unnamedWire#7",
121         "path": [
122           {
123             "x": 40.0,
124             "y": 37.5
125           },
126           {
127             "x": 40.0,
128             "y": 22.5
129           }
130         ]
131       },
132       {
133         "pin1": {
134           "compName": "WireCrossPoint#1",
135           "pinName": ""
136         },
137         "pin2": {
138           "compName": "GUI_rsLatch#0",
139           "pinName": "_S"
140         },
141         "name": "unnamedWire#6",
142         "path": []
143       },
144       {
145         "pin1": {
146           "compName": "_submodelinterface",
147           "pinName": "E"
148         },
149         "pin2": {
150           "compName": "WireCrossPoint#0",
151           "pinName": ""
152         },
153         "name": "unnamedWire#1",
154         "path": []
155       },
156       {
157         "pin1": {
158           "compName": "_submodelinterface",
159           "pinName": "D"
160         },
161         "pin2": {
162           "compName": "GUINandGate#0",
163           "pinName": "A"
164         },
165         "name": "unnamedWire#0"
166       },
167       {
168         "pin1": {
169           "compName": "WireCrossPoint#1",
170           "pinName": ""
171         },
172         "pin2": {
173           "compName": "GUINandGate#1",
174           "pinName": "A"
175         },
176         "name": "unnamedWire#5",
177         "path": [
178           {
179             "x": 35.0,
180             "y": 25.0
181           },
182           {
183             "x": 10.0,
184             "y": 25.0
185           },
186           {
187             "x": 10.0,
188             "y": 32.5
189           }
190         ]
191       },
192       {
193         "pin1": {
194           "compName": "GUINandGate#0",
195           "pinName": "Y"
196         },
197         "pin2": {
198           "compName": "WireCrossPoint#1",
199           "pinName": ""
200         },
201         "name": "unnamedWire#4",
202         "path": []
203       },
204       {
205         "pin1": {
206           "compName": "WireCrossPoint#0",
207           "pinName": ""
208         },
209         "pin2": {
210           "compName": "GUINandGate#1",
211           "pinName": "B"
212         },
213         "name": "unnamedWire#3",
214         "path": [
215           {
216             "x": 5.0,
217             "y": 42.5
218           }
219         ]
220       },
221       {
222         "pin1": {
223           "compName": "WireCrossPoint#0",
224           "pinName": ""
225         },
226         "pin2": {
227           "compName": "GUINandGate#0",
228           "pinName": "B"
229         },
230         "name": "unnamedWire#2",
231         "path": [
232           {
233             "x": 5.0,
234             "y": 17.5
235           }
236         ]
237       }
238     ]
239   },
240   "symbolRendererSnippetID": "class:net.mograsim.logic.model.snippets.symbolrenderers.SimpleRectangularLikeSymbolRenderer",
241   "symbolRendererParams": {
242     "centerText": "GUIdlatch",
243     "centerTextHeight": 5.0,
244     "horizontalComponentCenter": 17.5,
245     "pinLabelHeight": 3.5,
246     "pinLabelMargin": 0.5
247   },
248   "outlineRendererSnippetID": "class:net.mograsim.logic.model.snippets.outlinerenderers.DefaultOutlineRenderer",
249   "highLevelStateHandlerSnippetID": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.StandardHighLevelStateHandler",
250   "highLevelStateHandlerParams": {
251     "subcomponentHighLevelStates": {},
252     "atomicHighLevelStates": {
253       "q": {
254         "id": "class:net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic.DelegatingAtomicHighLevelStateHandler",
255         "params": {
256           "delegateTarget": "GUI_rsLatch#0",
257           "subStateID": "q"
258         }
259       }
260     }
261   }
262 }