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