Added two SymbolRendererProviders
[Mograsim.git] / net.mograsim.logic.ui.am2900 / components / GUI_rsLatch.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 20.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 35.0,
9         "y": 5.0
10       },
11       "name": "Q",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 35.0,
17         "y": 15.0
18       },
19       "name": "_Q",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 0.0,
25         "y": 15.0
26       },
27       "name": "_R",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 0.0,
33         "y": 5.0
34       },
35       "name": "_S",
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": 40.0,
53           "y": 12.5
54         },
55         "id": "GUINandGate",
56         "params": 1
57       },
58       {
59         "pos": {
60           "x": 34.0,
61           "y": 16.5
62         },
63         "id": "WireCrossPoint",
64         "params": 1
65       },
66       {
67         "pos": {
68           "x": 64.0,
69           "y": 36.5
70         },
71         "id": "WireCrossPoint",
72         "params": 1
73       }
74     ],
75     "innerWires": [
76       {
77         "pin1": {
78           "compId": 0,
79           "pinName": "_S"
80         },
81         "pin2": {
82           "compId": 1,
83           "pinName": "A"
84         },
85         "path": []
86       },
87       {
88         "pin1": {
89           "compId": 0,
90           "pinName": "_R"
91         },
92         "pin2": {
93           "compId": 2,
94           "pinName": "B"
95         },
96         "path": [
97           {
98             "x": 35.0,
99             "y": 37.5
100           },
101           {
102             "x": 35.0,
103             "y": 27.5
104           }
105         ]
106       },
107       {
108         "pin1": {
109           "compId": 1,
110           "pinName": "Y"
111         },
112         "pin2": {
113           "compId": 3,
114           "pinName": ""
115         },
116         "path": []
117       },
118       {
119         "pin1": {
120           "compId": 2,
121           "pinName": "Y"
122         },
123         "pin2": {
124           "compId": 4,
125           "pinName": ""
126         },
127         "path": [
128           {
129             "x": 65.0,
130             "y": 22.5
131           }
132         ]
133       },
134       {
135         "pin1": {
136           "compId": 3,
137           "pinName": ""
138         },
139         "pin2": {
140           "compId": 2,
141           "pinName": "A"
142         },
143         "path": []
144       },
145       {
146         "pin1": {
147           "compId": 4,
148           "pinName": ""
149         },
150         "pin2": {
151           "compId": 1,
152           "pinName": "B"
153         },
154         "path": [
155           {
156             "x": 65.0,
157             "y": 42.5
158           },
159           {
160             "x": 5.0,
161             "y": 42.5
162           },
163           {
164             "x": 5.0,
165             "y": 22.5
166           }
167         ]
168       },
169       {
170         "pin1": {
171           "compId": 3,
172           "pinName": ""
173         },
174         "pin2": {
175           "compId": 0,
176           "pinName": "Q"
177         },
178         "path": [
179           {
180             "x": 35.0,
181             "y": 17.5
182           },
183           {
184             "x": 35.0,
185             "y": 7.5
186           },
187           {
188             "x": 65.0,
189             "y": 7.5
190           },
191           {
192             "x": 65.0,
193             "y": 12.5
194           }
195         ]
196       },
197       {
198         "pin1": {
199           "compId": 4,
200           "pinName": ""
201         },
202         "pin2": {
203           "compId": 0,
204           "pinName": "_Q"
205         },
206         "path": []
207       }
208     ]
209   },
210   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
211   "symbolRendererParams": {
212     "centerText": "_rsLatch",
213     "horizontalComponentCenter": 17.5,
214     "centerTextHeight": 5,
215     "pinLabelHeight": 3.5,
216     "pinLabelMargin": 0.5
217   }
218 }