Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / issue301 / src / traceback.json @ 2051e520

History | View | Annotate | Download (29.2 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"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "numeric_std"]]]]], ["LIBRARY_CLAUSE", [["IDENTIFIER", "dec_viterbi"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "dec_viterbi"], ["SIMPLE_NAME", "pkg_param"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "dec_viterbi"], ["SIMPLE_NAME", "pkg_param_derived"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "trellis_traceback"], "ports" : [{
6
          "names" : [["IDENTIFIER", "clk"]], "mode" : ["in"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "rst"]], "mode" : ["in"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_logic"]}
12
          }
13
        , {
14
          "names" : [["IDENTIFIER", "s_axis_input_tvalid"]], "mode" : ["in"], "typ" : {
15
            "name" : ["SIMPLE_NAME", "std_logic"]}
16
          }
17
        , {
18
          "names" : [["IDENTIFIER", "s_axis_input_tdata"]], "mode" : ["in"], "typ" : {
19
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
20
              "ranges" : [["RANGE_WITH_DIRECTION", {
21
                "direction" : "downto", "from" : ["EXPRESSION", {
22
                  "args" : [["EXPRESSION", {
23
                    "id" : "-", "args" : [["EXPRESSION", {
24
                      "args" : [["CALL", ["SIMPLE_NAME", "NUMBER_TRELLIS_STATES"]]]}
25
                    ], ["EXPRESSION", {
26
                      "args" : [["CONSTANT_VALUE", {
27
                        "value" : ["CST_LITERAL", "1"]}
28
                      ]]}
29
                    ]]}
30
                  ]]}
31
                ], "_to" : ["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["CONSTANT_VALUE", {
34
                      "value" : ["CST_LITERAL", "0"]}
35
                    ]]}
36
                  ]]}
37
                ]}
38
              ]]}
39
            ]}
40
          }
41
        , {
42
          "names" : [["IDENTIFIER", "s_axis_input_tlast"]], "mode" : ["in"], "typ" : {
43
            "name" : ["SIMPLE_NAME", "std_logic"]}
44
          }
45
        , {
46
          "names" : [["IDENTIFIER", "s_axis_input_tready"]], "mode" : ["out"], "typ" : {
47
            "name" : ["SIMPLE_NAME", "std_logic"]}
48
          }
49
        , {
50
          "names" : [["IDENTIFIER", "s_axis_input_window_tuser"]], "mode" : ["in"], "typ" : {
51
            "name" : ["SIMPLE_NAME", "std_logic"]}
52
          }
53
        , {
54
          "names" : [["IDENTIFIER", "s_axis_input_last_tuser"]], "mode" : ["in"], "typ" : {
55
            "name" : ["SIMPLE_NAME", "std_logic"]}
56
          }
57
        , {
58
          "names" : [["IDENTIFIER", "m_axis_output_tvalid"]], "mode" : ["out"], "typ" : {
59
            "name" : ["SIMPLE_NAME", "std_logic"]}
60
          }
61
        , {
62
          "names" : [["IDENTIFIER", "m_axis_output_tdata"]], "mode" : ["out"], "typ" : {
63
            "name" : ["SIMPLE_NAME", "std_logic"]}
64
          }
65
        , {
66
          "names" : [["IDENTIFIER", "m_axis_output_tlast"]], "mode" : ["out"], "typ" : {
67
            "name" : ["SIMPLE_NAME", "std_logic"]}
68
          }
69
        , {
70
          "names" : [["IDENTIFIER", "m_axis_output_last_tuser"]], "mode" : ["out"], "typ" : {
71
            "name" : ["SIMPLE_NAME", "std_logic"]}
72
          }
73
        , {
74
          "names" : [["IDENTIFIER", "m_axis_output_tready"]], "mode" : ["in"], "typ" : {
75
            "name" : ["SIMPLE_NAME", "std_logic"]}
76
          }
77
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
78
      ]}
79
    , {
80
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
81
        "name" : ["IDENTIFIER", "rtl"], "entity" : ["IDENTIFIER", "trellis_traceback"], "ARCHITECTURE_DECLARATIVE_PART" : [{
82
          "declaration" : ["SIGNAL_DECLARATION", {
83
            "names" : [["IDENTIFIER", "current_node"]], "typ" : {
84
              "name" : ["SIMPLE_NAME", "unsigned"], "const" : ["INDEX_CONSTRAINT", {
85
                "ranges" : [["RANGE_WITH_DIRECTION", {
86
                  "direction" : "downto", "from" : ["EXPRESSION", {
87
                    "args" : [["EXPRESSION", {
88
                      "id" : "-", "args" : [["EXPRESSION", {
89
                        "args" : [["CALL", ["SIMPLE_NAME", "BW_TRELLIS_STATES"]]]}
90
                      ], ["EXPRESSION", {
91
                        "args" : [["CONSTANT_VALUE", {
92
                          "value" : ["CST_LITERAL", "1"]}
93
                        ]]}
94
                      ]]}
95
                    ]]}
96
                  ], "_to" : ["EXPRESSION", {
97
                    "args" : [["EXPRESSION", {
98
                      "args" : [["CONSTANT_VALUE", {
99
                        "value" : ["CST_LITERAL", "0"]}
100
                      ]]}
101
                    ]]}
102
                  ]}
103
                ]]}
104
              ]}
105
            }
106
          ]}
107
        , {
108
          "declaration" : ["SIGNAL_DECLARATION", {
109
            "names" : [["IDENTIFIER", "m_axis_output_tvalid_int"]], "typ" : {
110
              "name" : ["SIMPLE_NAME", "std_logic"]}
111
            }
112
          ]}
113
        , {
114
          "declaration" : ["SIGNAL_DECLARATION", {
115
            "names" : [["IDENTIFIER", "s_axis_input_tready_int"]], "typ" : {
116
              "name" : ["SIMPLE_NAME", "std_logic"]}
117
            }
118
          ]}
119
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
120
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "s_axis_input_tready_int"], "rhs" : [{
121
            "expr" : [{
122
              "value" : ["EXPRESSION", {
123
                "args" : [["EXPRESSION", {
124
                  "args" : [["EXPRESSION", {
125
                    "args" : [["EXPRESSION", {
126
                      "args" : [["CONSTANT_VALUE", {
127
                        "value" : ["CST_LITERAL", "'1'"]}
128
                      ]]}
129
                    ]]}
130
                  ]]}
131
                ]]}
132
              ]}
133
            ], "cond" : ["EXPRESSION", {
134
              "id" : "or", "args" : [["EXPRESSION", {
135
                "id" : "=", "args" : [["EXPRESSION", {
136
                  "args" : [["EXPRESSION", {
137
                    "args" : [["EXPRESSION", {
138
                      "args" : [["CALL", ["SIMPLE_NAME", "m_axis_output_tready"]]]}
139
                    ]]}
140
                  ]]}
141
                ], ["EXPRESSION", {
142
                  "args" : [["EXPRESSION", {
143
                    "args" : [["EXPRESSION", {
144
                      "args" : [["CONSTANT_VALUE", {
145
                        "value" : ["CST_LITERAL", "'1'"]}
146
                      ]]}
147
                    ]]}
148
                  ]]}
149
                ]]}
150
              ], ["EXPRESSION", {
151
                "id" : "=", "args" : [["EXPRESSION", {
152
                  "args" : [["EXPRESSION", {
153
                    "args" : [["EXPRESSION", {
154
                      "args" : [["CALL", ["SIMPLE_NAME", "m_axis_output_tvalid_int"]]]}
155
                    ]]}
156
                  ]]}
157
                ], ["EXPRESSION", {
158
                  "args" : [["EXPRESSION", {
159
                    "args" : [["EXPRESSION", {
160
                      "args" : [["CONSTANT_VALUE", {
161
                        "value" : ["CST_LITERAL", "'0'"]}
162
                      ]]}
163
                    ]]}
164
                  ]]}
165
                ]]}
166
              ]]}
167
            ]}
168
          , {
169
            "expr" : [{
170
              "value" : ["EXPRESSION", {
171
                "args" : [["EXPRESSION", {
172
                  "args" : [["EXPRESSION", {
173
                    "args" : [["EXPRESSION", {
174
                      "args" : [["CONSTANT_VALUE", {
175
                        "value" : ["CST_LITERAL", "'0'"]}
176
                      ]]}
177
                    ]]}
178
                  ]]}
179
                ]]}
180
              ]}
181
            ]}
182
          ]}
183
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
184
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "s_axis_input_tready"], "rhs" : [{
185
            "expr" : [{
186
              "value" : ["EXPRESSION", {
187
                "args" : [["EXPRESSION", {
188
                  "args" : [["EXPRESSION", {
189
                    "args" : [["EXPRESSION", {
190
                      "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_tready_int"]]]}
191
                    ]]}
192
                  ]]}
193
                ]]}
194
              ]}
195
            ]}
196
          ]}
197
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
198
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "m_axis_output_tvalid"], "rhs" : [{
199
            "expr" : [{
200
              "value" : ["EXPRESSION", {
201
                "args" : [["EXPRESSION", {
202
                  "args" : [["EXPRESSION", {
203
                    "args" : [["EXPRESSION", {
204
                      "args" : [["CALL", ["SIMPLE_NAME", "m_axis_output_tvalid_int"]]]}
205
                    ]]}
206
                  ]]}
207
                ]]}
208
              ]}
209
            ]}
210
          ]}
211
        ], ["PROCESS_STATEMENT", {
212
          "id" : ["IDENTIFIER", "pr_traceback"], "active_sigs" : [["SIMPLE_NAME", "clk"]], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
213
            "if_cases" : [{
214
              "if_cond" : ["EXPRESSION", {
215
                "args" : [["EXPRESSION", {
216
                  "args" : [["EXPRESSION", {
217
                    "args" : [["EXPRESSION", {
218
                      "args" : [["CALL", ["FUNCTION_CALL", {
219
                        "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
220
                          "actual_designator" : ["SIMPLE_NAME", "clk"]}
221
                        ]}
222
                      ]]]}
223
                    ]]}
224
                  ]]}
225
                ]]}
226
              ], "if_block" : [["IF_STATEMENT", {
227
                "if_cases" : [{
228
                  "if_cond" : ["EXPRESSION", {
229
                    "id" : "=", "args" : [["EXPRESSION", {
230
                      "args" : [["EXPRESSION", {
231
                        "args" : [["EXPRESSION", {
232
                          "args" : [["CALL", ["SIMPLE_NAME", "rst"]]]}
233
                        ]]}
234
                      ]]}
235
                    ], ["EXPRESSION", {
236
                      "args" : [["EXPRESSION", {
237
                        "args" : [["EXPRESSION", {
238
                          "args" : [["CONSTANT_VALUE", {
239
                            "value" : ["CST_LITERAL", "'1'"]}
240
                          ]]}
241
                        ]]}
242
                      ]]}
243
                    ]]}
244
                  ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
245
                    "lhs" : ["SIMPLE_NAME", "m_axis_output_tvalid_int"], "rhs" : [{
246
                      "value" : ["EXPRESSION", {
247
                        "args" : [["EXPRESSION", {
248
                          "args" : [["EXPRESSION", {
249
                            "args" : [["EXPRESSION", {
250
                              "args" : [["CONSTANT_VALUE", {
251
                                "value" : ["CST_LITERAL", "'0'"]}
252
                              ]]}
253
                            ]]}
254
                          ]]}
255
                        ]]}
256
                      ]}
257
                    ]}
258
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
259
                    "lhs" : ["SIMPLE_NAME", "m_axis_output_tdata"], "rhs" : [{
260
                      "value" : ["EXPRESSION", {
261
                        "args" : [["EXPRESSION", {
262
                          "args" : [["EXPRESSION", {
263
                            "args" : [["EXPRESSION", {
264
                              "args" : [["CONSTANT_VALUE", {
265
                                "value" : ["CST_LITERAL", "'0'"]}
266
                              ]]}
267
                            ]]}
268
                          ]]}
269
                        ]]}
270
                      ]}
271
                    ]}
272
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
273
                    "lhs" : ["SIMPLE_NAME", "m_axis_output_tlast"], "rhs" : [{
274
                      "value" : ["EXPRESSION", {
275
                        "args" : [["EXPRESSION", {
276
                          "args" : [["EXPRESSION", {
277
                            "args" : [["EXPRESSION", {
278
                              "args" : [["CONSTANT_VALUE", {
279
                                "value" : ["CST_LITERAL", "'0'"]}
280
                              ]]}
281
                            ]]}
282
                          ]]}
283
                        ]]}
284
                      ]}
285
                    ]}
286
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
287
                    "lhs" : ["SIMPLE_NAME", "m_axis_output_last_tuser"], "rhs" : [{
288
                      "value" : ["EXPRESSION", {
289
                        "args" : [["EXPRESSION", {
290
                          "args" : [["EXPRESSION", {
291
                            "args" : [["EXPRESSION", {
292
                              "args" : [["CONSTANT_VALUE", {
293
                                "value" : ["CST_LITERAL", "'0'"]}
294
                              ]]}
295
                            ]]}
296
                          ]]}
297
                        ]]}
298
                      ]}
299
                    ]}
300
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
301
                    "lhs" : ["SIMPLE_NAME", "current_node"], "rhs" : [{
302
                      "value" : ["EXPRESSION", {
303
                        "args" : [["EXPRESSION", {
304
                          "args" : [["EXPRESSION", {
305
                            "args" : [["EXPRESSION", {
306
                              "args" : [["AGGREGATE", {
307
                                "elems" : [{
308
                                  "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
309
                                    "args" : [["EXPRESSION", {
310
                                      "args" : [["EXPRESSION", {
311
                                        "args" : [["EXPRESSION", {
312
                                          "args" : [["CONSTANT_VALUE", {
313
                                            "value" : ["CST_LITERAL", "'0'"]}
314
                                          ]]}
315
                                        ]]}
316
                                      ]]}
317
                                    ]]}
318
                                  ]}
319
                                ]}
320
                              ]]}
321
                            ]]}
322
                          ]]}
323
                        ]]}
324
                      ]}
325
                    ]}
326
                  ]]}
327
                ], "default" : [["IF_STATEMENT", {
328
                  "if_cases" : [{
329
                    "if_cond" : ["EXPRESSION", {
330
                      "id" : "=", "args" : [["EXPRESSION", {
331
                        "args" : [["EXPRESSION", {
332
                          "args" : [["EXPRESSION", {
333
                            "args" : [["CALL", ["SIMPLE_NAME", "m_axis_output_tready"]]]}
334
                          ]]}
335
                        ]]}
336
                      ], ["EXPRESSION", {
337
                        "args" : [["EXPRESSION", {
338
                          "args" : [["EXPRESSION", {
339
                            "args" : [["CONSTANT_VALUE", {
340
                              "value" : ["CST_LITERAL", "'1'"]}
341
                            ]]}
342
                          ]]}
343
                        ]]}
344
                      ]]}
345
                    ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
346
                      "lhs" : ["SIMPLE_NAME", "m_axis_output_tvalid_int"], "rhs" : [{
347
                        "value" : ["EXPRESSION", {
348
                          "args" : [["EXPRESSION", {
349
                            "args" : [["EXPRESSION", {
350
                              "args" : [["EXPRESSION", {
351
                                "args" : [["CONSTANT_VALUE", {
352
                                  "value" : ["CST_LITERAL", "'0'"]}
353
                                ]]}
354
                              ]]}
355
                            ]]}
356
                          ]]}
357
                        ]}
358
                      ]}
359
                    ]]}
360
                  ]}
361
                ], ["IF_STATEMENT", {
362
                  "if_cases" : [{
363
                    "if_cond" : ["EXPRESSION", {
364
                      "id" : "and", "args" : [["EXPRESSION", {
365
                        "id" : "=", "args" : [["EXPRESSION", {
366
                          "args" : [["EXPRESSION", {
367
                            "args" : [["EXPRESSION", {
368
                              "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_tvalid"]]]}
369
                            ]]}
370
                          ]]}
371
                        ], ["EXPRESSION", {
372
                          "args" : [["EXPRESSION", {
373
                            "args" : [["EXPRESSION", {
374
                              "args" : [["CONSTANT_VALUE", {
375
                                "value" : ["CST_LITERAL", "'1'"]}
376
                              ]]}
377
                            ]]}
378
                          ]]}
379
                        ]]}
380
                      ], ["EXPRESSION", {
381
                        "id" : "=", "args" : [["EXPRESSION", {
382
                          "args" : [["EXPRESSION", {
383
                            "args" : [["EXPRESSION", {
384
                              "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_tready_int"]]]}
385
                            ]]}
386
                          ]]}
387
                        ], ["EXPRESSION", {
388
                          "args" : [["EXPRESSION", {
389
                            "args" : [["EXPRESSION", {
390
                              "args" : [["CONSTANT_VALUE", {
391
                                "value" : ["CST_LITERAL", "'1'"]}
392
                              ]]}
393
                            ]]}
394
                          ]]}
395
                        ]]}
396
                      ]]}
397
                    ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
398
                      "lhs" : ["SIMPLE_NAME", "m_axis_output_tlast"], "rhs" : [{
399
                        "value" : ["EXPRESSION", {
400
                          "args" : [["EXPRESSION", {
401
                            "args" : [["EXPRESSION", {
402
                              "args" : [["EXPRESSION", {
403
                                "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_tlast"]]]}
404
                              ]]}
405
                            ]]}
406
                          ]]}
407
                        ]}
408
                      ]}
409
                    ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
410
                      "lhs" : ["SIMPLE_NAME", "m_axis_output_last_tuser"], "rhs" : [{
411
                        "value" : ["EXPRESSION", {
412
                          "args" : [["EXPRESSION", {
413
                            "args" : [["EXPRESSION", {
414
                              "args" : [["EXPRESSION", {
415
                                "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_last_tuser"]]]}
416
                              ]]}
417
                            ]]}
418
                          ]]}
419
                        ]}
420
                      ]}
421
                    ], ["IF_STATEMENT", {
422
                      "if_cases" : [{
423
                        "if_cond" : ["EXPRESSION", {
424
                          "id" : "=", "args" : [["EXPRESSION", {
425
                            "args" : [["EXPRESSION", {
426
                              "args" : [["EXPRESSION", {
427
                                "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_window_tuser"]]]}
428
                              ]]}
429
                            ]]}
430
                          ], ["EXPRESSION", {
431
                            "args" : [["EXPRESSION", {
432
                              "args" : [["EXPRESSION", {
433
                                "args" : [["CONSTANT_VALUE", {
434
                                  "value" : ["CST_LITERAL", "'1'"]}
435
                                ]]}
436
                              ]]}
437
                            ]]}
438
                          ]]}
439
                        ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
440
                          "lhs" : ["SIMPLE_NAME", "m_axis_output_tvalid_int"], "rhs" : [{
441
                            "value" : ["EXPRESSION", {
442
                              "args" : [["EXPRESSION", {
443
                                "args" : [["EXPRESSION", {
444
                                  "args" : [["EXPRESSION", {
445
                                    "args" : [["CONSTANT_VALUE", {
446
                                      "value" : ["CST_LITERAL", "'1'"]}
447
                                    ]]}
448
                                  ]]}
449
                                ]]}
450
                              ]]}
451
                            ]}
452
                          ]}
453
                        ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
454
                          "lhs" : ["SIMPLE_NAME", "m_axis_output_tdata"], "rhs" : [{
455
                            "value" : ["EXPRESSION", {
456
                              "args" : [["EXPRESSION", {
457
                                "args" : [["EXPRESSION", {
458
                                  "args" : [["EXPRESSION", {
459
                                    "args" : [["CALL", ["FUNCTION_CALL", {
460
                                      "id" : ["SIMPLE_NAME", "current_node"], "assoc_list" : [{
461
                                        "actual_expr" : ["EXPRESSION", {
462
                                          "args" : [["EXPRESSION", {
463
                                            "args" : [["EXPRESSION", {
464
                                              "args" : [["EXPRESSION", {
465
                                                "id" : "-", "args" : [["EXPRESSION", {
466
                                                  "args" : [["CALL", ["SIMPLE_NAME", "BW_TRELLIS_STATES"]]]}
467
                                                ], ["EXPRESSION", {
468
                                                  "args" : [["CONSTANT_VALUE", {
469
                                                    "value" : ["CST_LITERAL", "1"]}
470
                                                  ]]}
471
                                                ]]}
472
                                              ]]}
473
                                            ]]}
474
                                          ]]}
475
                                        ]}
476
                                      ]}
477
                                    ]]]}
478
                                  ]]}
479
                                ]]}
480
                              ]]}
481
                            ]}
482
                          ]}
483
                        ]]}
484
                      ]}
485
                    ], ["IF_STATEMENT", {
486
                      "if_cases" : [{
487
                        "if_cond" : ["EXPRESSION", {
488
                          "id" : "=", "args" : [["EXPRESSION", {
489
                            "args" : [["EXPRESSION", {
490
                              "args" : [["EXPRESSION", {
491
                                "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_last_tuser"]]]}
492
                              ]]}
493
                            ]]}
494
                          ], ["EXPRESSION", {
495
                            "args" : [["EXPRESSION", {
496
                              "args" : [["EXPRESSION", {
497
                                "args" : [["CONSTANT_VALUE", {
498
                                  "value" : ["CST_LITERAL", "'1'"]}
499
                                ]]}
500
                              ]]}
501
                            ]]}
502
                          ]]}
503
                        ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
504
                          "lhs" : ["SIMPLE_NAME", "current_node"], "rhs" : [{
505
                            "value" : ["EXPRESSION", {
506
                              "args" : [["EXPRESSION", {
507
                                "args" : [["EXPRESSION", {
508
                                  "args" : [["EXPRESSION", {
509
                                    "args" : [["CALL", ["FUNCTION_CALL", {
510
                                      "id" : ["SIMPLE_NAME", "to_unsigned"], "assoc_list" : [{
511
                                        "actual_expr" : ["EXPRESSION", {
512
                                          "args" : [["EXPRESSION", {
513
                                            "args" : [["EXPRESSION", {
514
                                              "args" : [["EXPRESSION", {
515
                                                "args" : [["CONSTANT_VALUE", {
516
                                                  "value" : ["CST_LITERAL", "0"]}
517
                                                ]]}
518
                                              ]]}
519
                                            ]]}
520
                                          ]]}
521
                                        ]}
522
                                      , {
523
                                        "actual_designator" : ["SIMPLE_NAME", "BW_TRELLIS_STATES"]}
524
                                      ]}
525
                                    ]]]}
526
                                  ]]}
527
                                ]]}
528
                              ]]}
529
                            ]}
530
                          ]}
531
                        ]]}
532
                      ], "default" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
533
                        "lhs" : ["SIMPLE_NAME", "current_node"], "rhs" : [{
534
                          "value" : ["EXPRESSION", {
535
                            "args" : [["EXPRESSION", {
536
                              "args" : [["EXPRESSION", {
537
                                "args" : [["EXPRESSION", {
538
                                  "id" : "&", "args" : [["EXPRESSION", {
539
                                    "args" : [["CALL", ["SLICE_NAME", {
540
                                      "id" : ["SIMPLE_NAME", "current_node"], "range" : ["RANGE_WITH_DIRECTION", {
541
                                        "direction" : "downto", "from" : ["EXPRESSION", {
542
                                          "args" : [["EXPRESSION", {
543
                                            "id" : "-", "args" : [["EXPRESSION", {
544
                                              "args" : [["CALL", ["SIMPLE_NAME", "BW_TRELLIS_STATES"]]]}
545
                                            ], ["EXPRESSION", {
546
                                              "args" : [["CONSTANT_VALUE", {
547
                                                "value" : ["CST_LITERAL", "2"]}
548
                                              ]]}
549
                                            ]]}
550
                                          ]]}
551
                                        ], "_to" : ["EXPRESSION", {
552
                                          "args" : [["EXPRESSION", {
553
                                            "args" : [["CONSTANT_VALUE", {
554
                                              "value" : ["CST_LITERAL", "0"]}
555
                                            ]]}
556
                                          ]]}
557
                                        ]}
558
                                      ]}
559
                                    ]]]}
560
                                  ], ["EXPRESSION", {
561
                                    "args" : [["CALL", ["FUNCTION_CALL", {
562
                                      "id" : ["SIMPLE_NAME", "s_axis_input_tdata"], "assoc_list" : [{
563
                                        "actual_expr" : ["EXPRESSION", {
564
                                          "args" : [["EXPRESSION", {
565
                                            "args" : [["EXPRESSION", {
566
                                              "args" : [["EXPRESSION", {
567
                                                "args" : [["CALL", ["FUNCTION_CALL", {
568
                                                  "id" : ["SIMPLE_NAME", "to_integer"], "assoc_list" : [{
569
                                                    "actual_designator" : ["SLICE_NAME", {
570
                                                      "id" : ["SIMPLE_NAME", "current_node"], "range" : ["RANGE_WITH_DIRECTION", {
571
                                                        "direction" : "downto", "from" : ["EXPRESSION", {
572
                                                          "args" : [["EXPRESSION", {
573
                                                            "id" : "-", "args" : [["EXPRESSION", {
574
                                                              "args" : [["CALL", ["SIMPLE_NAME", "BW_TRELLIS_STATES"]]]}
575
                                                            ], ["EXPRESSION", {
576
                                                              "args" : [["CONSTANT_VALUE", {
577
                                                                "value" : ["CST_LITERAL", "1"]}
578
                                                              ]]}
579
                                                            ]]}
580
                                                          ]]}
581
                                                        ], "_to" : ["EXPRESSION", {
582
                                                          "args" : [["EXPRESSION", {
583
                                                            "args" : [["CONSTANT_VALUE", {
584
                                                              "value" : ["CST_LITERAL", "0"]}
585
                                                            ]]}
586
                                                          ]]}
587
                                                        ]}
588
                                                      ]}
589
                                                    ]}
590
                                                  ]}
591
                                                ]]]}
592
                                              ]]}
593
                                            ]]}
594
                                          ]]}
595
                                        ]}
596
                                      ]}
597
                                    ]]]}
598
                                  ]]}
599
                                ]]}
600
                              ]]}
601
                            ]]}
602
                          ]}
603
                        ]}
604
                      ]]}
605
                    ]]}
606
                  ]}
607
                ]]}
608
              ]]}
609
            ]}
610
          ]]}
611
        ]]}
612
      ]}
613
    ]}
614
  }