Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (30 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", ["INDEXED_NAME", {
219
                        "id" : ["SIMPLE_NAME", "rising_edge"], "exprs" : [["EXPRESSION", {
220
                          "args" : [["EXPRESSION", {
221
                            "args" : [["EXPRESSION", {
222
                              "args" : [["EXPRESSION", {
223
                                "args" : [["CALL", ["SIMPLE_NAME", "clk"]]]}
224
                              ]]}
225
                            ]]}
226
                          ]]}
227
                        ]]}
228
                      ]]]}
229
                    ]]}
230
                  ]]}
231
                ]]}
232
              ], "if_block" : [["IF_STATEMENT", {
233
                "if_cases" : [{
234
                  "if_cond" : ["EXPRESSION", {
235
                    "id" : "=", "args" : [["EXPRESSION", {
236
                      "args" : [["EXPRESSION", {
237
                        "args" : [["EXPRESSION", {
238
                          "args" : [["CALL", ["SIMPLE_NAME", "rst"]]]}
239
                        ]]}
240
                      ]]}
241
                    ], ["EXPRESSION", {
242
                      "args" : [["EXPRESSION", {
243
                        "args" : [["EXPRESSION", {
244
                          "args" : [["CONSTANT_VALUE", {
245
                            "value" : ["CST_LITERAL", "'1'"]}
246
                          ]]}
247
                        ]]}
248
                      ]]}
249
                    ]]}
250
                  ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
251
                    "lhs" : ["SIMPLE_NAME", "m_axis_output_tvalid_int"], "rhs" : [{
252
                      "value" : ["EXPRESSION", {
253
                        "args" : [["EXPRESSION", {
254
                          "args" : [["EXPRESSION", {
255
                            "args" : [["EXPRESSION", {
256
                              "args" : [["CONSTANT_VALUE", {
257
                                "value" : ["CST_LITERAL", "'0'"]}
258
                              ]]}
259
                            ]]}
260
                          ]]}
261
                        ]]}
262
                      ]}
263
                    ]}
264
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
265
                    "lhs" : ["SIMPLE_NAME", "m_axis_output_tdata"], "rhs" : [{
266
                      "value" : ["EXPRESSION", {
267
                        "args" : [["EXPRESSION", {
268
                          "args" : [["EXPRESSION", {
269
                            "args" : [["EXPRESSION", {
270
                              "args" : [["CONSTANT_VALUE", {
271
                                "value" : ["CST_LITERAL", "'0'"]}
272
                              ]]}
273
                            ]]}
274
                          ]]}
275
                        ]]}
276
                      ]}
277
                    ]}
278
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
279
                    "lhs" : ["SIMPLE_NAME", "m_axis_output_tlast"], "rhs" : [{
280
                      "value" : ["EXPRESSION", {
281
                        "args" : [["EXPRESSION", {
282
                          "args" : [["EXPRESSION", {
283
                            "args" : [["EXPRESSION", {
284
                              "args" : [["CONSTANT_VALUE", {
285
                                "value" : ["CST_LITERAL", "'0'"]}
286
                              ]]}
287
                            ]]}
288
                          ]]}
289
                        ]]}
290
                      ]}
291
                    ]}
292
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
293
                    "lhs" : ["SIMPLE_NAME", "m_axis_output_last_tuser"], "rhs" : [{
294
                      "value" : ["EXPRESSION", {
295
                        "args" : [["EXPRESSION", {
296
                          "args" : [["EXPRESSION", {
297
                            "args" : [["EXPRESSION", {
298
                              "args" : [["CONSTANT_VALUE", {
299
                                "value" : ["CST_LITERAL", "'0'"]}
300
                              ]]}
301
                            ]]}
302
                          ]]}
303
                        ]]}
304
                      ]}
305
                    ]}
306
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
307
                    "lhs" : ["SIMPLE_NAME", "current_node"], "rhs" : [{
308
                      "value" : ["EXPRESSION", {
309
                        "args" : [["EXPRESSION", {
310
                          "args" : [["EXPRESSION", {
311
                            "args" : [["EXPRESSION", {
312
                              "args" : [["AGGREGATE", {
313
                                "elems" : [{
314
                                  "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
315
                                    "args" : [["EXPRESSION", {
316
                                      "args" : [["EXPRESSION", {
317
                                        "args" : [["EXPRESSION", {
318
                                          "args" : [["CONSTANT_VALUE", {
319
                                            "value" : ["CST_LITERAL", "'0'"]}
320
                                          ]]}
321
                                        ]]}
322
                                      ]]}
323
                                    ]]}
324
                                  ]}
325
                                ]}
326
                              ]]}
327
                            ]]}
328
                          ]]}
329
                        ]]}
330
                      ]}
331
                    ]}
332
                  ]]}
333
                ], "default" : [["IF_STATEMENT", {
334
                  "if_cases" : [{
335
                    "if_cond" : ["EXPRESSION", {
336
                      "id" : "=", "args" : [["EXPRESSION", {
337
                        "args" : [["EXPRESSION", {
338
                          "args" : [["EXPRESSION", {
339
                            "args" : [["CALL", ["SIMPLE_NAME", "m_axis_output_tready"]]]}
340
                          ]]}
341
                        ]]}
342
                      ], ["EXPRESSION", {
343
                        "args" : [["EXPRESSION", {
344
                          "args" : [["EXPRESSION", {
345
                            "args" : [["CONSTANT_VALUE", {
346
                              "value" : ["CST_LITERAL", "'1'"]}
347
                            ]]}
348
                          ]]}
349
                        ]]}
350
                      ]]}
351
                    ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
352
                      "lhs" : ["SIMPLE_NAME", "m_axis_output_tvalid_int"], "rhs" : [{
353
                        "value" : ["EXPRESSION", {
354
                          "args" : [["EXPRESSION", {
355
                            "args" : [["EXPRESSION", {
356
                              "args" : [["EXPRESSION", {
357
                                "args" : [["CONSTANT_VALUE", {
358
                                  "value" : ["CST_LITERAL", "'0'"]}
359
                                ]]}
360
                              ]]}
361
                            ]]}
362
                          ]]}
363
                        ]}
364
                      ]}
365
                    ]]}
366
                  ]}
367
                ], ["IF_STATEMENT", {
368
                  "if_cases" : [{
369
                    "if_cond" : ["EXPRESSION", {
370
                      "id" : "and", "args" : [["EXPRESSION", {
371
                        "id" : "=", "args" : [["EXPRESSION", {
372
                          "args" : [["EXPRESSION", {
373
                            "args" : [["EXPRESSION", {
374
                              "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_tvalid"]]]}
375
                            ]]}
376
                          ]]}
377
                        ], ["EXPRESSION", {
378
                          "args" : [["EXPRESSION", {
379
                            "args" : [["EXPRESSION", {
380
                              "args" : [["CONSTANT_VALUE", {
381
                                "value" : ["CST_LITERAL", "'1'"]}
382
                              ]]}
383
                            ]]}
384
                          ]]}
385
                        ]]}
386
                      ], ["EXPRESSION", {
387
                        "id" : "=", "args" : [["EXPRESSION", {
388
                          "args" : [["EXPRESSION", {
389
                            "args" : [["EXPRESSION", {
390
                              "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_tready_int"]]]}
391
                            ]]}
392
                          ]]}
393
                        ], ["EXPRESSION", {
394
                          "args" : [["EXPRESSION", {
395
                            "args" : [["EXPRESSION", {
396
                              "args" : [["CONSTANT_VALUE", {
397
                                "value" : ["CST_LITERAL", "'1'"]}
398
                              ]]}
399
                            ]]}
400
                          ]]}
401
                        ]]}
402
                      ]]}
403
                    ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
404
                      "lhs" : ["SIMPLE_NAME", "m_axis_output_tlast"], "rhs" : [{
405
                        "value" : ["EXPRESSION", {
406
                          "args" : [["EXPRESSION", {
407
                            "args" : [["EXPRESSION", {
408
                              "args" : [["EXPRESSION", {
409
                                "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_tlast"]]]}
410
                              ]]}
411
                            ]]}
412
                          ]]}
413
                        ]}
414
                      ]}
415
                    ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
416
                      "lhs" : ["SIMPLE_NAME", "m_axis_output_last_tuser"], "rhs" : [{
417
                        "value" : ["EXPRESSION", {
418
                          "args" : [["EXPRESSION", {
419
                            "args" : [["EXPRESSION", {
420
                              "args" : [["EXPRESSION", {
421
                                "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_last_tuser"]]]}
422
                              ]]}
423
                            ]]}
424
                          ]]}
425
                        ]}
426
                      ]}
427
                    ], ["IF_STATEMENT", {
428
                      "if_cases" : [{
429
                        "if_cond" : ["EXPRESSION", {
430
                          "id" : "=", "args" : [["EXPRESSION", {
431
                            "args" : [["EXPRESSION", {
432
                              "args" : [["EXPRESSION", {
433
                                "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_window_tuser"]]]}
434
                              ]]}
435
                            ]]}
436
                          ], ["EXPRESSION", {
437
                            "args" : [["EXPRESSION", {
438
                              "args" : [["EXPRESSION", {
439
                                "args" : [["CONSTANT_VALUE", {
440
                                  "value" : ["CST_LITERAL", "'1'"]}
441
                                ]]}
442
                              ]]}
443
                            ]]}
444
                          ]]}
445
                        ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
446
                          "lhs" : ["SIMPLE_NAME", "m_axis_output_tvalid_int"], "rhs" : [{
447
                            "value" : ["EXPRESSION", {
448
                              "args" : [["EXPRESSION", {
449
                                "args" : [["EXPRESSION", {
450
                                  "args" : [["EXPRESSION", {
451
                                    "args" : [["CONSTANT_VALUE", {
452
                                      "value" : ["CST_LITERAL", "'1'"]}
453
                                    ]]}
454
                                  ]]}
455
                                ]]}
456
                              ]]}
457
                            ]}
458
                          ]}
459
                        ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
460
                          "lhs" : ["SIMPLE_NAME", "m_axis_output_tdata"], "rhs" : [{
461
                            "value" : ["EXPRESSION", {
462
                              "args" : [["EXPRESSION", {
463
                                "args" : [["EXPRESSION", {
464
                                  "args" : [["EXPRESSION", {
465
                                    "args" : [["CALL", ["INDEXED_NAME", {
466
                                      "id" : ["SIMPLE_NAME", "current_node"], "exprs" : [["EXPRESSION", {
467
                                        "args" : [["EXPRESSION", {
468
                                          "args" : [["EXPRESSION", {
469
                                            "args" : [["EXPRESSION", {
470
                                              "id" : "-", "args" : [["EXPRESSION", {
471
                                                "args" : [["CALL", ["SIMPLE_NAME", "BW_TRELLIS_STATES"]]]}
472
                                              ], ["EXPRESSION", {
473
                                                "args" : [["CONSTANT_VALUE", {
474
                                                  "value" : ["CST_LITERAL", "1"]}
475
                                                ]]}
476
                                              ]]}
477
                                            ]]}
478
                                          ]]}
479
                                        ]]}
480
                                      ]]}
481
                                    ]]]}
482
                                  ]]}
483
                                ]]}
484
                              ]]}
485
                            ]}
486
                          ]}
487
                        ]]}
488
                      ]}
489
                    ], ["IF_STATEMENT", {
490
                      "if_cases" : [{
491
                        "if_cond" : ["EXPRESSION", {
492
                          "id" : "=", "args" : [["EXPRESSION", {
493
                            "args" : [["EXPRESSION", {
494
                              "args" : [["EXPRESSION", {
495
                                "args" : [["CALL", ["SIMPLE_NAME", "s_axis_input_last_tuser"]]]}
496
                              ]]}
497
                            ]]}
498
                          ], ["EXPRESSION", {
499
                            "args" : [["EXPRESSION", {
500
                              "args" : [["EXPRESSION", {
501
                                "args" : [["CONSTANT_VALUE", {
502
                                  "value" : ["CST_LITERAL", "'1'"]}
503
                                ]]}
504
                              ]]}
505
                            ]]}
506
                          ]]}
507
                        ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
508
                          "lhs" : ["SIMPLE_NAME", "current_node"], "rhs" : [{
509
                            "value" : ["EXPRESSION", {
510
                              "args" : [["EXPRESSION", {
511
                                "args" : [["EXPRESSION", {
512
                                  "args" : [["EXPRESSION", {
513
                                    "args" : [["CALL", ["INDEXED_NAME", {
514
                                      "id" : ["SIMPLE_NAME", "to_unsigned"], "exprs" : [["EXPRESSION", {
515
                                        "args" : [["EXPRESSION", {
516
                                          "args" : [["EXPRESSION", {
517
                                            "args" : [["EXPRESSION", {
518
                                              "args" : [["CONSTANT_VALUE", {
519
                                                "value" : ["CST_LITERAL", "0"]}
520
                                              ]]}
521
                                            ]]}
522
                                          ]]}
523
                                        ]]}
524
                                      ], ["EXPRESSION", {
525
                                        "args" : [["EXPRESSION", {
526
                                          "args" : [["EXPRESSION", {
527
                                            "args" : [["EXPRESSION", {
528
                                              "args" : [["CALL", ["SIMPLE_NAME", "BW_TRELLIS_STATES"]]]}
529
                                            ]]}
530
                                          ]]}
531
                                        ]]}
532
                                      ]]}
533
                                    ]]]}
534
                                  ]]}
535
                                ]]}
536
                              ]]}
537
                            ]}
538
                          ]}
539
                        ]]}
540
                      ], "default" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
541
                        "lhs" : ["SIMPLE_NAME", "current_node"], "rhs" : [{
542
                          "value" : ["EXPRESSION", {
543
                            "args" : [["EXPRESSION", {
544
                              "args" : [["EXPRESSION", {
545
                                "args" : [["EXPRESSION", {
546
                                  "id" : "&", "args" : [["EXPRESSION", {
547
                                    "args" : [["CALL", ["SLICE_NAME", {
548
                                      "id" : ["SIMPLE_NAME", "current_node"], "range" : ["RANGE_WITH_DIRECTION", {
549
                                        "direction" : "downto", "from" : ["EXPRESSION", {
550
                                          "args" : [["EXPRESSION", {
551
                                            "id" : "-", "args" : [["EXPRESSION", {
552
                                              "args" : [["CALL", ["SIMPLE_NAME", "BW_TRELLIS_STATES"]]]}
553
                                            ], ["EXPRESSION", {
554
                                              "args" : [["CONSTANT_VALUE", {
555
                                                "value" : ["CST_LITERAL", "2"]}
556
                                              ]]}
557
                                            ]]}
558
                                          ]]}
559
                                        ], "_to" : ["EXPRESSION", {
560
                                          "args" : [["EXPRESSION", {
561
                                            "args" : [["CONSTANT_VALUE", {
562
                                              "value" : ["CST_LITERAL", "0"]}
563
                                            ]]}
564
                                          ]]}
565
                                        ]}
566
                                      ]}
567
                                    ]]]}
568
                                  ], ["EXPRESSION", {
569
                                    "args" : [["CALL", ["INDEXED_NAME", {
570
                                      "id" : ["SIMPLE_NAME", "s_axis_input_tdata"], "exprs" : [["EXPRESSION", {
571
                                        "args" : [["EXPRESSION", {
572
                                          "args" : [["EXPRESSION", {
573
                                            "args" : [["EXPRESSION", {
574
                                              "args" : [["CALL", ["INDEXED_NAME", {
575
                                                "id" : ["SIMPLE_NAME", "to_integer"], "exprs" : [["EXPRESSION", {
576
                                                  "args" : [["EXPRESSION", {
577
                                                    "args" : [["EXPRESSION", {
578
                                                      "args" : [["EXPRESSION", {
579
                                                        "args" : [["CALL", ["SLICE_NAME", {
580
                                                          "id" : ["SIMPLE_NAME", "current_node"], "range" : ["RANGE_WITH_DIRECTION", {
581
                                                            "direction" : "downto", "from" : ["EXPRESSION", {
582
                                                              "args" : [["EXPRESSION", {
583
                                                                "id" : "-", "args" : [["EXPRESSION", {
584
                                                                  "args" : [["CALL", ["SIMPLE_NAME", "BW_TRELLIS_STATES"]]]}
585
                                                                ], ["EXPRESSION", {
586
                                                                  "args" : [["CONSTANT_VALUE", {
587
                                                                    "value" : ["CST_LITERAL", "1"]}
588
                                                                  ]]}
589
                                                                ]]}
590
                                                              ]]}
591
                                                            ], "_to" : ["EXPRESSION", {
592
                                                              "args" : [["EXPRESSION", {
593
                                                                "args" : [["CONSTANT_VALUE", {
594
                                                                  "value" : ["CST_LITERAL", "0"]}
595
                                                                ]]}
596
                                                              ]]}
597
                                                            ]}
598
                                                          ]}
599
                                                        ]]]}
600
                                                      ]]}
601
                                                    ]]}
602
                                                  ]]}
603
                                                ]]}
604
                                              ]]]}
605
                                            ]]}
606
                                          ]]}
607
                                        ]]}
608
                                      ]]}
609
                                    ]]]}
610
                                  ]]}
611
                                ]]}
612
                              ]]}
613
                            ]]}
614
                          ]}
615
                        ]}
616
                      ]]}
617
                    ]]}
618
                  ]}
619
                ]]}
620
              ]]}
621
            ]}
622
          ]]}
623
        ]]}
624
      ]}
625
    ]}
626
  }