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