Merge branch 'development' of
[Mograsim.git] / net.mograsim.logic.model.editor / 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         "pos": {
44           "x": 35.0,
45           "y": 22.5
46         },
47         "id": "GUINandGate",
48         "name": "GUINandGate#1",
49         "params": 1
50       },
51       {
52         "pos": {
53           "x": 10.0,
54           "y": 7.5
55         },
56         "id": "GUINandGate",
57         "name": "GUINandGate#0",
58         "params": 1
59       },
60       {
61         "pos": {
62           "x": 60.0,
63           "y": 30.0
64         },
65         "id": "GUINandGate",
66         "name": "GUINandGate#3",
67         "params": 1
68       },
69       {
70         "pos": {
71           "x": 4.0,
72           "y": 21.5
73         },
74         "id": "WireCrossPoint",
75         "name": "WireCrossPoint#1",
76         "params": 1
77       },
78       {
79         "pos": {
80           "x": 35.0,
81           "y": 47.5
82         },
83         "id": "GUINandGate",
84         "name": "GUINandGate#2",
85         "params": 1
86       },
87       {
88         "pos": {
89           "x": 4.0,
90           "y": 11.5
91         },
92         "id": "WireCrossPoint",
93         "name": "WireCrossPoint#0",
94         "params": 1
95       }
96     ],
97     "innerWires": [
98       {
99         "pin1": {
100           "compName": "_submodelinterface",
101           "pinName": "S0"
102         },
103         "pin2": {
104           "compName": "WireCrossPoint#0",
105           "pinName": ""
106         },
107         "path": []
108       },
109       {
110         "pin1": {
111           "compName": "WireCrossPoint#0",
112           "pinName": ""
113         },
114         "pin2": {
115           "compName": "GUINandGate#0",
116           "pinName": "A"
117         },
118         "path": []
119       },
120       {
121         "pin1": {
122           "compName": "WireCrossPoint#0",
123           "pinName": ""
124         },
125         "pin2": {
126           "compName": "WireCrossPoint#1",
127           "pinName": ""
128         },
129         "path": []
130       },
131       {
132         "pin1": {
133           "compName": "WireCrossPoint#1",
134           "pinName": ""
135         },
136         "pin2": {
137           "compName": "GUINandGate#0",
138           "pinName": "B"
139         },
140         "path": []
141       },
142       {
143         "pin1": {
144           "compName": "GUINandGate#0",
145           "pinName": "Y"
146         },
147         "pin2": {
148           "compName": "GUINandGate#1",
149           "pinName": "A"
150         }
151       },
152       {
153         "pin1": {
154           "compName": "_submodelinterface",
155           "pinName": "I0"
156         },
157         "pin2": {
158           "compName": "GUINandGate#1",
159           "pinName": "B"
160         },
161         "path": []
162       },
163       {
164         "pin1": {
165           "compName": "WireCrossPoint#1",
166           "pinName": ""
167         },
168         "pin2": {
169           "compName": "GUINandGate#2",
170           "pinName": "A"
171         },
172         "path": [
173           {
174             "x": 5.0,
175             "y": 52.5
176           }
177         ]
178       },
179       {
180         "pin1": {
181           "compName": "_submodelinterface",
182           "pinName": "I1"
183         },
184         "pin2": {
185           "compName": "GUINandGate#2",
186           "pinName": "B"
187         },
188         "path": []
189       },
190       {
191         "pin1": {
192           "compName": "GUINandGate#1",
193           "pinName": "Y"
194         },
195         "pin2": {
196           "compName": "GUINandGate#3",
197           "pinName": "A"
198         }
199       },
200       {
201         "pin1": {
202           "compName": "GUINandGate#2",
203           "pinName": "Y"
204         },
205         "pin2": {
206           "compName": "GUINandGate#3",
207           "pinName": "B"
208         }
209       },
210       {
211         "pin1": {
212           "compName": "GUINandGate#3",
213           "pinName": "Y"
214         },
215         "pin2": {
216           "compName": "_submodelinterface",
217           "pinName": "Y"
218         }
219       }
220     ]
221   },
222   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
223   "symbolRendererParams": {
224     "centerText": "GUImux1",
225     "horizontalComponentCenter": 17.5,
226     "centerTextHeight": 5.0,
227     "pinLabelHeight": 3.5,
228     "pinLabelMargin": 0.5
229   }
230 }