Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.editor / components / GUIxor.json
1 mograsim version: 0.1.3
2 {
3         "width": 35.0,
4         "height": 20.0,
5         "interfacePins": [
6                 {
7                         "location": {
8                                 "x": 0.0,
9                                 "y": 5.0
10                         },
11                         "name": "A",
12                         "logicWidth": 1
13                 },
14                 {
15                         "location": {
16                                 "x": 0.0,
17                                 "y": 15.0
18                         },
19                         "name": "B",
20                         "logicWidth": 1
21                 },
22                 {
23                         "location": {
24                                 "x": 35.0,
25                                 "y": 5.0
26                         },
27                         "name": "Y",
28                         "logicWidth": 1
29                 }
30         ],
31         "submodel": {
32                 "innerScale": 0.4,
33                 "subComps": [
34                         {
35                                 "pos": {
36                                         "x": 7.5,
37                                         "y": 15.0
38                                 },
39                                 "id": "GUINandGate",
40                                 "params": 1
41                         },
42                         {
43                                 "pos": {
44                                         "x": 35.0,
45                                         "y": 2.5
46                                 },
47                                 "id": "GUINandGate",
48                                 "params": 1
49                         },
50                         {
51                                 "pos": {
52                                         "x": 35.0,
53                                         "y": 27.5
54                                 },
55                                 "id": "GUINandGate",
56                                 "params": 1
57                         },
58                         {
59                                 "pos": {
60                                         "x": 62.5,
61                                         "y": 15.0
62                                 },
63                                 "id": "GUINandGate",
64                                 "params": 1
65                         },
66                         {
67                                 "pos": {
68                                         "x": 4.0,
69                                         "y": 11.5
70                                 },
71                                 "id": "WireCrossPoint",
72                                 "params": 1
73                         },
74                         {
75                                 "pos": {
76                                         "x": 4.0,
77                                         "y": 36.5
78                                 },
79                                 "id": "WireCrossPoint",
80                                 "params": 1
81                         },
82                         {
83                                 "pos": {
84                                         "x": 29.0,
85                                         "y": 24.0
86                                 },
87                                 "id": "WireCrossPoint",
88                                 "params": 1
89                         }
90                 ],
91                 "innerWires": [
92                         {
93                                 "pin1": {
94                                         "compId": 0,
95                                         "pinName": "A"
96                                 },
97                                 "pin2": {
98                                         "compId": 5,
99                                         "pinName": ""
100                                 },
101                                 "path": []
102                         },
103                         {
104                                 "pin1": {
105                                         "compId": 0,
106                                         "pinName": "B"
107                                 },
108                                 "pin2": {
109                                         "compId": 6,
110                                         "pinName": ""
111                                 },
112                                 "path": []
113                         },
114                         {
115                                 "pin1": {
116                                         "compId": 5,
117                                         "pinName": ""
118                                 },
119                                 "pin2": {
120                                         "compId": 1,
121                                         "pinName": "A"
122                                 },
123                                 "path": [
124                                         {
125                                                 "x": 5.0,
126                                                 "y": 20.0
127                                         }
128                                 ]
129                         },
130                         {
131                                 "pin1": {
132                                         "compId": 6,
133                                         "pinName": ""
134                                 },
135                                 "pin2": {
136                                         "compId": 1,
137                                         "pinName": "B"
138                                 },
139                                 "path": [
140                                         {
141                                                 "x": 5.0,
142                                                 "y": 30.0
143                                         }
144                                 ]
145                         },
146                         {
147                                 "pin1": {
148                                         "compId": 1,
149                                         "pinName": "Y"
150                                 },
151                                 "pin2": {
152                                         "compId": 7,
153                                         "pinName": ""
154                                 }
155                         },
156                         {
157                                 "pin1": {
158                                         "compId": 7,
159                                         "pinName": ""
160                                 },
161                                 "pin2": {
162                                         "compId": 2,
163                                         "pinName": "B"
164                                 },
165                                 "path": [
166                                         {
167                                                 "x": 30.0,
168                                                 "y": 17.5
169                                         }
170                                 ]
171                         },
172                         {
173                                 "pin1": {
174                                         "compId": 7,
175                                         "pinName": ""
176                                 },
177                                 "pin2": {
178                                         "compId": 3,
179                                         "pinName": "A"
180                                 },
181                                 "path": [
182                                         {
183                                                 "x": 30.0,
184                                                 "y": 32.5
185                                         }
186                                 ]
187                         },
188                         {
189                                 "pin1": {
190                                         "compId": 5,
191                                         "pinName": ""
192                                 },
193                                 "pin2": {
194                                         "compId": 2,
195                                         "pinName": "A"
196                                 },
197                                 "path": [
198                                         {
199                                                 "x": 5.0,
200                                                 "y": 7.5
201                                         }
202                                 ]
203                         },
204                         {
205                                 "pin1": {
206                                         "compId": 6,
207                                         "pinName": ""
208                                 },
209                                 "pin2": {
210                                         "compId": 3,
211                                         "pinName": "B"
212                                 },
213                                 "path": [
214                                         {
215                                                 "x": 5.0,
216                                                 "y": 42.5
217                                         }
218                                 ]
219                         },
220                         {
221                                 "pin1": {
222                                         "compId": 2,
223                                         "pinName": "Y"
224                                 },
225                                 "pin2": {
226                                         "compId": 4,
227                                         "pinName": "A"
228                                 }
229                         },
230                         {
231                                 "pin1": {
232                                         "compId": 3,
233                                         "pinName": "Y"
234                                 },
235                                 "pin2": {
236                                         "compId": 4,
237                                         "pinName": "B"
238                                 }
239                         },
240                         {
241                                 "pin1": {
242                                         "compId": 4,
243                                         "pinName": "Y"
244                                 },
245                                 "pin2": {
246                                         "compId": 0,
247                                         "pinName": "Y"
248                                 }
249                         }
250                 ]
251         },
252         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
253         "symbolRendererParams": {
254                 "centerText": "GUIxor",
255                 "horizontalComponentCenter": 17.5,
256                 "centerTextHeight": 5.0,
257                 "pinLabelHeight": 3.5,
258                 "pinLabelMargin": 0.5
259         }
260 }