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