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