GUIWires now have names
[Mograsim.git] / net.mograsim.logic.model.am2900 / components / GUInot4.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 40.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 0.0,
9         "y": 5.0
10       },
11       "name": "A1",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "A2",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 0.0,
25         "y": 25.0
26       },
27       "name": "A3",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 0.0,
33         "y": 35.0
34       },
35       "name": "A4",
36       "logicWidth": 1
37     },
38     {
39       "location": {
40         "x": 35.0,
41         "y": 5.0
42       },
43       "name": "Y1",
44       "logicWidth": 1
45     },
46     {
47       "location": {
48         "x": 35.0,
49         "y": 15.0
50       },
51       "name": "Y2",
52       "logicWidth": 1
53     },
54     {
55       "location": {
56         "x": 35.0,
57         "y": 25.0
58       },
59       "name": "Y3",
60       "logicWidth": 1
61     },
62     {
63       "location": {
64         "x": 35.0,
65         "y": 35.0
66       },
67       "name": "Y4",
68       "logicWidth": 1
69     }
70   ],
71   "submodel": {
72     "innerScale": 0.4,
73     "subComps": [
74       {
75         "id": "GUINandGate",
76         "name": "GUINandGate#1",
77         "pos": {
78           "x": 30.0,
79           "y": 27.5
80         },
81         "params": 1
82       },
83       {
84         "id": "GUINandGate",
85         "name": "GUINandGate#0",
86         "pos": {
87           "x": 30.0,
88           "y": 2.5
89         },
90         "params": 1
91       },
92       {
93         "id": "GUINandGate",
94         "name": "GUINandGate#3",
95         "pos": {
96           "x": 30.0,
97           "y": 77.5
98         },
99         "params": 1
100       },
101       {
102         "id": "WireCrossPoint",
103         "name": "WireCrossPoint#1",
104         "pos": {
105           "x": 14.0,
106           "y": 36.5
107         },
108         "params": 1
109       },
110       {
111         "id": "GUINandGate",
112         "name": "GUINandGate#2",
113         "pos": {
114           "x": 30.0,
115           "y": 52.5
116         },
117         "params": 1
118       },
119       {
120         "id": "WireCrossPoint",
121         "name": "WireCrossPoint#0",
122         "pos": {
123           "x": 14.0,
124           "y": 11.5
125         },
126         "params": 1
127       },
128       {
129         "id": "WireCrossPoint",
130         "name": "WireCrossPoint#3",
131         "pos": {
132           "x": 14.0,
133           "y": 86.5
134         },
135         "params": 1
136       },
137       {
138         "id": "WireCrossPoint",
139         "name": "WireCrossPoint#2",
140         "pos": {
141           "x": 14.0,
142           "y": 61.5
143         },
144         "params": 1
145       }
146     ],
147     "innerWires": [
148       {
149         "pin1": {
150           "compName": "GUINandGate#2",
151           "pinName": "Y"
152         },
153         "pin2": {
154           "compName": "_submodelinterface",
155           "pinName": "Y3"
156         },
157         "name": "unnamedWire#14",
158         "path": []
159       },
160       {
161         "pin1": {
162           "compName": "GUINandGate#1",
163           "pinName": "Y"
164         },
165         "pin2": {
166           "compName": "_submodelinterface",
167           "pinName": "Y2"
168         },
169         "name": "unnamedWire#13",
170         "path": []
171       },
172       {
173         "pin1": {
174           "compName": "GUINandGate#3",
175           "pinName": "Y"
176         },
177         "pin2": {
178           "compName": "_submodelinterface",
179           "pinName": "Y4"
180         },
181         "name": "unnamedWire#15",
182         "path": []
183       },
184       {
185         "pin1": {
186           "compName": "WireCrossPoint#1",
187           "pinName": ""
188         },
189         "pin2": {
190           "compName": "GUINandGate#1",
191           "pinName": "B"
192         },
193         "name": "unnamedWire#9",
194         "path": [
195           {
196             "x": 15.0,
197             "y": 42.5
198           }
199         ]
200       },
201       {
202         "pin1": {
203           "compName": "WireCrossPoint#0",
204           "pinName": ""
205         },
206         "pin2": {
207           "compName": "GUINandGate#0",
208           "pinName": "B"
209         },
210         "name": "unnamedWire#8",
211         "path": [
212           {
213             "x": 15.0,
214             "y": 17.5
215           }
216         ]
217       },
218       {
219         "pin1": {
220           "compName": "WireCrossPoint#3",
221           "pinName": ""
222         },
223         "pin2": {
224           "compName": "GUINandGate#3",
225           "pinName": "A"
226         },
227         "name": "unnamedWire#7",
228         "path": [
229           {
230             "x": 15.0,
231             "y": 82.5
232           }
233         ]
234       },
235       {
236         "pin1": {
237           "compName": "WireCrossPoint#2",
238           "pinName": ""
239         },
240         "pin2": {
241           "compName": "GUINandGate#2",
242           "pinName": "A"
243         },
244         "name": "unnamedWire#6",
245         "path": [
246           {
247             "x": 15.0,
248             "y": 57.5
249           }
250         ]
251       },
252       {
253         "pin1": {
254           "compName": "_submodelinterface",
255           "pinName": "A2"
256         },
257         "pin2": {
258           "compName": "WireCrossPoint#1",
259           "pinName": ""
260         },
261         "name": "unnamedWire#1",
262         "path": []
263       },
264       {
265         "pin1": {
266           "compName": "_submodelinterface",
267           "pinName": "A1"
268         },
269         "pin2": {
270           "compName": "WireCrossPoint#0",
271           "pinName": ""
272         },
273         "name": "unnamedWire#0",
274         "path": []
275       },
276       {
277         "pin1": {
278           "compName": "WireCrossPoint#1",
279           "pinName": ""
280         },
281         "pin2": {
282           "compName": "GUINandGate#1",
283           "pinName": "A"
284         },
285         "name": "unnamedWire#5",
286         "path": [
287           {
288             "x": 15.0,
289             "y": 32.5
290           }
291         ]
292       },
293       {
294         "pin1": {
295           "compName": "WireCrossPoint#2",
296           "pinName": ""
297         },
298         "pin2": {
299           "compName": "GUINandGate#2",
300           "pinName": "B"
301         },
302         "name": "unnamedWire#10",
303         "path": [
304           {
305             "x": 15.0,
306             "y": 67.5
307           }
308         ]
309       },
310       {
311         "pin1": {
312           "compName": "WireCrossPoint#0",
313           "pinName": ""
314         },
315         "pin2": {
316           "compName": "GUINandGate#0",
317           "pinName": "A"
318         },
319         "name": "unnamedWire#4",
320         "path": [
321           {
322             "x": 15.0,
323             "y": 7.5
324           }
325         ]
326       },
327       {
328         "pin1": {
329           "compName": "_submodelinterface",
330           "pinName": "A4"
331         },
332         "pin2": {
333           "compName": "WireCrossPoint#3",
334           "pinName": ""
335         },
336         "name": "unnamedWire#3",
337         "path": []
338       },
339       {
340         "pin1": {
341           "compName": "GUINandGate#0",
342           "pinName": "Y"
343         },
344         "pin2": {
345           "compName": "_submodelinterface",
346           "pinName": "Y1"
347         },
348         "name": "unnamedWire#12",
349         "path": []
350       },
351       {
352         "pin1": {
353           "compName": "_submodelinterface",
354           "pinName": "A3"
355         },
356         "pin2": {
357           "compName": "WireCrossPoint#2",
358           "pinName": ""
359         },
360         "name": "unnamedWire#2",
361         "path": []
362       },
363       {
364         "pin1": {
365           "compName": "WireCrossPoint#3",
366           "pinName": ""
367         },
368         "pin2": {
369           "compName": "GUINandGate#3",
370           "pinName": "B"
371         },
372         "name": "unnamedWire#11",
373         "path": [
374           {
375             "x": 15.0,
376             "y": 92.5
377           }
378         ]
379       }
380     ]
381   },
382   "symbolRendererSnippetID": "simpleRectangularLike",
383   "symbolRendererParams": {
384     "centerText": "GUInot4",
385     "centerTextHeight": 5.0,
386     "horizontalComponentCenter": 17.5,
387     "pinLabelHeight": 3.5,
388     "pinLabelMargin": 0.5
389   }
390 }