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