Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / bug040 / izigzag_index.json @ 3fd18385

History | View | Annotate | Download (45 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_1164"]]]]], ["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "numeric_std"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "izigzag_index"], "ports" : [{
6
          "names" : [["IDENTIFIER", "clk"]], "mode" : ["in"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "ra0_addr"]], "mode" : ["in"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
12
              "ranges" : [["RANGE_WITH_DIRECTION", {
13
                "direction" : "downto", "from" : ["EXPRESSION", {
14
                  "args" : [["EXPRESSION", {
15
                    "args" : [["CONSTANT_VALUE", {
16
                      "value" : ["CST_LITERAL", "5"]}
17
                    ]]}
18
                  ]]}
19
                ], "_to" : ["EXPRESSION", {
20
                  "args" : [["EXPRESSION", {
21
                    "args" : [["CONSTANT_VALUE", {
22
                      "value" : ["CST_LITERAL", "0"]}
23
                    ]]}
24
                  ]]}
25
                ]}
26
              ]]}
27
            ]}
28
          }
29
        , {
30
          "names" : [["IDENTIFIER", "ra0_data"]], "mode" : ["out"], "typ" : {
31
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
32
              "ranges" : [["RANGE_WITH_DIRECTION", {
33
                "direction" : "downto", "from" : ["EXPRESSION", {
34
                  "args" : [["EXPRESSION", {
35
                    "args" : [["CONSTANT_VALUE", {
36
                      "value" : ["CST_LITERAL", "5"]}
37
                    ]]}
38
                  ]]}
39
                ], "_to" : ["EXPRESSION", {
40
                  "args" : [["EXPRESSION", {
41
                    "args" : [["CONSTANT_VALUE", {
42
                      "value" : ["CST_LITERAL", "0"]}
43
                    ]]}
44
                  ]]}
45
                ]}
46
              ]]}
47
            ]}
48
          }
49
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
50
      ]}
51
    , {
52
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
53
        "name" : ["IDENTIFIER", "augh"], "entity" : ["IDENTIFIER", "izigzag_index"], "ARCHITECTURE_DECLARATIVE_PART" : [{
54
          "definition" : ["TYPE_DECLARATION", {
55
            "name" : ["IDENTIFIER", "ram_type"], "definition" : ["ARRAY_TYPE_DEFINITION", {
56
              "const" : ["INDEX_CONSTRAINT", {
57
                "ranges" : [["RANGE_WITH_DIRECTION", {
58
                  "direction" : "to", "from" : ["EXPRESSION", {
59
                    "args" : [["EXPRESSION", {
60
                      "args" : [["CONSTANT_VALUE", {
61
                        "value" : ["CST_LITERAL", "0"]}
62
                      ]]}
63
                    ]]}
64
                  ], "_to" : ["EXPRESSION", {
65
                    "args" : [["EXPRESSION", {
66
                      "args" : [["CONSTANT_VALUE", {
67
                        "value" : ["CST_LITERAL", "63"]}
68
                      ]]}
69
                    ]]}
70
                  ]}
71
                ]]}
72
              ], "definition" : {
73
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
74
                  "ranges" : [["RANGE_WITH_DIRECTION", {
75
                    "direction" : "downto", "from" : ["EXPRESSION", {
76
                      "args" : [["EXPRESSION", {
77
                        "args" : [["CONSTANT_VALUE", {
78
                          "value" : ["CST_LITERAL", "5"]}
79
                        ]]}
80
                      ]]}
81
                    ], "_to" : ["EXPRESSION", {
82
                      "args" : [["EXPRESSION", {
83
                        "args" : [["CONSTANT_VALUE", {
84
                          "value" : ["CST_LITERAL", "0"]}
85
                        ]]}
86
                      ]]}
87
                    ]}
88
                  ]]}
89
                ]}
90
              }
91
            ]}
92
          ]}
93
        , {
94
          "declaration" : ["SIGNAL_DECLARATION", {
95
            "names" : [["IDENTIFIER", "ram"]], "typ" : {
96
              "name" : ["SIMPLE_NAME", "ram_type"]}
97
            , "init_val" : ["EXPRESSION", {
98
              "args" : [["EXPRESSION", {
99
                "args" : [["EXPRESSION", {
100
                  "args" : [["EXPRESSION", {
101
                    "args" : [["AGGREGATE", {
102
                      "elems" : [{
103
                        "expr" : ["EXPRESSION", {
104
                          "args" : [["EXPRESSION", {
105
                            "args" : [["EXPRESSION", {
106
                              "args" : [["EXPRESSION", {
107
                                "args" : [["CONSTANT_VALUE", {
108
                                  "value" : ["CST_LITERAL", "\"000000\""]}
109
                                ]]}
110
                              ]]}
111
                            ]]}
112
                          ]]}
113
                        ]}
114
                      , {
115
                        "expr" : ["EXPRESSION", {
116
                          "args" : [["EXPRESSION", {
117
                            "args" : [["EXPRESSION", {
118
                              "args" : [["EXPRESSION", {
119
                                "args" : [["CONSTANT_VALUE", {
120
                                  "value" : ["CST_LITERAL", "\"000001\""]}
121
                                ]]}
122
                              ]]}
123
                            ]]}
124
                          ]]}
125
                        ]}
126
                      , {
127
                        "expr" : ["EXPRESSION", {
128
                          "args" : [["EXPRESSION", {
129
                            "args" : [["EXPRESSION", {
130
                              "args" : [["EXPRESSION", {
131
                                "args" : [["CONSTANT_VALUE", {
132
                                  "value" : ["CST_LITERAL", "\"001000\""]}
133
                                ]]}
134
                              ]]}
135
                            ]]}
136
                          ]]}
137
                        ]}
138
                      , {
139
                        "expr" : ["EXPRESSION", {
140
                          "args" : [["EXPRESSION", {
141
                            "args" : [["EXPRESSION", {
142
                              "args" : [["EXPRESSION", {
143
                                "args" : [["CONSTANT_VALUE", {
144
                                  "value" : ["CST_LITERAL", "\"010000\""]}
145
                                ]]}
146
                              ]]}
147
                            ]]}
148
                          ]]}
149
                        ]}
150
                      , {
151
                        "expr" : ["EXPRESSION", {
152
                          "args" : [["EXPRESSION", {
153
                            "args" : [["EXPRESSION", {
154
                              "args" : [["EXPRESSION", {
155
                                "args" : [["CONSTANT_VALUE", {
156
                                  "value" : ["CST_LITERAL", "\"001001\""]}
157
                                ]]}
158
                              ]]}
159
                            ]]}
160
                          ]]}
161
                        ]}
162
                      , {
163
                        "expr" : ["EXPRESSION", {
164
                          "args" : [["EXPRESSION", {
165
                            "args" : [["EXPRESSION", {
166
                              "args" : [["EXPRESSION", {
167
                                "args" : [["CONSTANT_VALUE", {
168
                                  "value" : ["CST_LITERAL", "\"000010\""]}
169
                                ]]}
170
                              ]]}
171
                            ]]}
172
                          ]]}
173
                        ]}
174
                      , {
175
                        "expr" : ["EXPRESSION", {
176
                          "args" : [["EXPRESSION", {
177
                            "args" : [["EXPRESSION", {
178
                              "args" : [["EXPRESSION", {
179
                                "args" : [["CONSTANT_VALUE", {
180
                                  "value" : ["CST_LITERAL", "\"000011\""]}
181
                                ]]}
182
                              ]]}
183
                            ]]}
184
                          ]]}
185
                        ]}
186
                      , {
187
                        "expr" : ["EXPRESSION", {
188
                          "args" : [["EXPRESSION", {
189
                            "args" : [["EXPRESSION", {
190
                              "args" : [["EXPRESSION", {
191
                                "args" : [["CONSTANT_VALUE", {
192
                                  "value" : ["CST_LITERAL", "\"001010\""]}
193
                                ]]}
194
                              ]]}
195
                            ]]}
196
                          ]]}
197
                        ]}
198
                      , {
199
                        "expr" : ["EXPRESSION", {
200
                          "args" : [["EXPRESSION", {
201
                            "args" : [["EXPRESSION", {
202
                              "args" : [["EXPRESSION", {
203
                                "args" : [["CONSTANT_VALUE", {
204
                                  "value" : ["CST_LITERAL", "\"010001\""]}
205
                                ]]}
206
                              ]]}
207
                            ]]}
208
                          ]]}
209
                        ]}
210
                      , {
211
                        "expr" : ["EXPRESSION", {
212
                          "args" : [["EXPRESSION", {
213
                            "args" : [["EXPRESSION", {
214
                              "args" : [["EXPRESSION", {
215
                                "args" : [["CONSTANT_VALUE", {
216
                                  "value" : ["CST_LITERAL", "\"011000\""]}
217
                                ]]}
218
                              ]]}
219
                            ]]}
220
                          ]]}
221
                        ]}
222
                      , {
223
                        "expr" : ["EXPRESSION", {
224
                          "args" : [["EXPRESSION", {
225
                            "args" : [["EXPRESSION", {
226
                              "args" : [["EXPRESSION", {
227
                                "args" : [["CONSTANT_VALUE", {
228
                                  "value" : ["CST_LITERAL", "\"100000\""]}
229
                                ]]}
230
                              ]]}
231
                            ]]}
232
                          ]]}
233
                        ]}
234
                      , {
235
                        "expr" : ["EXPRESSION", {
236
                          "args" : [["EXPRESSION", {
237
                            "args" : [["EXPRESSION", {
238
                              "args" : [["EXPRESSION", {
239
                                "args" : [["CONSTANT_VALUE", {
240
                                  "value" : ["CST_LITERAL", "\"011001\""]}
241
                                ]]}
242
                              ]]}
243
                            ]]}
244
                          ]]}
245
                        ]}
246
                      , {
247
                        "expr" : ["EXPRESSION", {
248
                          "args" : [["EXPRESSION", {
249
                            "args" : [["EXPRESSION", {
250
                              "args" : [["EXPRESSION", {
251
                                "args" : [["CONSTANT_VALUE", {
252
                                  "value" : ["CST_LITERAL", "\"010010\""]}
253
                                ]]}
254
                              ]]}
255
                            ]]}
256
                          ]]}
257
                        ]}
258
                      , {
259
                        "expr" : ["EXPRESSION", {
260
                          "args" : [["EXPRESSION", {
261
                            "args" : [["EXPRESSION", {
262
                              "args" : [["EXPRESSION", {
263
                                "args" : [["CONSTANT_VALUE", {
264
                                  "value" : ["CST_LITERAL", "\"001011\""]}
265
                                ]]}
266
                              ]]}
267
                            ]]}
268
                          ]]}
269
                        ]}
270
                      , {
271
                        "expr" : ["EXPRESSION", {
272
                          "args" : [["EXPRESSION", {
273
                            "args" : [["EXPRESSION", {
274
                              "args" : [["EXPRESSION", {
275
                                "args" : [["CONSTANT_VALUE", {
276
                                  "value" : ["CST_LITERAL", "\"000100\""]}
277
                                ]]}
278
                              ]]}
279
                            ]]}
280
                          ]]}
281
                        ]}
282
                      , {
283
                        "expr" : ["EXPRESSION", {
284
                          "args" : [["EXPRESSION", {
285
                            "args" : [["EXPRESSION", {
286
                              "args" : [["EXPRESSION", {
287
                                "args" : [["CONSTANT_VALUE", {
288
                                  "value" : ["CST_LITERAL", "\"000101\""]}
289
                                ]]}
290
                              ]]}
291
                            ]]}
292
                          ]]}
293
                        ]}
294
                      , {
295
                        "expr" : ["EXPRESSION", {
296
                          "args" : [["EXPRESSION", {
297
                            "args" : [["EXPRESSION", {
298
                              "args" : [["EXPRESSION", {
299
                                "args" : [["CONSTANT_VALUE", {
300
                                  "value" : ["CST_LITERAL", "\"001100\""]}
301
                                ]]}
302
                              ]]}
303
                            ]]}
304
                          ]]}
305
                        ]}
306
                      , {
307
                        "expr" : ["EXPRESSION", {
308
                          "args" : [["EXPRESSION", {
309
                            "args" : [["EXPRESSION", {
310
                              "args" : [["EXPRESSION", {
311
                                "args" : [["CONSTANT_VALUE", {
312
                                  "value" : ["CST_LITERAL", "\"010011\""]}
313
                                ]]}
314
                              ]]}
315
                            ]]}
316
                          ]]}
317
                        ]}
318
                      , {
319
                        "expr" : ["EXPRESSION", {
320
                          "args" : [["EXPRESSION", {
321
                            "args" : [["EXPRESSION", {
322
                              "args" : [["EXPRESSION", {
323
                                "args" : [["CONSTANT_VALUE", {
324
                                  "value" : ["CST_LITERAL", "\"011010\""]}
325
                                ]]}
326
                              ]]}
327
                            ]]}
328
                          ]]}
329
                        ]}
330
                      , {
331
                        "expr" : ["EXPRESSION", {
332
                          "args" : [["EXPRESSION", {
333
                            "args" : [["EXPRESSION", {
334
                              "args" : [["EXPRESSION", {
335
                                "args" : [["CONSTANT_VALUE", {
336
                                  "value" : ["CST_LITERAL", "\"100001\""]}
337
                                ]]}
338
                              ]]}
339
                            ]]}
340
                          ]]}
341
                        ]}
342
                      , {
343
                        "expr" : ["EXPRESSION", {
344
                          "args" : [["EXPRESSION", {
345
                            "args" : [["EXPRESSION", {
346
                              "args" : [["EXPRESSION", {
347
                                "args" : [["CONSTANT_VALUE", {
348
                                  "value" : ["CST_LITERAL", "\"101000\""]}
349
                                ]]}
350
                              ]]}
351
                            ]]}
352
                          ]]}
353
                        ]}
354
                      , {
355
                        "expr" : ["EXPRESSION", {
356
                          "args" : [["EXPRESSION", {
357
                            "args" : [["EXPRESSION", {
358
                              "args" : [["EXPRESSION", {
359
                                "args" : [["CONSTANT_VALUE", {
360
                                  "value" : ["CST_LITERAL", "\"110000\""]}
361
                                ]]}
362
                              ]]}
363
                            ]]}
364
                          ]]}
365
                        ]}
366
                      , {
367
                        "expr" : ["EXPRESSION", {
368
                          "args" : [["EXPRESSION", {
369
                            "args" : [["EXPRESSION", {
370
                              "args" : [["EXPRESSION", {
371
                                "args" : [["CONSTANT_VALUE", {
372
                                  "value" : ["CST_LITERAL", "\"101001\""]}
373
                                ]]}
374
                              ]]}
375
                            ]]}
376
                          ]]}
377
                        ]}
378
                      , {
379
                        "expr" : ["EXPRESSION", {
380
                          "args" : [["EXPRESSION", {
381
                            "args" : [["EXPRESSION", {
382
                              "args" : [["EXPRESSION", {
383
                                "args" : [["CONSTANT_VALUE", {
384
                                  "value" : ["CST_LITERAL", "\"100010\""]}
385
                                ]]}
386
                              ]]}
387
                            ]]}
388
                          ]]}
389
                        ]}
390
                      , {
391
                        "expr" : ["EXPRESSION", {
392
                          "args" : [["EXPRESSION", {
393
                            "args" : [["EXPRESSION", {
394
                              "args" : [["EXPRESSION", {
395
                                "args" : [["CONSTANT_VALUE", {
396
                                  "value" : ["CST_LITERAL", "\"011011\""]}
397
                                ]]}
398
                              ]]}
399
                            ]]}
400
                          ]]}
401
                        ]}
402
                      , {
403
                        "expr" : ["EXPRESSION", {
404
                          "args" : [["EXPRESSION", {
405
                            "args" : [["EXPRESSION", {
406
                              "args" : [["EXPRESSION", {
407
                                "args" : [["CONSTANT_VALUE", {
408
                                  "value" : ["CST_LITERAL", "\"010100\""]}
409
                                ]]}
410
                              ]]}
411
                            ]]}
412
                          ]]}
413
                        ]}
414
                      , {
415
                        "expr" : ["EXPRESSION", {
416
                          "args" : [["EXPRESSION", {
417
                            "args" : [["EXPRESSION", {
418
                              "args" : [["EXPRESSION", {
419
                                "args" : [["CONSTANT_VALUE", {
420
                                  "value" : ["CST_LITERAL", "\"001101\""]}
421
                                ]]}
422
                              ]]}
423
                            ]]}
424
                          ]]}
425
                        ]}
426
                      , {
427
                        "expr" : ["EXPRESSION", {
428
                          "args" : [["EXPRESSION", {
429
                            "args" : [["EXPRESSION", {
430
                              "args" : [["EXPRESSION", {
431
                                "args" : [["CONSTANT_VALUE", {
432
                                  "value" : ["CST_LITERAL", "\"000110\""]}
433
                                ]]}
434
                              ]]}
435
                            ]]}
436
                          ]]}
437
                        ]}
438
                      , {
439
                        "expr" : ["EXPRESSION", {
440
                          "args" : [["EXPRESSION", {
441
                            "args" : [["EXPRESSION", {
442
                              "args" : [["EXPRESSION", {
443
                                "args" : [["CONSTANT_VALUE", {
444
                                  "value" : ["CST_LITERAL", "\"000111\""]}
445
                                ]]}
446
                              ]]}
447
                            ]]}
448
                          ]]}
449
                        ]}
450
                      , {
451
                        "expr" : ["EXPRESSION", {
452
                          "args" : [["EXPRESSION", {
453
                            "args" : [["EXPRESSION", {
454
                              "args" : [["EXPRESSION", {
455
                                "args" : [["CONSTANT_VALUE", {
456
                                  "value" : ["CST_LITERAL", "\"001110\""]}
457
                                ]]}
458
                              ]]}
459
                            ]]}
460
                          ]]}
461
                        ]}
462
                      , {
463
                        "expr" : ["EXPRESSION", {
464
                          "args" : [["EXPRESSION", {
465
                            "args" : [["EXPRESSION", {
466
                              "args" : [["EXPRESSION", {
467
                                "args" : [["CONSTANT_VALUE", {
468
                                  "value" : ["CST_LITERAL", "\"010101\""]}
469
                                ]]}
470
                              ]]}
471
                            ]]}
472
                          ]]}
473
                        ]}
474
                      , {
475
                        "expr" : ["EXPRESSION", {
476
                          "args" : [["EXPRESSION", {
477
                            "args" : [["EXPRESSION", {
478
                              "args" : [["EXPRESSION", {
479
                                "args" : [["CONSTANT_VALUE", {
480
                                  "value" : ["CST_LITERAL", "\"011100\""]}
481
                                ]]}
482
                              ]]}
483
                            ]]}
484
                          ]]}
485
                        ]}
486
                      , {
487
                        "expr" : ["EXPRESSION", {
488
                          "args" : [["EXPRESSION", {
489
                            "args" : [["EXPRESSION", {
490
                              "args" : [["EXPRESSION", {
491
                                "args" : [["CONSTANT_VALUE", {
492
                                  "value" : ["CST_LITERAL", "\"100011\""]}
493
                                ]]}
494
                              ]]}
495
                            ]]}
496
                          ]]}
497
                        ]}
498
                      , {
499
                        "expr" : ["EXPRESSION", {
500
                          "args" : [["EXPRESSION", {
501
                            "args" : [["EXPRESSION", {
502
                              "args" : [["EXPRESSION", {
503
                                "args" : [["CONSTANT_VALUE", {
504
                                  "value" : ["CST_LITERAL", "\"101010\""]}
505
                                ]]}
506
                              ]]}
507
                            ]]}
508
                          ]]}
509
                        ]}
510
                      , {
511
                        "expr" : ["EXPRESSION", {
512
                          "args" : [["EXPRESSION", {
513
                            "args" : [["EXPRESSION", {
514
                              "args" : [["EXPRESSION", {
515
                                "args" : [["CONSTANT_VALUE", {
516
                                  "value" : ["CST_LITERAL", "\"110001\""]}
517
                                ]]}
518
                              ]]}
519
                            ]]}
520
                          ]]}
521
                        ]}
522
                      , {
523
                        "expr" : ["EXPRESSION", {
524
                          "args" : [["EXPRESSION", {
525
                            "args" : [["EXPRESSION", {
526
                              "args" : [["EXPRESSION", {
527
                                "args" : [["CONSTANT_VALUE", {
528
                                  "value" : ["CST_LITERAL", "\"111000\""]}
529
                                ]]}
530
                              ]]}
531
                            ]]}
532
                          ]]}
533
                        ]}
534
                      , {
535
                        "expr" : ["EXPRESSION", {
536
                          "args" : [["EXPRESSION", {
537
                            "args" : [["EXPRESSION", {
538
                              "args" : [["EXPRESSION", {
539
                                "args" : [["CONSTANT_VALUE", {
540
                                  "value" : ["CST_LITERAL", "\"111001\""]}
541
                                ]]}
542
                              ]]}
543
                            ]]}
544
                          ]]}
545
                        ]}
546
                      , {
547
                        "expr" : ["EXPRESSION", {
548
                          "args" : [["EXPRESSION", {
549
                            "args" : [["EXPRESSION", {
550
                              "args" : [["EXPRESSION", {
551
                                "args" : [["CONSTANT_VALUE", {
552
                                  "value" : ["CST_LITERAL", "\"110010\""]}
553
                                ]]}
554
                              ]]}
555
                            ]]}
556
                          ]]}
557
                        ]}
558
                      , {
559
                        "expr" : ["EXPRESSION", {
560
                          "args" : [["EXPRESSION", {
561
                            "args" : [["EXPRESSION", {
562
                              "args" : [["EXPRESSION", {
563
                                "args" : [["CONSTANT_VALUE", {
564
                                  "value" : ["CST_LITERAL", "\"101011\""]}
565
                                ]]}
566
                              ]]}
567
                            ]]}
568
                          ]]}
569
                        ]}
570
                      , {
571
                        "expr" : ["EXPRESSION", {
572
                          "args" : [["EXPRESSION", {
573
                            "args" : [["EXPRESSION", {
574
                              "args" : [["EXPRESSION", {
575
                                "args" : [["CONSTANT_VALUE", {
576
                                  "value" : ["CST_LITERAL", "\"100100\""]}
577
                                ]]}
578
                              ]]}
579
                            ]]}
580
                          ]]}
581
                        ]}
582
                      , {
583
                        "expr" : ["EXPRESSION", {
584
                          "args" : [["EXPRESSION", {
585
                            "args" : [["EXPRESSION", {
586
                              "args" : [["EXPRESSION", {
587
                                "args" : [["CONSTANT_VALUE", {
588
                                  "value" : ["CST_LITERAL", "\"011101\""]}
589
                                ]]}
590
                              ]]}
591
                            ]]}
592
                          ]]}
593
                        ]}
594
                      , {
595
                        "expr" : ["EXPRESSION", {
596
                          "args" : [["EXPRESSION", {
597
                            "args" : [["EXPRESSION", {
598
                              "args" : [["EXPRESSION", {
599
                                "args" : [["CONSTANT_VALUE", {
600
                                  "value" : ["CST_LITERAL", "\"010110\""]}
601
                                ]]}
602
                              ]]}
603
                            ]]}
604
                          ]]}
605
                        ]}
606
                      , {
607
                        "expr" : ["EXPRESSION", {
608
                          "args" : [["EXPRESSION", {
609
                            "args" : [["EXPRESSION", {
610
                              "args" : [["EXPRESSION", {
611
                                "args" : [["CONSTANT_VALUE", {
612
                                  "value" : ["CST_LITERAL", "\"001111\""]}
613
                                ]]}
614
                              ]]}
615
                            ]]}
616
                          ]]}
617
                        ]}
618
                      , {
619
                        "expr" : ["EXPRESSION", {
620
                          "args" : [["EXPRESSION", {
621
                            "args" : [["EXPRESSION", {
622
                              "args" : [["EXPRESSION", {
623
                                "args" : [["CONSTANT_VALUE", {
624
                                  "value" : ["CST_LITERAL", "\"010111\""]}
625
                                ]]}
626
                              ]]}
627
                            ]]}
628
                          ]]}
629
                        ]}
630
                      , {
631
                        "expr" : ["EXPRESSION", {
632
                          "args" : [["EXPRESSION", {
633
                            "args" : [["EXPRESSION", {
634
                              "args" : [["EXPRESSION", {
635
                                "args" : [["CONSTANT_VALUE", {
636
                                  "value" : ["CST_LITERAL", "\"011110\""]}
637
                                ]]}
638
                              ]]}
639
                            ]]}
640
                          ]]}
641
                        ]}
642
                      , {
643
                        "expr" : ["EXPRESSION", {
644
                          "args" : [["EXPRESSION", {
645
                            "args" : [["EXPRESSION", {
646
                              "args" : [["EXPRESSION", {
647
                                "args" : [["CONSTANT_VALUE", {
648
                                  "value" : ["CST_LITERAL", "\"100101\""]}
649
                                ]]}
650
                              ]]}
651
                            ]]}
652
                          ]]}
653
                        ]}
654
                      , {
655
                        "expr" : ["EXPRESSION", {
656
                          "args" : [["EXPRESSION", {
657
                            "args" : [["EXPRESSION", {
658
                              "args" : [["EXPRESSION", {
659
                                "args" : [["CONSTANT_VALUE", {
660
                                  "value" : ["CST_LITERAL", "\"101100\""]}
661
                                ]]}
662
                              ]]}
663
                            ]]}
664
                          ]]}
665
                        ]}
666
                      , {
667
                        "expr" : ["EXPRESSION", {
668
                          "args" : [["EXPRESSION", {
669
                            "args" : [["EXPRESSION", {
670
                              "args" : [["EXPRESSION", {
671
                                "args" : [["CONSTANT_VALUE", {
672
                                  "value" : ["CST_LITERAL", "\"110011\""]}
673
                                ]]}
674
                              ]]}
675
                            ]]}
676
                          ]]}
677
                        ]}
678
                      , {
679
                        "expr" : ["EXPRESSION", {
680
                          "args" : [["EXPRESSION", {
681
                            "args" : [["EXPRESSION", {
682
                              "args" : [["EXPRESSION", {
683
                                "args" : [["CONSTANT_VALUE", {
684
                                  "value" : ["CST_LITERAL", "\"111010\""]}
685
                                ]]}
686
                              ]]}
687
                            ]]}
688
                          ]]}
689
                        ]}
690
                      , {
691
                        "expr" : ["EXPRESSION", {
692
                          "args" : [["EXPRESSION", {
693
                            "args" : [["EXPRESSION", {
694
                              "args" : [["EXPRESSION", {
695
                                "args" : [["CONSTANT_VALUE", {
696
                                  "value" : ["CST_LITERAL", "\"111011\""]}
697
                                ]]}
698
                              ]]}
699
                            ]]}
700
                          ]]}
701
                        ]}
702
                      , {
703
                        "expr" : ["EXPRESSION", {
704
                          "args" : [["EXPRESSION", {
705
                            "args" : [["EXPRESSION", {
706
                              "args" : [["EXPRESSION", {
707
                                "args" : [["CONSTANT_VALUE", {
708
                                  "value" : ["CST_LITERAL", "\"110100\""]}
709
                                ]]}
710
                              ]]}
711
                            ]]}
712
                          ]]}
713
                        ]}
714
                      , {
715
                        "expr" : ["EXPRESSION", {
716
                          "args" : [["EXPRESSION", {
717
                            "args" : [["EXPRESSION", {
718
                              "args" : [["EXPRESSION", {
719
                                "args" : [["CONSTANT_VALUE", {
720
                                  "value" : ["CST_LITERAL", "\"101101\""]}
721
                                ]]}
722
                              ]]}
723
                            ]]}
724
                          ]]}
725
                        ]}
726
                      , {
727
                        "expr" : ["EXPRESSION", {
728
                          "args" : [["EXPRESSION", {
729
                            "args" : [["EXPRESSION", {
730
                              "args" : [["EXPRESSION", {
731
                                "args" : [["CONSTANT_VALUE", {
732
                                  "value" : ["CST_LITERAL", "\"100110\""]}
733
                                ]]}
734
                              ]]}
735
                            ]]}
736
                          ]]}
737
                        ]}
738
                      , {
739
                        "expr" : ["EXPRESSION", {
740
                          "args" : [["EXPRESSION", {
741
                            "args" : [["EXPRESSION", {
742
                              "args" : [["EXPRESSION", {
743
                                "args" : [["CONSTANT_VALUE", {
744
                                  "value" : ["CST_LITERAL", "\"011111\""]}
745
                                ]]}
746
                              ]]}
747
                            ]]}
748
                          ]]}
749
                        ]}
750
                      , {
751
                        "expr" : ["EXPRESSION", {
752
                          "args" : [["EXPRESSION", {
753
                            "args" : [["EXPRESSION", {
754
                              "args" : [["EXPRESSION", {
755
                                "args" : [["CONSTANT_VALUE", {
756
                                  "value" : ["CST_LITERAL", "\"100111\""]}
757
                                ]]}
758
                              ]]}
759
                            ]]}
760
                          ]]}
761
                        ]}
762
                      , {
763
                        "expr" : ["EXPRESSION", {
764
                          "args" : [["EXPRESSION", {
765
                            "args" : [["EXPRESSION", {
766
                              "args" : [["EXPRESSION", {
767
                                "args" : [["CONSTANT_VALUE", {
768
                                  "value" : ["CST_LITERAL", "\"101110\""]}
769
                                ]]}
770
                              ]]}
771
                            ]]}
772
                          ]]}
773
                        ]}
774
                      , {
775
                        "expr" : ["EXPRESSION", {
776
                          "args" : [["EXPRESSION", {
777
                            "args" : [["EXPRESSION", {
778
                              "args" : [["EXPRESSION", {
779
                                "args" : [["CONSTANT_VALUE", {
780
                                  "value" : ["CST_LITERAL", "\"110101\""]}
781
                                ]]}
782
                              ]]}
783
                            ]]}
784
                          ]]}
785
                        ]}
786
                      , {
787
                        "expr" : ["EXPRESSION", {
788
                          "args" : [["EXPRESSION", {
789
                            "args" : [["EXPRESSION", {
790
                              "args" : [["EXPRESSION", {
791
                                "args" : [["CONSTANT_VALUE", {
792
                                  "value" : ["CST_LITERAL", "\"111100\""]}
793
                                ]]}
794
                              ]]}
795
                            ]]}
796
                          ]]}
797
                        ]}
798
                      , {
799
                        "expr" : ["EXPRESSION", {
800
                          "args" : [["EXPRESSION", {
801
                            "args" : [["EXPRESSION", {
802
                              "args" : [["EXPRESSION", {
803
                                "args" : [["CONSTANT_VALUE", {
804
                                  "value" : ["CST_LITERAL", "\"111101\""]}
805
                                ]]}
806
                              ]]}
807
                            ]]}
808
                          ]]}
809
                        ]}
810
                      , {
811
                        "expr" : ["EXPRESSION", {
812
                          "args" : [["EXPRESSION", {
813
                            "args" : [["EXPRESSION", {
814
                              "args" : [["EXPRESSION", {
815
                                "args" : [["CONSTANT_VALUE", {
816
                                  "value" : ["CST_LITERAL", "\"110110\""]}
817
                                ]]}
818
                              ]]}
819
                            ]]}
820
                          ]]}
821
                        ]}
822
                      , {
823
                        "expr" : ["EXPRESSION", {
824
                          "args" : [["EXPRESSION", {
825
                            "args" : [["EXPRESSION", {
826
                              "args" : [["EXPRESSION", {
827
                                "args" : [["CONSTANT_VALUE", {
828
                                  "value" : ["CST_LITERAL", "\"101111\""]}
829
                                ]]}
830
                              ]]}
831
                            ]]}
832
                          ]]}
833
                        ]}
834
                      , {
835
                        "expr" : ["EXPRESSION", {
836
                          "args" : [["EXPRESSION", {
837
                            "args" : [["EXPRESSION", {
838
                              "args" : [["EXPRESSION", {
839
                                "args" : [["CONSTANT_VALUE", {
840
                                  "value" : ["CST_LITERAL", "\"110111\""]}
841
                                ]]}
842
                              ]]}
843
                            ]]}
844
                          ]]}
845
                        ]}
846
                      , {
847
                        "expr" : ["EXPRESSION", {
848
                          "args" : [["EXPRESSION", {
849
                            "args" : [["EXPRESSION", {
850
                              "args" : [["EXPRESSION", {
851
                                "args" : [["CONSTANT_VALUE", {
852
                                  "value" : ["CST_LITERAL", "\"111110\""]}
853
                                ]]}
854
                              ]]}
855
                            ]]}
856
                          ]]}
857
                        ]}
858
                      , {
859
                        "expr" : ["EXPRESSION", {
860
                          "args" : [["EXPRESSION", {
861
                            "args" : [["EXPRESSION", {
862
                              "args" : [["EXPRESSION", {
863
                                "args" : [["CONSTANT_VALUE", {
864
                                  "value" : ["CST_LITERAL", "\"111111\""]}
865
                                ]]}
866
                              ]]}
867
                            ]]}
868
                          ]]}
869
                        ]}
870
                      ]}
871
                    ]]}
872
                  ]]}
873
                ]]}
874
              ]]}
875
            ]}
876
          ]}
877
        , {
878
          "declaration" : ["SUBPROGRAM_BODY", {
879
            "spec" : {
880
              "name" : "to_integer", "subprogram_type" : "function", "parameters" : [{
881
                "names" : [["IDENTIFIER", "B"]], "typ" : {
882
                  "name" : ["SIMPLE_NAME", "std_logic"]}
883
                }
884
              ], "typeMark" : ["SIMPLE_NAME", "integer"], "isPure" : false}
885
            , "decl_part" : [["VARIABLE_DECLARATION", {
886
              "names" : [["IDENTIFIER", "V"]], "typ" : {
887
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
888
                  "ranges" : [["RANGE_WITH_DIRECTION", {
889
                    "direction" : "to", "from" : ["EXPRESSION", {
890
                      "args" : [["EXPRESSION", {
891
                        "args" : [["CONSTANT_VALUE", {
892
                          "value" : ["CST_LITERAL", "0"]}
893
                        ]]}
894
                      ]]}
895
                    ], "_to" : ["EXPRESSION", {
896
                      "args" : [["EXPRESSION", {
897
                        "args" : [["CONSTANT_VALUE", {
898
                          "value" : ["CST_LITERAL", "0"]}
899
                        ]]}
900
                      ]]}
901
                    ]}
902
                  ]]}
903
                ]}
904
              }
905
            ]], "stmts" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
906
              "lhs" : ["INDEXED_NAME", {
907
                "id" : ["SIMPLE_NAME", "V"], "exprs" : [["EXPRESSION", {
908
                  "args" : [["EXPRESSION", {
909
                    "args" : [["EXPRESSION", {
910
                      "args" : [["EXPRESSION", {
911
                        "args" : [["CONSTANT_VALUE", {
912
                          "value" : ["CST_LITERAL", "0"]}
913
                        ]]}
914
                      ]]}
915
                    ]]}
916
                  ]]}
917
                ]]}
918
              ], "rhs" : ["EXPRESSION", {
919
                "args" : [["EXPRESSION", {
920
                  "args" : [["EXPRESSION", {
921
                    "args" : [["EXPRESSION", {
922
                      "args" : [["CALL", ["SIMPLE_NAME", "B"]]]}
923
                    ]]}
924
                  ]]}
925
                ]]}
926
              ]}
927
            ], ["RETURN_STATEMENT", {
928
              "expr" : ["EXPRESSION", {
929
                "args" : [["EXPRESSION", {
930
                  "args" : [["EXPRESSION", {
931
                    "args" : [["EXPRESSION", {
932
                      "args" : [["CALL", ["INDEXED_NAME", {
933
                        "id" : ["SIMPLE_NAME", "to_integer"], "exprs" : [["EXPRESSION", {
934
                          "args" : [["EXPRESSION", {
935
                            "args" : [["EXPRESSION", {
936
                              "args" : [["EXPRESSION", {
937
                                "args" : [["CALL", ["INDEXED_NAME", {
938
                                  "id" : ["SIMPLE_NAME", "unsigned"], "exprs" : [["EXPRESSION", {
939
                                    "args" : [["EXPRESSION", {
940
                                      "args" : [["EXPRESSION", {
941
                                        "args" : [["EXPRESSION", {
942
                                          "args" : [["CALL", ["SIMPLE_NAME", "V"]]]}
943
                                        ]]}
944
                                      ]]}
945
                                    ]]}
946
                                  ]]}
947
                                ]]]}
948
                              ]]}
949
                            ]]}
950
                          ]]}
951
                        ]]}
952
                      ]]]}
953
                    ]]}
954
                  ]]}
955
                ]]}
956
              ]}
957
            ]]}
958
          ]}
959
        , {
960
          "declaration" : ["SUBPROGRAM_BODY", {
961
            "spec" : {
962
              "name" : "to_integer", "subprogram_type" : "function", "parameters" : [{
963
                "names" : [["IDENTIFIER", "V"]], "typ" : {
964
                  "name" : ["SIMPLE_NAME", "std_logic_vector"]}
965
                }
966
              ], "typeMark" : ["SIMPLE_NAME", "integer"], "isPure" : false}
967
            , "stmts" : [["RETURN_STATEMENT", {
968
              "expr" : ["EXPRESSION", {
969
                "args" : [["EXPRESSION", {
970
                  "args" : [["EXPRESSION", {
971
                    "args" : [["EXPRESSION", {
972
                      "args" : [["CALL", ["INDEXED_NAME", {
973
                        "id" : ["SIMPLE_NAME", "to_integer"], "exprs" : [["EXPRESSION", {
974
                          "args" : [["EXPRESSION", {
975
                            "args" : [["EXPRESSION", {
976
                              "args" : [["EXPRESSION", {
977
                                "args" : [["CALL", ["INDEXED_NAME", {
978
                                  "id" : ["SIMPLE_NAME", "unsigned"], "exprs" : [["EXPRESSION", {
979
                                    "args" : [["EXPRESSION", {
980
                                      "args" : [["EXPRESSION", {
981
                                        "args" : [["EXPRESSION", {
982
                                          "args" : [["CALL", ["SIMPLE_NAME", "V"]]]}
983
                                        ]]}
984
                                      ]]}
985
                                    ]]}
986
                                  ]]}
987
                                ]]]}
988
                              ]]}
989
                            ]]}
990
                          ]]}
991
                        ]]}
992
                      ]]]}
993
                    ]]}
994
                  ]]}
995
                ]]}
996
              ]}
997
            ]]}
998
          ]}
999
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1000
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "ra0_data"], "rhs" : [{
1001
            "expr" : [{
1002
              "value" : ["EXPRESSION", {
1003
                "args" : [["EXPRESSION", {
1004
                  "args" : [["EXPRESSION", {
1005
                    "args" : [["EXPRESSION", {
1006
                      "args" : [["CALL", ["INDEXED_NAME", {
1007
                        "id" : ["SIMPLE_NAME", "ram"], "exprs" : [["EXPRESSION", {
1008
                          "args" : [["EXPRESSION", {
1009
                            "args" : [["EXPRESSION", {
1010
                              "args" : [["EXPRESSION", {
1011
                                "args" : [["CALL", ["INDEXED_NAME", {
1012
                                  "id" : ["SIMPLE_NAME", "to_integer"], "exprs" : [["EXPRESSION", {
1013
                                    "args" : [["EXPRESSION", {
1014
                                      "args" : [["EXPRESSION", {
1015
                                        "args" : [["EXPRESSION", {
1016
                                          "args" : [["CALL", ["SIMPLE_NAME", "ra0_addr"]]]}
1017
                                        ]]}
1018
                                      ]]}
1019
                                    ]]}
1020
                                  ]]}
1021
                                ]]]}
1022
                              ]]}
1023
                            ]]}
1024
                          ]]}
1025
                        ]]}
1026
                      ]]]}
1027
                    ]]}
1028
                  ]]}
1029
                ]]}
1030
              ]}
1031
            ]}
1032
          ]}
1033
        ]]}
1034
      ]}
1035
    ]}
1036
  }