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