The final restructured version for automatic build using maven tycho
[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": "NandGate#3",
128           "pinName": "Y"
129         },
130         "pin2": {
131           "compName": "_submodelinterface",
132           "pinName": "Y"
133         },
134         "name": "unnamedWire#10"
135       },
136       {
137         "pin1": {
138           "compName": "WireCrossPoint#0",
139           "pinName": ""
140         },
141         "pin2": {
142           "compName": "WireCrossPoint#1",
143           "pinName": ""
144         },
145         "name": "unnamedWire#2",
146         "path": []
147       },
148       {
149         "pin1": {
150           "compName": "WireCrossPoint#1",
151           "pinName": ""
152         },
153         "pin2": {
154           "compName": "NandGate#0",
155           "pinName": "B"
156         },
157         "name": "unnamedWire#3",
158         "path": []
159       },
160       {
161         "pin1": {
162           "compName": "NandGate#0",
163           "pinName": "Y"
164         },
165         "pin2": {
166           "compName": "NandGate#1",
167           "pinName": "A"
168         },
169         "name": "unnamedWire#4"
170       },
171       {
172         "pin1": {
173           "compName": "_submodelinterface",
174           "pinName": "I0"
175         },
176         "pin2": {
177           "compName": "NandGate#1",
178           "pinName": "B"
179         },
180         "name": "unnamedWire#5",
181         "path": []
182       },
183       {
184         "pin1": {
185           "compName": "WireCrossPoint#1",
186           "pinName": ""
187         },
188         "pin2": {
189           "compName": "NandGate#2",
190           "pinName": "A"
191         },
192         "name": "unnamedWire#6",
193         "path": [
194           {
195             "x": 5.0,
196             "y": 52.5
197           }
198         ]
199       },
200       {
201         "pin1": {
202           "compName": "_submodelinterface",
203           "pinName": "I1"
204         },
205         "pin2": {
206           "compName": "NandGate#2",
207           "pinName": "B"
208         },
209         "name": "unnamedWire#7",
210         "path": []
211       },
212       {
213         "pin1": {
214           "compName": "NandGate#1",
215           "pinName": "Y"
216         },
217         "pin2": {
218           "compName": "NandGate#3",
219           "pinName": "A"
220         },
221         "name": "unnamedWire#8"
222       },
223       {
224         "pin1": {
225           "compName": "NandGate#2",
226           "pinName": "Y"
227         },
228         "pin2": {
229           "compName": "NandGate#3",
230           "pinName": "B"
231         },
232         "name": "unnamedWire#9"
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 }