Merge branch 'development' of
[Mograsim.git] / net.mograsim.logic.model.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": 35.0,
37           "y": 2.5
38         },
39         "id": "GUINandGate",
40         "name": "GUINandGate#1",
41         "params": 1
42       },
43       {
44         "pos": {
45           "x": 7.5,
46           "y": 15.0
47         },
48         "id": "GUINandGate",
49         "name": "GUINandGate#0",
50         "params": 1
51       },
52       {
53         "pos": {
54           "x": 62.5,
55           "y": 15.0
56         },
57         "id": "GUINandGate",
58         "name": "GUINandGate#3",
59         "params": 1
60       },
61       {
62         "pos": {
63           "x": 4.0,
64           "y": 36.5
65         },
66         "id": "WireCrossPoint",
67         "name": "WireCrossPoint#1",
68         "params": 1
69       },
70       {
71         "pos": {
72           "x": 35.0,
73           "y": 27.5
74         },
75         "id": "GUINandGate",
76         "name": "GUINandGate#2",
77         "params": 1
78       },
79       {
80         "pos": {
81           "x": 4.0,
82           "y": 11.5
83         },
84         "id": "WireCrossPoint",
85         "name": "WireCrossPoint#0",
86         "params": 1
87       },
88       {
89         "pos": {
90           "x": 29.0,
91           "y": 24.0
92         },
93         "id": "WireCrossPoint",
94         "name": "WireCrossPoint#2",
95         "params": 1
96       }
97     ],
98     "innerWires": [
99       {
100         "pin1": {
101           "compName": "_submodelinterface",
102           "pinName": "A"
103         },
104         "pin2": {
105           "compName": "WireCrossPoint#0",
106           "pinName": ""
107         },
108         "path": []
109       },
110       {
111         "pin1": {
112           "compName": "_submodelinterface",
113           "pinName": "B"
114         },
115         "pin2": {
116           "compName": "WireCrossPoint#1",
117           "pinName": ""
118         },
119         "path": []
120       },
121       {
122         "pin1": {
123           "compName": "WireCrossPoint#0",
124           "pinName": ""
125         },
126         "pin2": {
127           "compName": "GUINandGate#0",
128           "pinName": "A"
129         },
130         "path": [
131           {
132             "x": 5.0,
133             "y": 20.0
134           }
135         ]
136       },
137       {
138         "pin1": {
139           "compName": "WireCrossPoint#1",
140           "pinName": ""
141         },
142         "pin2": {
143           "compName": "GUINandGate#0",
144           "pinName": "B"
145         },
146         "path": [
147           {
148             "x": 5.0,
149             "y": 30.0
150           }
151         ]
152       },
153       {
154         "pin1": {
155           "compName": "GUINandGate#0",
156           "pinName": "Y"
157         },
158         "pin2": {
159           "compName": "WireCrossPoint#2",
160           "pinName": ""
161         }
162       },
163       {
164         "pin1": {
165           "compName": "WireCrossPoint#2",
166           "pinName": ""
167         },
168         "pin2": {
169           "compName": "GUINandGate#1",
170           "pinName": "B"
171         },
172         "path": [
173           {
174             "x": 30.0,
175             "y": 17.5
176           }
177         ]
178       },
179       {
180         "pin1": {
181           "compName": "WireCrossPoint#2",
182           "pinName": ""
183         },
184         "pin2": {
185           "compName": "GUINandGate#2",
186           "pinName": "A"
187         },
188         "path": [
189           {
190             "x": 30.0,
191             "y": 32.5
192           }
193         ]
194       },
195       {
196         "pin1": {
197           "compName": "WireCrossPoint#0",
198           "pinName": ""
199         },
200         "pin2": {
201           "compName": "GUINandGate#1",
202           "pinName": "A"
203         },
204         "path": [
205           {
206             "x": 5.0,
207             "y": 7.5
208           }
209         ]
210       },
211       {
212         "pin1": {
213           "compName": "WireCrossPoint#1",
214           "pinName": ""
215         },
216         "pin2": {
217           "compName": "GUINandGate#2",
218           "pinName": "B"
219         },
220         "path": [
221           {
222             "x": 5.0,
223             "y": 42.5
224           }
225         ]
226       },
227       {
228         "pin1": {
229           "compName": "GUINandGate#1",
230           "pinName": "Y"
231         },
232         "pin2": {
233           "compName": "GUINandGate#3",
234           "pinName": "A"
235         }
236       },
237       {
238         "pin1": {
239           "compName": "GUINandGate#2",
240           "pinName": "Y"
241         },
242         "pin2": {
243           "compName": "GUINandGate#3",
244           "pinName": "B"
245         }
246       },
247       {
248         "pin1": {
249           "compName": "GUINandGate#3",
250           "pinName": "Y"
251         },
252         "pin2": {
253           "compName": "_submodelinterface",
254           "pinName": "Y"
255         }
256       }
257     ]
258   },
259   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
260   "symbolRendererParams": {
261     "centerText": "GUIxor",
262     "horizontalComponentCenter": 17.5,
263     "centerTextHeight": 5.0,
264     "pinLabelHeight": 3.5,
265     "pinLabelMargin": 0.5
266   }
267 }