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