e43718768b8e6df89fa4fcf0828759be3c050a88
[Mograsim.git] /
1 {
2   "width": 35.0,
3   "height": 90.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 65.0
9       },
10       "name": "A",
11       "logicWidth": 4,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 85.0
18       },
19       "name": "B",
20       "logicWidth": 1,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 0.0,
26         "y": 25.0
27       },
28       "name": "C",
29       "logicWidth": 4,
30       "usage": "INPUT"
31     },
32     {
33       "location": {
34         "x": 35.0,
35         "y": 25.0
36       },
37       "name": "Y",
38       "logicWidth": 4,
39       "usage": "OUTPUT"
40     }
41   ],
42   "innerScale": 0.4,
43   "submodel": {
44     "components": [
45       {
46         "id": "Splitter",
47         "name": "Splitter#0",
48         "pos": {
49           "x": 17.5,
50           "y": 87.5
51         },
52         "params": {
53           "logicWidth": 4,
54           "orientation": "RIGHT"
55         }
56       },
57       {
58         "id": "Splitter",
59         "name": "Splitter#1",
60         "pos": {
61           "x": 72.5,
62           "y": 47.5
63         },
64         "params": {
65           "logicWidth": 4,
66           "orientation": "LEFT"
67         }
68       },
69       {
70         "id": "Splitter",
71         "name": "Splitter#2",
72         "pos": {
73           "x": 17.5,
74           "y": 47.5
75         },
76         "params": {
77           "logicWidth": 4,
78           "orientation": "RIGHT"
79         }
80       },
81       {
82         "id": "and41",
83         "name": "and41#0",
84         "pos": {
85           "x": 35.0,
86           "y": 147.5
87         }
88       },
89       {
90         "id": "or_4",
91         "name": "or_4#0",
92         "pos": {
93           "x": 32.5,
94           "y": 42.5
95         }
96       }
97     ],
98     "wires": [
99       {
100         "pin1": {
101           "compName": "_submodelinterface",
102           "pinName": "A"
103         },
104         "pin2": {
105           "compName": "and41#0",
106           "pinName": "A"
107         },
108         "name": "unnamedWire#0",
109         "path": []
110       },
111       {
112         "pin1": {
113           "compName": "Splitter#1",
114           "pinName": "I"
115         },
116         "pin2": {
117           "compName": "_submodelinterface",
118           "pinName": "Y"
119         },
120         "name": "unnamedWire#1",
121         "path": []
122       },
123       {
124         "pin1": {
125           "compName": "or_4#0",
126           "pinName": "Y1"
127         },
128         "pin2": {
129           "compName": "Splitter#1",
130           "pinName": "O0"
131         },
132         "name": "unnamedWire#2",
133         "path": []
134       },
135       {
136         "pin1": {
137           "compName": "or_4#0",
138           "pinName": "Y2"
139         },
140         "pin2": {
141           "compName": "Splitter#1",
142           "pinName": "O1"
143         },
144         "name": "unnamedWire#3",
145         "path": []
146       },
147       {
148         "pin1": {
149           "compName": "_submodelinterface",
150           "pinName": "B"
151         },
152         "pin2": {
153           "compName": "and41#0",
154           "pinName": "B"
155         },
156         "name": "unnamedWire#4",
157         "path": [
158           {
159             "x": 30.0,
160             "y": 212.5
161           },
162           {
163             "x": 30.0,
164             "y": 177.5
165           }
166         ]
167       },
168       {
169         "pin1": {
170           "compName": "_submodelinterface",
171           "pinName": "C"
172         },
173         "pin2": {
174           "compName": "Splitter#2",
175           "pinName": "I"
176         },
177         "name": "unnamedWire#5",
178         "path": []
179       },
180       {
181         "pin1": {
182           "compName": "Splitter#2",
183           "pinName": "O3"
184         },
185         "pin2": {
186           "compName": "or_4#0",
187           "pinName": "A4"
188         },
189         "name": "unnamedWire#6",
190         "path": []
191       },
192       {
193         "pin1": {
194           "compName": "Splitter#2",
195           "pinName": "O2"
196         },
197         "pin2": {
198           "compName": "or_4#0",
199           "pinName": "A3"
200         },
201         "name": "unnamedWire#7",
202         "path": []
203       },
204       {
205         "pin1": {
206           "compName": "Splitter#2",
207           "pinName": "O1"
208         },
209         "pin2": {
210           "compName": "or_4#0",
211           "pinName": "A2"
212         },
213         "name": "unnamedWire#8",
214         "path": []
215       },
216       {
217         "pin1": {
218           "compName": "Splitter#0",
219           "pinName": "O3"
220         },
221         "pin2": {
222           "compName": "or_4#0",
223           "pinName": "B4"
224         },
225         "name": "unnamedWire#9",
226         "path": []
227       },
228       {
229         "pin1": {
230           "compName": "Splitter#0",
231           "pinName": "O2"
232         },
233         "pin2": {
234           "compName": "or_4#0",
235           "pinName": "B3"
236         },
237         "name": "unnamedWire#10",
238         "path": []
239       },
240       {
241         "pin1": {
242           "compName": "or_4#0",
243           "pinName": "B2"
244         },
245         "pin2": {
246           "compName": "Splitter#0",
247           "pinName": "O1"
248         },
249         "name": "unnamedWire#11",
250         "path": []
251       },
252       {
253         "pin1": {
254           "compName": "Splitter#0",
255           "pinName": "O0"
256         },
257         "pin2": {
258           "compName": "or_4#0",
259           "pinName": "B1"
260         },
261         "name": "unnamedWire#12",
262         "path": []
263       },
264       {
265         "pin1": {
266           "compName": "or_4#0",
267           "pinName": "Y3"
268         },
269         "pin2": {
270           "compName": "Splitter#1",
271           "pinName": "O2"
272         },
273         "name": "unnamedWire#13",
274         "path": []
275       },
276       {
277         "pin1": {
278           "compName": "Splitter#1",
279           "pinName": "O3"
280         },
281         "pin2": {
282           "compName": "or_4#0",
283           "pinName": "Y4"
284         },
285         "name": "unnamedWire#14",
286         "path": []
287       },
288       {
289         "pin1": {
290           "compName": "Splitter#0",
291           "pinName": "I"
292         },
293         "pin2": {
294           "compName": "and41#0",
295           "pinName": "Y"
296         },
297         "name": "unnamedWire#15",
298         "path": [
299           {
300             "x": 12.5,
301             "y": 102.5
302           },
303           {
304             "x": 12.5,
305             "y": 127.5
306           },
307           {
308             "x": 75.0,
309             "y": 127.5
310           },
311           {
312             "x": 75.0,
313             "y": 162.5
314           }
315         ]
316       },
317       {
318         "pin1": {
319           "compName": "or_4#0",
320           "pinName": "A1"
321         },
322         "pin2": {
323           "compName": "Splitter#2",
324           "pinName": "O0"
325         },
326         "name": "unnamedWire#16",
327         "path": []
328       }
329     ],
330     "version": "0.1.1"
331   },
332   "symbolRendererSnippetID": "simpleRectangularLike",
333   "symbolRendererParams": {
334     "centerText": "andor414",
335     "centerTextHeight": 5.0,
336     "horizontalComponentCenter": 17.5,
337     "pinLabelHeight": 3.5,
338     "pinLabelMargin": 0.5
339   },
340   "outlineRendererSnippetID": "default",
341   "highLevelStateHandlerSnippetID": "default",
342   "version": "0.1.5"
343 }