Added two SymbolRendererProviders
[Mograsim.git] / net.mograsim.logic.ui.am2900 / components / GUIdlatch.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": 5.0
26       },
27       "name": "D",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 0.0,
33         "y": 15.0
34       },
35       "name": "E",
36       "logicWidth": 1
37     }
38   ],
39   "submodel": {
40     "innerScale": 0.4,
41     "subComps": [
42       {
43         "pos": {
44           "x": 10.0,
45           "y": 2.5
46         },
47         "id": "GUINandGate",
48         "params": 1
49       },
50       {
51         "pos": {
52           "x": 15.0,
53           "y": 27.5
54         },
55         "id": "GUINandGate",
56         "params": 1
57       },
58       {
59         "pos": {
60           "x": 45.0,
61           "y": 7.5
62         },
63         "id": "GUI_rsLatch"
64       },
65       {
66         "pos": {
67           "x": 4.0,
68           "y": 36.5
69         },
70         "id": "WireCrossPoint",
71         "params": 1
72       },
73       {
74         "pos": {
75           "x": 34.0,
76           "y": 11.5
77         },
78         "id": "WireCrossPoint",
79         "params": 1
80       }
81     ],
82     "innerWires": [
83       {
84         "pin1": {
85           "compId": 0,
86           "pinName": "D"
87         },
88         "pin2": {
89           "compId": 1,
90           "pinName": "A"
91         }
92       },
93       {
94         "pin1": {
95           "compId": 0,
96           "pinName": "E"
97         },
98         "pin2": {
99           "compId": 4,
100           "pinName": ""
101         },
102         "path": []
103       },
104       {
105         "pin1": {
106           "compId": 4,
107           "pinName": ""
108         },
109         "pin2": {
110           "compId": 1,
111           "pinName": "B"
112         },
113         "path": [
114           {
115             "x": 5.0,
116             "y": 17.5
117           }
118         ]
119       },
120       {
121         "pin1": {
122           "compId": 4,
123           "pinName": ""
124         },
125         "pin2": {
126           "compId": 2,
127           "pinName": "B"
128         },
129         "path": [
130           {
131             "x": 5.0,
132             "y": 42.5
133           }
134         ]
135       },
136       {
137         "pin1": {
138           "compId": 1,
139           "pinName": "Y"
140         },
141         "pin2": {
142           "compId": 5,
143           "pinName": ""
144         },
145         "path": []
146       },
147       {
148         "pin1": {
149           "compId": 5,
150           "pinName": ""
151         },
152         "pin2": {
153           "compId": 2,
154           "pinName": "A"
155         },
156         "path": [
157           {
158             "x": 35.0,
159             "y": 25.0
160           },
161           {
162             "x": 10.0,
163             "y": 25.0
164           },
165           {
166             "x": 10.0,
167             "y": 32.5
168           }
169         ]
170       },
171       {
172         "pin1": {
173           "compId": 5,
174           "pinName": ""
175         },
176         "pin2": {
177           "compId": 3,
178           "pinName": "_S"
179         },
180         "path": []
181       },
182       {
183         "pin1": {
184           "compId": 2,
185           "pinName": "Y"
186         },
187         "pin2": {
188           "compId": 3,
189           "pinName": "_R"
190         },
191         "path": [
192           {
193             "x": 40.0,
194             "y": 37.5
195           },
196           {
197             "x": 40.0,
198             "y": 22.5
199           }
200         ]
201       },
202       {
203         "pin1": {
204           "compId": 3,
205           "pinName": "Q"
206         },
207         "pin2": {
208           "compId": 0,
209           "pinName": "Q"
210         },
211         "path": []
212       },
213       {
214         "pin1": {
215           "compId": 3,
216           "pinName": "_Q"
217         },
218         "pin2": {
219           "compId": 0,
220           "pinName": "_Q"
221         }
222       }
223     ]
224   },
225   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
226   "symbolRendererParams": {
227     "centerText": "dlatch",
228     "horizontalComponentCenter": 17.5,
229     "centerTextHeight": 5,
230     "pinLabelHeight": 3.5,
231     "pinLabelMargin": 0.5
232   }
233 }