Merge branch 'development' of
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUIdlatch4.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 50.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 0.0,
9         "y": 35.0
10       },
11       "name": "D4",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 35.0,
17         "y": 5.0
18       },
19       "name": "Q1",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 35.0,
25         "y": 15.0
26       },
27       "name": "Q2",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 35.0,
33         "y": 25.0
34       },
35       "name": "Q3",
36       "logicWidth": 1
37     },
38     {
39       "location": {
40         "x": 0.0,
41         "y": 45.0
42       },
43       "name": "C",
44       "logicWidth": 1
45     },
46     {
47       "location": {
48         "x": 35.0,
49         "y": 35.0
50       },
51       "name": "Q4",
52       "logicWidth": 1
53     },
54     {
55       "location": {
56         "x": 0.0,
57         "y": 5.0
58       },
59       "name": "D1",
60       "logicWidth": 1
61     },
62     {
63       "location": {
64         "x": 0.0,
65         "y": 15.0
66       },
67       "name": "D2",
68       "logicWidth": 1
69     },
70     {
71       "location": {
72         "x": 0.0,
73         "y": 25.0
74       },
75       "name": "D3",
76       "logicWidth": 1
77     }
78   ],
79   "submodel": {
80     "innerScale": 0.4,
81     "subComps": [
82       {
83         "pos": {
84           "x": 14.0,
85           "y": 71.5
86         },
87         "id": "WireCrossPoint",
88         "name": "WireCrossPoint#1",
89         "params": 1
90       },
91       {
92         "pos": {
93           "x": 14.0,
94           "y": 46.5
95         },
96         "id": "WireCrossPoint",
97         "name": "WireCrossPoint#0",
98         "params": 1
99       },
100       {
101         "pos": {
102           "x": 14.0,
103           "y": 96.5
104         },
105         "id": "WireCrossPoint",
106         "name": "WireCrossPoint#2",
107         "params": 1
108       },
109       {
110         "pos": {
111           "x": 30.0,
112           "y": 32.5
113         },
114         "id": "GUIdlatch",
115         "name": "GUIdlatch#1"
116       },
117       {
118         "pos": {
119           "x": 30.0,
120           "y": 7.5
121         },
122         "id": "GUIdlatch",
123         "name": "GUIdlatch#0"
124       },
125       {
126         "pos": {
127           "x": 30.0,
128           "y": 82.5
129         },
130         "id": "GUIdlatch",
131         "name": "GUIdlatch#3"
132       },
133       {
134         "pos": {
135           "x": 30.0,
136           "y": 57.5
137         },
138         "id": "GUIdlatch",
139         "name": "GUIdlatch#2"
140       }
141     ],
142     "innerWires": [
143       {
144         "pin1": {
145           "compName": "_submodelinterface",
146           "pinName": "C"
147         },
148         "pin2": {
149           "compName": "WireCrossPoint#2",
150           "pinName": ""
151         },
152         "path": [
153           {
154             "x": 15.0,
155             "y": 112.5
156           }
157         ]
158       },
159       {
160         "pin1": {
161           "compName": "WireCrossPoint#2",
162           "pinName": ""
163         },
164         "pin2": {
165           "compName": "GUIdlatch#3",
166           "pinName": "E"
167         },
168         "path": []
169       },
170       {
171         "pin1": {
172           "compName": "WireCrossPoint#2",
173           "pinName": ""
174         },
175         "pin2": {
176           "compName": "WireCrossPoint#1",
177           "pinName": ""
178         },
179         "path": []
180       },
181       {
182         "pin1": {
183           "compName": "WireCrossPoint#1",
184           "pinName": ""
185         },
186         "pin2": {
187           "compName": "GUIdlatch#2",
188           "pinName": "E"
189         },
190         "path": []
191       },
192       {
193         "pin1": {
194           "compName": "WireCrossPoint#1",
195           "pinName": ""
196         },
197         "pin2": {
198           "compName": "WireCrossPoint#0",
199           "pinName": ""
200         },
201         "path": []
202       },
203       {
204         "pin1": {
205           "compName": "WireCrossPoint#0",
206           "pinName": ""
207         },
208         "pin2": {
209           "compName": "GUIdlatch#1",
210           "pinName": "E"
211         },
212         "path": []
213       },
214       {
215         "pin1": {
216           "compName": "WireCrossPoint#0",
217           "pinName": ""
218         },
219         "pin2": {
220           "compName": "GUIdlatch#0",
221           "pinName": "E"
222         },
223         "path": [
224           {
225             "x": 15.0,
226             "y": 22.5
227           }
228         ]
229       },
230       {
231         "pin1": {
232           "compName": "_submodelinterface",
233           "pinName": "D1"
234         },
235         "pin2": {
236           "compName": "GUIdlatch#0",
237           "pinName": "D"
238         },
239         "path": []
240       },
241       {
242         "pin1": {
243           "compName": "_submodelinterface",
244           "pinName": "D2"
245         },
246         "pin2": {
247           "compName": "GUIdlatch#1",
248           "pinName": "D"
249         },
250         "path": []
251       },
252       {
253         "pin1": {
254           "compName": "_submodelinterface",
255           "pinName": "D3"
256         },
257         "pin2": {
258           "compName": "GUIdlatch#2",
259           "pinName": "D"
260         },
261         "path": []
262       },
263       {
264         "pin1": {
265           "compName": "_submodelinterface",
266           "pinName": "D4"
267         },
268         "pin2": {
269           "compName": "GUIdlatch#3",
270           "pinName": "D"
271         },
272         "path": []
273       },
274       {
275         "pin1": {
276           "compName": "GUIdlatch#0",
277           "pinName": "Q"
278         },
279         "pin2": {
280           "compName": "_submodelinterface",
281           "pinName": "Q1"
282         },
283         "path": []
284       },
285       {
286         "pin1": {
287           "compName": "GUIdlatch#1",
288           "pinName": "Q"
289         },
290         "pin2": {
291           "compName": "_submodelinterface",
292           "pinName": "Q2"
293         },
294         "path": []
295       },
296       {
297         "pin1": {
298           "compName": "GUIdlatch#2",
299           "pinName": "Q"
300         },
301         "pin2": {
302           "compName": "_submodelinterface",
303           "pinName": "Q3"
304         },
305         "path": []
306       },
307       {
308         "pin1": {
309           "compName": "GUIdlatch#3",
310           "pinName": "Q"
311         },
312         "pin2": {
313           "compName": "_submodelinterface",
314           "pinName": "Q4"
315         },
316         "path": []
317       }
318     ]
319   },
320   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
321   "symbolRendererParams": {
322     "centerText": "GUIdlatch4",
323     "horizontalComponentCenter": 17.5,
324     "centerTextHeight": 5.0,
325     "pinLabelHeight": 3.5,
326     "pinLabelMargin": 0.5
327   }
328 }