00b260d9c287d7fa65e2334f440b49eb36b5dd94
[Mograsim.git] / 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": 30.0,
85                                         "y": 7.5
86                                 },
87                                 "id": "GUIdlatch"
88                         },
89                         {
90                                 "pos": {
91                                         "x": 30.0,
92                                         "y": 32.5
93                                 },
94                                 "id": "GUIdlatch"
95                         },
96                         {
97                                 "pos": {
98                                         "x": 30.0,
99                                         "y": 57.5
100                                 },
101                                 "id": "GUIdlatch"
102                         },
103                         {
104                                 "pos": {
105                                         "x": 30.0,
106                                         "y": 82.5
107                                 },
108                                 "id": "GUIdlatch"
109                         },
110                         {
111                                 "pos": {
112                                         "x": 14.0,
113                                         "y": 46.5
114                                 },
115                                 "id": "WireCrossPoint",
116                                 "params": 1
117                         },
118                         {
119                                 "pos": {
120                                         "x": 14.0,
121                                         "y": 71.5
122                                 },
123                                 "id": "WireCrossPoint",
124                                 "params": 1
125                         },
126                         {
127                                 "pos": {
128                                         "x": 14.0,
129                                         "y": 96.5
130                                 },
131                                 "id": "WireCrossPoint",
132                                 "params": 1
133                         }
134                 ],
135                 "innerWires": [
136                         {
137                                 "pin1": {
138                                         "compId": 0,
139                                         "pinName": "C"
140                                 },
141                                 "pin2": {
142                                         "compId": 7,
143                                         "pinName": ""
144                                 },
145                                 "path": [
146                                         {
147                                                 "x": 15.0,
148                                                 "y": 112.5
149                                         }
150                                 ]
151                         },
152                         {
153                                 "pin1": {
154                                         "compId": 7,
155                                         "pinName": ""
156                                 },
157                                 "pin2": {
158                                         "compId": 4,
159                                         "pinName": "E"
160                                 },
161                                 "path": []
162                         },
163                         {
164                                 "pin1": {
165                                         "compId": 7,
166                                         "pinName": ""
167                                 },
168                                 "pin2": {
169                                         "compId": 6,
170                                         "pinName": ""
171                                 },
172                                 "path": []
173                         },
174                         {
175                                 "pin1": {
176                                         "compId": 6,
177                                         "pinName": ""
178                                 },
179                                 "pin2": {
180                                         "compId": 3,
181                                         "pinName": "E"
182                                 },
183                                 "path": []
184                         },
185                         {
186                                 "pin1": {
187                                         "compId": 6,
188                                         "pinName": ""
189                                 },
190                                 "pin2": {
191                                         "compId": 5,
192                                         "pinName": ""
193                                 },
194                                 "path": []
195                         },
196                         {
197                                 "pin1": {
198                                         "compId": 5,
199                                         "pinName": ""
200                                 },
201                                 "pin2": {
202                                         "compId": 2,
203                                         "pinName": "E"
204                                 },
205                                 "path": []
206                         },
207                         {
208                                 "pin1": {
209                                         "compId": 5,
210                                         "pinName": ""
211                                 },
212                                 "pin2": {
213                                         "compId": 1,
214                                         "pinName": "E"
215                                 },
216                                 "path": [
217                                         {
218                                                 "x": 15.0,
219                                                 "y": 22.5
220                                         }
221                                 ]
222                         },
223                         {
224                                 "pin1": {
225                                         "compId": 0,
226                                         "pinName": "D1"
227                                 },
228                                 "pin2": {
229                                         "compId": 1,
230                                         "pinName": "D"
231                                 },
232                                 "path": []
233                         },
234                         {
235                                 "pin1": {
236                                         "compId": 0,
237                                         "pinName": "D2"
238                                 },
239                                 "pin2": {
240                                         "compId": 2,
241                                         "pinName": "D"
242                                 },
243                                 "path": []
244                         },
245                         {
246                                 "pin1": {
247                                         "compId": 0,
248                                         "pinName": "D3"
249                                 },
250                                 "pin2": {
251                                         "compId": 3,
252                                         "pinName": "D"
253                                 },
254                                 "path": []
255                         },
256                         {
257                                 "pin1": {
258                                         "compId": 0,
259                                         "pinName": "D4"
260                                 },
261                                 "pin2": {
262                                         "compId": 4,
263                                         "pinName": "D"
264                                 },
265                                 "path": []
266                         },
267                         {
268                                 "pin1": {
269                                         "compId": 1,
270                                         "pinName": "Q"
271                                 },
272                                 "pin2": {
273                                         "compId": 0,
274                                         "pinName": "Q1"
275                                 },
276                                 "path": []
277                         },
278                         {
279                                 "pin1": {
280                                         "compId": 2,
281                                         "pinName": "Q"
282                                 },
283                                 "pin2": {
284                                         "compId": 0,
285                                         "pinName": "Q2"
286                                 },
287                                 "path": []
288                         },
289                         {
290                                 "pin1": {
291                                         "compId": 3,
292                                         "pinName": "Q"
293                                 },
294                                 "pin2": {
295                                         "compId": 0,
296                                         "pinName": "Q3"
297                                 },
298                                 "path": []
299                         },
300                         {
301                                 "pin1": {
302                                         "compId": 4,
303                                         "pinName": "Q"
304                                 },
305                                 "pin2": {
306                                         "compId": 0,
307                                         "pinName": "Q4"
308                                 },
309                                 "path": []
310                         }
311                 ]
312         },
313         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
314         "symbolRendererParams": {
315                 "centerText": "GUIdlatch4",
316                 "horizontalComponentCenter": 17.5,
317                 "centerTextHeight": 5.0,
318                 "pinLabelHeight": 3.5,
319                 "pinLabelMargin": 0.5
320         }
321 }