netlist: Fix component refdes mangling
[geda-gaf.git] / tests / netlist / common / powersupply-dumpjson.out
blob52bb8681160e000788aafdc0bb138d0543e64de8
2         "elements": {
3                 "U2": {
4                         "pins": {
5                                 "U2-1": {
6                                         "pinseq": "1",
7                                         "pintype": "unknown",
8                                         "pinlabel": "Adjust",
9                                 },
10                                 "U2-3": {
11                                         "pinseq": "3",
12                                         "pintype": "unknown",
13                                         "pinlabel": "Vin",
14                                 },
15                                 "U2-2": {
16                                         "pinseq": "2",
17                                         "pintype": "unknown",
18                                         "pinlabel": "Vout",
19                                 },
20                         },
21                         "pin-conns": {
22                                 "U2-1": "ten",
23                                 "U2-3": "eight",
24                                 "U2-2": "eleven",
25                         },
26                         "attribs":{
27                                 "refdes": "U2",
28                         },
29                 },
30                 "C4": {
31                         "pins": {
32                                 "C4-2": {
33                                         "pinseq": "2",
34                                         "pintype": "pas",
35                                         "pinlabel": "-",
36                                 },
37                                 "C4-1": {
38                                         "pinseq": "1",
39                                         "pintype": "pas",
40                                         "pinlabel": "+",
41                                 },
42                         },
43                         "pin-conns": {
44                                 "C4-2": "nine",
45                                 "C4-1": "eleven",
46                         },
47                         "attribs":{
48                                 "value": "1uf",
49                                 "refdes": "C4",
50                         },
51                 },
52                 "C3": {
53                         "pins": {
54                                 "C3-2": {
55                                         "pinseq": "2",
56                                         "pintype": "pas",
57                                         "pinlabel": "-",
58                                 },
59                                 "C3-1": {
60                                         "pinseq": "1",
61                                         "pintype": "pas",
62                                         "pinlabel": "+",
63                                 },
64                         },
65                         "pin-conns": {
66                                 "C3-2": "nine",
67                                 "C3-1": "ten",
68                         },
69                         "attribs":{
70                                 "value": "22uF",
71                                 "refdes": "C3",
72                         },
73                 },
74                 "R1": {
75                         "pins": {
76                                 "R1-1": {
77                                         "pinseq": "1",
78                                         "pintype": "pas",
79                                         "pinlabel": "1",
80                                 },
81                                 "R1-2": {
82                                         "pinseq": "2",
83                                         "pintype": "pas",
84                                         "pinlabel": "2",
85                                 },
86                                 "R1-3": {
87                                         "pinseq": "3",
88                                         "pintype": "pas",
89                                         "pinlabel": "3",
90                                 },
91                         },
92                         "pin-conns": {
93                                 "R1-1": "nine",
94                                 "R1-2": "ten",
95                                 "R1-3": "nine",
96                         },
97                         "attribs":{
98                                 "value": "5k",
99                                 "refdes": "R1",
100                         },
101                 },
102                 "C2": {
103                         "pins": {
104                                 "C2-2": {
105                                         "pinseq": "2",
106                                         "pintype": "pas",
107                                         "pinlabel": "-",
108                                 },
109                                 "C2-1": {
110                                         "pinseq": "1",
111                                         "pintype": "pas",
112                                         "pinlabel": "+",
113                                 },
114                         },
115                         "pin-conns": {
116                                 "C2-2": "nine",
117                                 "C2-1": "eight",
118                         },
119                         "attribs":{
120                                 "value": "0.1uF",
121                                 "refdes": "C2",
122                         },
123                 },
124                 "R2": {
125                         "pins": {
126                                 "R2-1": {
127                                         "pinseq": "1",
128                                         "pintype": "pas",
129                                         "pinlabel": "1",
130                                 },
131                                 "R2-2": {
132                                         "pinseq": "2",
133                                         "pintype": "pas",
134                                         "pinlabel": "2",
135                                 },
136                         },
137                         "pin-conns": {
138                                 "R2-1": "ten",
139                                 "R2-2": "eleven",
140                         },
141                         "attribs":{
142                                 "value": "220",
143                                 "refdes": "R2",
144                         },
145                 },
146                 "C1": {
147                         "pins": {
148                                 "C1-2": {
149                                         "pinseq": "2",
150                                         "pintype": "pas",
151                                         "pinlabel": "-",
152                                 },
153                                 "C1-1": {
154                                         "pinseq": "1",
155                                         "pintype": "pas",
156                                         "pinlabel": "+",
157                                 },
158                         },
159                         "pin-conns": {
160                                 "C1-2": "nine",
161                                 "C1-1": "eight",
162                         },
163                         "attribs":{
164                                 "value": "2200uF",
165                                 "refdes": "C1",
166                         },
167                 },
168                 "S1": {
169                         "pins": {
170                                 "S1-1": {
171                                         "pinseq": "1",
172                                         "pintype": "pas",
173                                         "pinlabel": "1",
174                                 },
175                                 "S1-2": {
176                                         "pinseq": "2",
177                                         "pintype": "pas",
178                                         "pinlabel": "2",
179                                 },
180                         },
181                         "pin-conns": {
182                                 "S1-1": "one",
183                                 "S1-2": "two",
184                         },
185                         "attribs":{
186                                 "refdes": "S1",
187                         },
188                 },
189                 "CONN1": {
190                         "pins": {
191                                 "CONN1-3": {
192                                         "pinseq": "3",
193                                         "pintype": "pas",
194                                         "pinlabel": "3",
195                                 },
196                                 "CONN1-2": {
197                                         "pinseq": "2",
198                                         "pintype": "pas",
199                                         "pinlabel": "2",
200                                 },
201                                 "CONN1-1": {
202                                         "pinseq": "1",
203                                         "pintype": "pas",
204                                         "pinlabel": "1",
205                                 },
206                         },
207                         "pin-conns": {
208                                 "CONN1-3": "GND",
209                                 "CONN1-2": "five",
210                                 "CONN1-1": "one",
211                         },
212                         "attribs":{
213                                 "refdes": "CONN1",
214                         },
215                 },
216                 "T1": {
217                         "pins": {
218                                 "T1-3": {
219                                         "pinseq": "3",
220                                         "pintype": "pas",
221                                         "pinlabel": "3",
222                                 },
223                                 "T1-4": {
224                                         "pinseq": "4",
225                                         "pintype": "pas",
226                                         "pinlabel": "4",
227                                 },
228                                 "T1-1": {
229                                         "pinseq": "1",
230                                         "pintype": "pas",
231                                         "pinlabel": "1",
232                                 },
233                                 "T1-2": {
234                                         "pinseq": "2",
235                                         "pintype": "pas",
236                                         "pinlabel": "2",
237                                 },
238                         },
239                         "pin-conns": {
240                                 "T1-3": "six",
241                                 "T1-4": "seven",
242                                 "T1-1": "three",
243                                 "T1-2": "five",
244                         },
245                         "attribs":{
246                                 "refdes": "T1",
247                         },
248                 },
249                 "F1": {
250                         "pins": {
251                                 "F1-2": {
252                                         "pinseq": "2",
253                                         "pintype": "pas",
254                                         "pinlabel": "2",
255                                 },
256                                 "F1-1": {
257                                         "pinseq": "1",
258                                         "pintype": "pas",
259                                         "pinlabel": "1",
260                                 },
261                         },
262                         "pin-conns": {
263                                 "F1-2": "three",
264                                 "F1-1": "two",
265                         },
266                         "attribs":{
267                                 "refdes": "F1",
268                         },
269                 },
270                 "U1": {
271                         "pins": {
272                                 "U1-4": {
273                                         "pinseq": "4",
274                                         "pintype": "pas",
275                                         "pinlabel": "4",
276                                 },
277                                 "U1-3": {
278                                         "pinseq": "3",
279                                         "pintype": "pas",
280                                         "pinlabel": "3",
281                                 },
282                                 "U1-2": {
283                                         "pinseq": "2",
284                                         "pintype": "pas",
285                                         "pinlabel": "2",
286                                 },
287                                 "U1-1": {
288                                         "pinseq": "1",
289                                         "pintype": "pas",
290                                         "pinlabel": "1",
291                                 },
292                         },
293                         "pin-conns": {
294                                 "U1-4": "six",
295                                 "U1-3": "seven",
296                                 "U1-2": "nine",
297                                 "U1-1": "eight",
298                         },
299                         "attribs":{
300                                 "refdes": "U1",
301                         },
302                 },
303         },
304         "nets": {
305                 "ten": [
306                         "U2-1",
307                         "C3-1",
308                         "R1-2",
309                         "R2-1",
310                 ],
311                 "eleven": [
312                         "U2-2",
313                         "C4-1",
314                         "R2-2",
315                 ],
316                 "GND": [
317                         "CONN1-3",
318                 ],
319                 "one": [
320                         "S1-1",
321                         "CONN1-1",
322                 ],
323                 "five": [
324                         "CONN1-2",
325                         "T1-2",
326                 ],
327                 "three": [
328                         "T1-1",
329                         "F1-2",
330                 ],
331                 "two": [
332                         "S1-2",
333                         "F1-1",
334                 ],
335                 "six": [
336                         "T1-3",
337                         "U1-4",
338                 ],
339                 "seven": [
340                         "T1-4",
341                         "U1-3",
342                 ],
343                 "nine": [
344                         "C4-2",
345                         "C3-2",
346                         "R1-1",
347                         "R1-3",
348                         "C2-2",
349                         "C1-2",
350                         "U1-2",
351                 ],
352                 "eight": [
353                         "U2-3",
354                         "C2-1",
355                         "C1-1",
356                         "U1-1",
357                 ],
358         },