Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (39.6 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"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "dec_viterbi"], ["SIMPLE_NAME", "pkg_types"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "dec_viterbi"], ["SIMPLE_NAME", "pkg_helper"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "acs"], "generics" : [{
6
          "names" : [["IDENTIFIER", "INITIALIZE_VALUE"]], "mode" : ["in"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "signed"], "const" : ["INDEX_CONSTRAINT", {
8
              "ranges" : [["RANGE_WITH_DIRECTION", {
9
                "direction" : "downto", "from" : ["EXPRESSION", {
10
                  "args" : [["EXPRESSION", {
11
                    "id" : "-", "args" : [["EXPRESSION", {
12
                      "args" : [["CALL", ["SIMPLE_NAME", "BW_MAX_PROBABILITY"]]]}
13
                    ], ["EXPRESSION", {
14
                      "args" : [["CONSTANT_VALUE", {
15
                        "value" : ["CST_LITERAL", "1"]}
16
                      ]]}
17
                    ]]}
18
                  ]]}
19
                ], "_to" : ["EXPRESSION", {
20
                  "args" : [["EXPRESSION", {
21
                    "args" : [["CONSTANT_VALUE", {
22
                      "value" : ["CST_LITERAL", "0"]}
23
                    ]]}
24
                  ]]}
25
                ]}
26
              ]]}
27
            ]}
28
          }
29
        ], "ports" : [{
30
          "names" : [["IDENTIFIER", "clk"]], "mode" : ["in"], "typ" : {
31
            "name" : ["SIMPLE_NAME", "std_logic"]}
32
          }
33
        , {
34
          "names" : [["IDENTIFIER", "rst"]], "mode" : ["in"], "typ" : {
35
            "name" : ["SIMPLE_NAME", "std_logic"]}
36
          }
37
        , {
38
          "names" : [["IDENTIFIER", "s_axis_inbranch_tvalid"]], "mode" : ["in"], "typ" : {
39
            "name" : ["SIMPLE_NAME", "std_logic"]}
40
          }
41
        , {
42
          "names" : [["IDENTIFIER", "s_axis_inbranch_tdata_low"]], "mode" : ["in"], "typ" : {
43
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
44
              "ranges" : [["RANGE_WITH_DIRECTION", {
45
                "direction" : "downto", "from" : ["EXPRESSION", {
46
                  "args" : [["EXPRESSION", {
47
                    "id" : "-", "args" : [["EXPRESSION", {
48
                      "args" : [["CALL", ["SIMPLE_NAME", "BW_BRANCH_RESULT"]]]}
49
                    ], ["EXPRESSION", {
50
                      "args" : [["CONSTANT_VALUE", {
51
                        "value" : ["CST_LITERAL", "1"]}
52
                      ]]}
53
                    ]]}
54
                  ]]}
55
                ], "_to" : ["EXPRESSION", {
56
                  "args" : [["EXPRESSION", {
57
                    "args" : [["CONSTANT_VALUE", {
58
                      "value" : ["CST_LITERAL", "0"]}
59
                    ]]}
60
                  ]]}
61
                ]}
62
              ]]}
63
            ]}
64
          }
65
        , {
66
          "names" : [["IDENTIFIER", "s_axis_inbranch_tdata_high"]], "mode" : ["in"], "typ" : {
67
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
68
              "ranges" : [["RANGE_WITH_DIRECTION", {
69
                "direction" : "downto", "from" : ["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "id" : "-", "args" : [["EXPRESSION", {
72
                      "args" : [["CALL", ["SIMPLE_NAME", "BW_BRANCH_RESULT"]]]}
73
                    ], ["EXPRESSION", {
74
                      "args" : [["CONSTANT_VALUE", {
75
                        "value" : ["CST_LITERAL", "1"]}
76
                      ]]}
77
                    ]]}
78
                  ]]}
79
                ], "_to" : ["EXPRESSION", {
80
                  "args" : [["EXPRESSION", {
81
                    "args" : [["CONSTANT_VALUE", {
82
                      "value" : ["CST_LITERAL", "0"]}
83
                    ]]}
84
                  ]]}
85
                ]}
86
              ]]}
87
            ]}
88
          }
89
        , {
90
          "names" : [["IDENTIFIER", "s_axis_inbranch_tlast"]], "mode" : ["in"], "typ" : {
91
            "name" : ["SIMPLE_NAME", "std_logic"]}
92
          }
93
        , {
94
          "names" : [["IDENTIFIER", "s_axis_inbranch_tready"]], "mode" : ["out"], "typ" : {
95
            "name" : ["SIMPLE_NAME", "std_logic"]}
96
          }
97
        , {
98
          "names" : [["IDENTIFIER", "s_axis_inprev_tvalid"]], "mode" : ["in"], "typ" : {
99
            "name" : ["SIMPLE_NAME", "std_logic"]}
100
          }
101
        , {
102
          "names" : [["IDENTIFIER", "s_axis_inprev_tdata_low"]], "mode" : ["in"], "typ" : {
103
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
104
              "ranges" : [["RANGE_WITH_DIRECTION", {
105
                "direction" : "downto", "from" : ["EXPRESSION", {
106
                  "args" : [["EXPRESSION", {
107
                    "id" : "-", "args" : [["EXPRESSION", {
108
                      "args" : [["CALL", ["SIMPLE_NAME", "BW_MAX_PROBABILITY"]]]}
109
                    ], ["EXPRESSION", {
110
                      "args" : [["CONSTANT_VALUE", {
111
                        "value" : ["CST_LITERAL", "1"]}
112
                      ]]}
113
                    ]]}
114
                  ]]}
115
                ], "_to" : ["EXPRESSION", {
116
                  "args" : [["EXPRESSION", {
117
                    "args" : [["CONSTANT_VALUE", {
118
                      "value" : ["CST_LITERAL", "0"]}
119
                    ]]}
120
                  ]]}
121
                ]}
122
              ]]}
123
            ]}
124
          }
125
        , {
126
          "names" : [["IDENTIFIER", "s_axis_inprev_tdata_high"]], "mode" : ["in"], "typ" : {
127
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
128
              "ranges" : [["RANGE_WITH_DIRECTION", {
129
                "direction" : "downto", "from" : ["EXPRESSION", {
130
                  "args" : [["EXPRESSION", {
131
                    "id" : "-", "args" : [["EXPRESSION", {
132
                      "args" : [["CALL", ["SIMPLE_NAME", "BW_MAX_PROBABILITY"]]]}
133
                    ], ["EXPRESSION", {
134
                      "args" : [["CONSTANT_VALUE", {
135
                        "value" : ["CST_LITERAL", "1"]}
136
                      ]]}
137
                    ]]}
138
                  ]]}
139
                ], "_to" : ["EXPRESSION", {
140
                  "args" : [["EXPRESSION", {
141
                    "args" : [["CONSTANT_VALUE", {
142
                      "value" : ["CST_LITERAL", "0"]}
143
                    ]]}
144
                  ]]}
145
                ]}
146
              ]]}
147
            ]}
148
          }
149
        , {
150
          "names" : [["IDENTIFIER", "s_axis_inprev_tready"]], "mode" : ["out"], "typ" : {
151
            "name" : ["SIMPLE_NAME", "std_logic"]}
152
          }
153
        , {
154
          "names" : [["IDENTIFIER", "m_axis_outprob_tvalid"]], "mode" : ["out"], "typ" : {
155
            "name" : ["SIMPLE_NAME", "std_logic"]}
156
          }
157
        , {
158
          "names" : [["IDENTIFIER", "m_axis_outprob_tdata"]], "mode" : ["out"], "typ" : {
159
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
160
              "ranges" : [["RANGE_WITH_DIRECTION", {
161
                "direction" : "downto", "from" : ["EXPRESSION", {
162
                  "args" : [["EXPRESSION", {
163
                    "id" : "-", "args" : [["EXPRESSION", {
164
                      "args" : [["CALL", ["SIMPLE_NAME", "BW_MAX_PROBABILITY"]]]}
165
                    ], ["EXPRESSION", {
166
                      "args" : [["CONSTANT_VALUE", {
167
                        "value" : ["CST_LITERAL", "1"]}
168
                      ]]}
169
                    ]]}
170
                  ]]}
171
                ], "_to" : ["EXPRESSION", {
172
                  "args" : [["EXPRESSION", {
173
                    "args" : [["CONSTANT_VALUE", {
174
                      "value" : ["CST_LITERAL", "0"]}
175
                    ]]}
176
                  ]]}
177
                ]}
178
              ]]}
179
            ]}
180
          }
181
        , {
182
          "names" : [["IDENTIFIER", "m_axis_outprob_tready"]], "mode" : ["in"], "typ" : {
183
            "name" : ["SIMPLE_NAME", "std_logic"]}
184
          }
185
        , {
186
          "names" : [["IDENTIFIER", "m_axis_outdec_tvalid"]], "mode" : ["out"], "typ" : {
187
            "name" : ["SIMPLE_NAME", "std_logic"]}
188
          }
189
        , {
190
          "names" : [["IDENTIFIER", "m_axis_outdec_tdata"]], "mode" : ["out"], "typ" : {
191
            "name" : ["SIMPLE_NAME", "std_logic"]}
192
          }
193
        , {
194
          "names" : [["IDENTIFIER", "m_axis_outdec_tlast"]], "mode" : ["out"], "typ" : {
195
            "name" : ["SIMPLE_NAME", "std_logic"]}
196
          }
197
        , {
198
          "names" : [["IDENTIFIER", "m_axis_outdec_tready"]], "mode" : ["in"], "typ" : {
199
            "name" : ["SIMPLE_NAME", "std_logic"]}
200
          }
201
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
202
      ]}
203
    , {
204
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
205
        "name" : ["IDENTIFIER", "rtl"], "entity" : ["IDENTIFIER", "acs"], "ARCHITECTURE_DECLARATIVE_PART" : [{
206
          "declaration" : ["SIGNAL_DECLARATION", {
207
            "names" : [["IDENTIFIER", "s_axis_inbranch_tlast_d"]], "typ" : {
208
              "name" : ["SIMPLE_NAME", "std_logic"]}
209
            }
210
          ]}
211
        , {
212
          "declaration" : ["SIGNAL_DECLARATION", {
213
            "names" : [["IDENTIFIER", "m_axis_outdec_tvalid_int"]], "typ" : {
214
              "name" : ["SIMPLE_NAME", "std_logic"]}
215
            }
216
          ]}
217
        , {
218
          "declaration" : ["SIGNAL_DECLARATION", {
219
            "names" : [["IDENTIFIER", "s_axis_inbranch_tready_int"]], "typ" : {
220
              "name" : ["SIMPLE_NAME", "std_logic"]}
221
            }
222
          ]}
223
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
224
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "s_axis_inbranch_tready_int"], "rhs" : [{
225
            "expr" : [{
226
              "value" : ["EXPRESSION", {
227
                "args" : [["EXPRESSION", {
228
                  "args" : [["EXPRESSION", {
229
                    "args" : [["EXPRESSION", {
230
                      "args" : [["CONSTANT_VALUE", {
231
                        "value" : ["CST_LITERAL", "'1'"]}
232
                      ]]}
233
                    ]]}
234
                  ]]}
235
                ]]}
236
              ]}
237
            ], "cond" : ["EXPRESSION", {
238
              "id" : "or", "args" : [["EXPRESSION", {
239
                "id" : "=", "args" : [["EXPRESSION", {
240
                  "args" : [["EXPRESSION", {
241
                    "args" : [["EXPRESSION", {
242
                      "args" : [["CALL", ["SIMPLE_NAME", "m_axis_outdec_tready"]]]}
243
                    ]]}
244
                  ]]}
245
                ], ["EXPRESSION", {
246
                  "args" : [["EXPRESSION", {
247
                    "args" : [["EXPRESSION", {
248
                      "args" : [["CONSTANT_VALUE", {
249
                        "value" : ["CST_LITERAL", "'1'"]}
250
                      ]]}
251
                    ]]}
252
                  ]]}
253
                ]]}
254
              ], ["EXPRESSION", {
255
                "id" : "=", "args" : [["EXPRESSION", {
256
                  "args" : [["EXPRESSION", {
257
                    "args" : [["EXPRESSION", {
258
                      "args" : [["CALL", ["SIMPLE_NAME", "m_axis_outdec_tvalid_int"]]]}
259
                    ]]}
260
                  ]]}
261
                ], ["EXPRESSION", {
262
                  "args" : [["EXPRESSION", {
263
                    "args" : [["EXPRESSION", {
264
                      "args" : [["CONSTANT_VALUE", {
265
                        "value" : ["CST_LITERAL", "'0'"]}
266
                      ]]}
267
                    ]]}
268
                  ]]}
269
                ]]}
270
              ]]}
271
            ]}
272
          , {
273
            "expr" : [{
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
          ]}
287
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
288
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "s_axis_inbranch_tready"], "rhs" : [{
289
            "expr" : [{
290
              "value" : ["EXPRESSION", {
291
                "args" : [["EXPRESSION", {
292
                  "args" : [["EXPRESSION", {
293
                    "args" : [["EXPRESSION", {
294
                      "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inbranch_tready_int"]]]}
295
                    ]]}
296
                  ]]}
297
                ]]}
298
              ]}
299
            ]}
300
          ]}
301
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
302
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tvalid"], "rhs" : [{
303
            "expr" : [{
304
              "value" : ["EXPRESSION", {
305
                "args" : [["EXPRESSION", {
306
                  "args" : [["EXPRESSION", {
307
                    "args" : [["EXPRESSION", {
308
                      "args" : [["CALL", ["SIMPLE_NAME", "m_axis_outdec_tvalid_int"]]]}
309
                    ]]}
310
                  ]]}
311
                ]]}
312
              ]}
313
            ]}
314
          ]}
315
        ], ["PROCESS_STATEMENT", {
316
          "id" : ["IDENTIFIER", "pr_add_compare"], "PROCESS_DECLARATIVE_PART" : [{
317
            "declaration" : ["VARIABLE_DECLARATION", {
318
              "names" : [["IDENTIFIER", "v_diff"], ["IDENTIFIER", "v_high"], ["IDENTIFIER", "v_low"]], "typ" : {
319
                "name" : ["SIMPLE_NAME", "signed"], "const" : ["INDEX_CONSTRAINT", {
320
                  "ranges" : [["RANGE_WITH_DIRECTION", {
321
                    "direction" : "downto", "from" : ["EXPRESSION", {
322
                      "args" : [["EXPRESSION", {
323
                        "id" : "-", "args" : [["EXPRESSION", {
324
                          "args" : [["CALL", ["SIMPLE_NAME", "BW_MAX_PROBABILITY"]]]}
325
                        ], ["EXPRESSION", {
326
                          "args" : [["CONSTANT_VALUE", {
327
                            "value" : ["CST_LITERAL", "1"]}
328
                          ]]}
329
                        ]]}
330
                      ]]}
331
                    ], "_to" : ["EXPRESSION", {
332
                      "args" : [["EXPRESSION", {
333
                        "args" : [["CONSTANT_VALUE", {
334
                          "value" : ["CST_LITERAL", "0"]}
335
                        ]]}
336
                      ]]}
337
                    ]}
338
                  ]]}
339
                ]}
340
              }
341
            ]}
342
          ], "active_sigs" : [["SIMPLE_NAME", "clk"]], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
343
            "if_cases" : [{
344
              "if_cond" : ["EXPRESSION", {
345
                "args" : [["EXPRESSION", {
346
                  "args" : [["EXPRESSION", {
347
                    "args" : [["EXPRESSION", {
348
                      "args" : [["CALL", ["INDEXED_NAME", {
349
                        "id" : ["SIMPLE_NAME", "rising_edge"], "exprs" : [["EXPRESSION", {
350
                          "args" : [["EXPRESSION", {
351
                            "args" : [["EXPRESSION", {
352
                              "args" : [["EXPRESSION", {
353
                                "args" : [["CALL", ["SIMPLE_NAME", "clk"]]]}
354
                              ]]}
355
                            ]]}
356
                          ]]}
357
                        ]]}
358
                      ]]]}
359
                    ]]}
360
                  ]]}
361
                ]]}
362
              ], "if_block" : [["IF_STATEMENT", {
363
                "if_cases" : [{
364
                  "if_cond" : ["EXPRESSION", {
365
                    "id" : "=", "args" : [["EXPRESSION", {
366
                      "args" : [["EXPRESSION", {
367
                        "args" : [["EXPRESSION", {
368
                          "args" : [["CALL", ["SIMPLE_NAME", "rst"]]]}
369
                        ]]}
370
                      ]]}
371
                    ], ["EXPRESSION", {
372
                      "args" : [["EXPRESSION", {
373
                        "args" : [["EXPRESSION", {
374
                          "args" : [["CONSTANT_VALUE", {
375
                            "value" : ["CST_LITERAL", "'1'"]}
376
                          ]]}
377
                        ]]}
378
                      ]]}
379
                    ]]}
380
                  ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
381
                    "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tvalid_int"], "rhs" : [{
382
                      "value" : ["EXPRESSION", {
383
                        "args" : [["EXPRESSION", {
384
                          "args" : [["EXPRESSION", {
385
                            "args" : [["EXPRESSION", {
386
                              "args" : [["CONSTANT_VALUE", {
387
                                "value" : ["CST_LITERAL", "'0'"]}
388
                              ]]}
389
                            ]]}
390
                          ]]}
391
                        ]]}
392
                      ]}
393
                    ]}
394
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
395
                    "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tdata"], "rhs" : [{
396
                      "value" : ["EXPRESSION", {
397
                        "args" : [["EXPRESSION", {
398
                          "args" : [["EXPRESSION", {
399
                            "args" : [["EXPRESSION", {
400
                              "args" : [["CONSTANT_VALUE", {
401
                                "value" : ["CST_LITERAL", "'0'"]}
402
                              ]]}
403
                            ]]}
404
                          ]]}
405
                        ]]}
406
                      ]}
407
                    ]}
408
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
409
                    "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tlast"], "rhs" : [{
410
                      "value" : ["EXPRESSION", {
411
                        "args" : [["EXPRESSION", {
412
                          "args" : [["EXPRESSION", {
413
                            "args" : [["EXPRESSION", {
414
                              "args" : [["CONSTANT_VALUE", {
415
                                "value" : ["CST_LITERAL", "'0'"]}
416
                              ]]}
417
                            ]]}
418
                          ]]}
419
                        ]]}
420
                      ]}
421
                    ]}
422
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
423
                    "lhs" : ["SIMPLE_NAME", "m_axis_outprob_tvalid"], "rhs" : [{
424
                      "value" : ["EXPRESSION", {
425
                        "args" : [["EXPRESSION", {
426
                          "args" : [["EXPRESSION", {
427
                            "args" : [["EXPRESSION", {
428
                              "args" : [["CONSTANT_VALUE", {
429
                                "value" : ["CST_LITERAL", "'0'"]}
430
                              ]]}
431
                            ]]}
432
                          ]]}
433
                        ]]}
434
                      ]}
435
                    ]}
436
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
437
                    "lhs" : ["SIMPLE_NAME", "s_axis_inprev_tready"], "rhs" : [{
438
                      "value" : ["EXPRESSION", {
439
                        "args" : [["EXPRESSION", {
440
                          "args" : [["EXPRESSION", {
441
                            "args" : [["EXPRESSION", {
442
                              "args" : [["CONSTANT_VALUE", {
443
                                "value" : ["CST_LITERAL", "'0'"]}
444
                              ]]}
445
                            ]]}
446
                          ]]}
447
                        ]]}
448
                      ]}
449
                    ]}
450
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
451
                    "lhs" : ["SIMPLE_NAME", "s_axis_inbranch_tlast_d"], "rhs" : [{
452
                      "value" : ["EXPRESSION", {
453
                        "args" : [["EXPRESSION", {
454
                          "args" : [["EXPRESSION", {
455
                            "args" : [["EXPRESSION", {
456
                              "args" : [["CONSTANT_VALUE", {
457
                                "value" : ["CST_LITERAL", "'0'"]}
458
                              ]]}
459
                            ]]}
460
                          ]]}
461
                        ]]}
462
                      ]}
463
                    ]}
464
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
465
                    "lhs" : ["SIMPLE_NAME", "m_axis_outprob_tdata"], "rhs" : [{
466
                      "value" : ["EXPRESSION", {
467
                        "args" : [["EXPRESSION", {
468
                          "args" : [["EXPRESSION", {
469
                            "args" : [["EXPRESSION", {
470
                              "args" : [["CALL", ["INDEXED_NAME", {
471
                                "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
472
                                  "args" : [["EXPRESSION", {
473
                                    "args" : [["EXPRESSION", {
474
                                      "args" : [["EXPRESSION", {
475
                                        "args" : [["CALL", ["SIMPLE_NAME", "INITIALIZE_VALUE"]]]}
476
                                      ]]}
477
                                    ]]}
478
                                  ]]}
479
                                ]]}
480
                              ]]]}
481
                            ]]}
482
                          ]]}
483
                        ]]}
484
                      ]}
485
                    ]}
486
                  ]]}
487
                ], "default" : [["IF_STATEMENT", {
488
                  "if_cases" : [{
489
                    "if_cond" : ["EXPRESSION", {
490
                      "id" : "=", "args" : [["EXPRESSION", {
491
                        "args" : [["EXPRESSION", {
492
                          "args" : [["EXPRESSION", {
493
                            "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inbranch_tlast_d"]]]}
494
                          ]]}
495
                        ]]}
496
                      ], ["EXPRESSION", {
497
                        "args" : [["EXPRESSION", {
498
                          "args" : [["EXPRESSION", {
499
                            "args" : [["CONSTANT_VALUE", {
500
                              "value" : ["CST_LITERAL", "'1'"]}
501
                            ]]}
502
                          ]]}
503
                        ]]}
504
                      ]]}
505
                    ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
506
                      "lhs" : ["SIMPLE_NAME", "m_axis_outprob_tdata"], "rhs" : [{
507
                        "value" : ["EXPRESSION", {
508
                          "args" : [["EXPRESSION", {
509
                            "args" : [["EXPRESSION", {
510
                              "args" : [["EXPRESSION", {
511
                                "args" : [["CALL", ["INDEXED_NAME", {
512
                                  "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
513
                                    "args" : [["EXPRESSION", {
514
                                      "args" : [["EXPRESSION", {
515
                                        "args" : [["EXPRESSION", {
516
                                          "args" : [["CALL", ["SIMPLE_NAME", "INITIALIZE_VALUE"]]]}
517
                                        ]]}
518
                                      ]]}
519
                                    ]]}
520
                                  ]]}
521
                                ]]]}
522
                              ]]}
523
                            ]]}
524
                          ]]}
525
                        ]}
526
                      ]}
527
                    ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
528
                      "lhs" : ["SIMPLE_NAME", "s_axis_inbranch_tlast_d"], "rhs" : [{
529
                        "value" : ["EXPRESSION", {
530
                          "args" : [["EXPRESSION", {
531
                            "args" : [["EXPRESSION", {
532
                              "args" : [["EXPRESSION", {
533
                                "args" : [["CONSTANT_VALUE", {
534
                                  "value" : ["CST_LITERAL", "'0'"]}
535
                                ]]}
536
                              ]]}
537
                            ]]}
538
                          ]]}
539
                        ]}
540
                      ]}
541
                    ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
542
                      "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tvalid_int"], "rhs" : [{
543
                        "value" : ["EXPRESSION", {
544
                          "args" : [["EXPRESSION", {
545
                            "args" : [["EXPRESSION", {
546
                              "args" : [["EXPRESSION", {
547
                                "args" : [["CONSTANT_VALUE", {
548
                                  "value" : ["CST_LITERAL", "'0'"]}
549
                                ]]}
550
                              ]]}
551
                            ]]}
552
                          ]]}
553
                        ]}
554
                      ]}
555
                    ]]}
556
                  ]}
557
                ], ["IF_STATEMENT", {
558
                  "if_cases" : [{
559
                    "if_cond" : ["EXPRESSION", {
560
                      "id" : "and", "args" : [["EXPRESSION", {
561
                        "id" : "=", "args" : [["EXPRESSION", {
562
                          "args" : [["EXPRESSION", {
563
                            "args" : [["EXPRESSION", {
564
                              "args" : [["CALL", ["SIMPLE_NAME", "m_axis_outdec_tvalid_int"]]]}
565
                            ]]}
566
                          ]]}
567
                        ], ["EXPRESSION", {
568
                          "args" : [["EXPRESSION", {
569
                            "args" : [["EXPRESSION", {
570
                              "args" : [["CONSTANT_VALUE", {
571
                                "value" : ["CST_LITERAL", "'1'"]}
572
                              ]]}
573
                            ]]}
574
                          ]]}
575
                        ]]}
576
                      ], ["EXPRESSION", {
577
                        "id" : "=", "args" : [["EXPRESSION", {
578
                          "args" : [["EXPRESSION", {
579
                            "args" : [["EXPRESSION", {
580
                              "args" : [["CALL", ["SIMPLE_NAME", "m_axis_outdec_tready"]]]}
581
                            ]]}
582
                          ]]}
583
                        ], ["EXPRESSION", {
584
                          "args" : [["EXPRESSION", {
585
                            "args" : [["EXPRESSION", {
586
                              "args" : [["CONSTANT_VALUE", {
587
                                "value" : ["CST_LITERAL", "'1'"]}
588
                              ]]}
589
                            ]]}
590
                          ]]}
591
                        ]]}
592
                      ]]}
593
                    ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
594
                      "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tvalid_int"], "rhs" : [{
595
                        "value" : ["EXPRESSION", {
596
                          "args" : [["EXPRESSION", {
597
                            "args" : [["EXPRESSION", {
598
                              "args" : [["EXPRESSION", {
599
                                "args" : [["CONSTANT_VALUE", {
600
                                  "value" : ["CST_LITERAL", "'0'"]}
601
                                ]]}
602
                              ]]}
603
                            ]]}
604
                          ]]}
605
                        ]}
606
                      ]}
607
                    ]]}
608
                  ]}
609
                ], ["IF_STATEMENT", {
610
                  "if_cases" : [{
611
                    "if_cond" : ["EXPRESSION", {
612
                      "id" : "and", "args" : [["EXPRESSION", {
613
                        "id" : "=", "args" : [["EXPRESSION", {
614
                          "args" : [["EXPRESSION", {
615
                            "args" : [["EXPRESSION", {
616
                              "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inbranch_tvalid"]]]}
617
                            ]]}
618
                          ]]}
619
                        ], ["EXPRESSION", {
620
                          "args" : [["EXPRESSION", {
621
                            "args" : [["EXPRESSION", {
622
                              "args" : [["CONSTANT_VALUE", {
623
                                "value" : ["CST_LITERAL", "'1'"]}
624
                              ]]}
625
                            ]]}
626
                          ]]}
627
                        ]]}
628
                      ], ["EXPRESSION", {
629
                        "id" : "=", "args" : [["EXPRESSION", {
630
                          "args" : [["EXPRESSION", {
631
                            "args" : [["EXPRESSION", {
632
                              "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inbranch_tready_int"]]]}
633
                            ]]}
634
                          ]]}
635
                        ], ["EXPRESSION", {
636
                          "args" : [["EXPRESSION", {
637
                            "args" : [["EXPRESSION", {
638
                              "args" : [["CONSTANT_VALUE", {
639
                                "value" : ["CST_LITERAL", "'1'"]}
640
                              ]]}
641
                            ]]}
642
                          ]]}
643
                        ]]}
644
                      ]]}
645
                    ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
646
                      "lhs" : ["SIMPLE_NAME", "s_axis_inbranch_tlast_d"], "rhs" : [{
647
                        "value" : ["EXPRESSION", {
648
                          "args" : [["EXPRESSION", {
649
                            "args" : [["EXPRESSION", {
650
                              "args" : [["EXPRESSION", {
651
                                "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inbranch_tlast"]]]}
652
                              ]]}
653
                            ]]}
654
                          ]]}
655
                        ]}
656
                      ]}
657
                    ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
658
                      "lhs" : ["SIMPLE_NAME", "v_low"], "rhs" : ["EXPRESSION", {
659
                        "args" : [["EXPRESSION", {
660
                          "args" : [["EXPRESSION", {
661
                            "args" : [["EXPRESSION", {
662
                              "id" : "+", "args" : [["EXPRESSION", {
663
                                "args" : [["CALL", ["INDEXED_NAME", {
664
                                  "id" : ["SIMPLE_NAME", "signed"], "exprs" : [["EXPRESSION", {
665
                                    "args" : [["EXPRESSION", {
666
                                      "args" : [["EXPRESSION", {
667
                                        "args" : [["EXPRESSION", {
668
                                          "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inbranch_tdata_low"]]]}
669
                                        ]]}
670
                                      ]]}
671
                                    ]]}
672
                                  ]]}
673
                                ]]]}
674
                              ], ["EXPRESSION", {
675
                                "args" : [["CALL", ["INDEXED_NAME", {
676
                                  "id" : ["SIMPLE_NAME", "signed"], "exprs" : [["EXPRESSION", {
677
                                    "args" : [["EXPRESSION", {
678
                                      "args" : [["EXPRESSION", {
679
                                        "args" : [["EXPRESSION", {
680
                                          "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inprev_tdata_low"]]]}
681
                                        ]]}
682
                                      ]]}
683
                                    ]]}
684
                                  ]]}
685
                                ]]]}
686
                              ]]}
687
                            ]]}
688
                          ]]}
689
                        ]]}
690
                      ]}
691
                    ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
692
                      "lhs" : ["SIMPLE_NAME", "v_high"], "rhs" : ["EXPRESSION", {
693
                        "args" : [["EXPRESSION", {
694
                          "args" : [["EXPRESSION", {
695
                            "args" : [["EXPRESSION", {
696
                              "id" : "+", "args" : [["EXPRESSION", {
697
                                "args" : [["CALL", ["INDEXED_NAME", {
698
                                  "id" : ["SIMPLE_NAME", "signed"], "exprs" : [["EXPRESSION", {
699
                                    "args" : [["EXPRESSION", {
700
                                      "args" : [["EXPRESSION", {
701
                                        "args" : [["EXPRESSION", {
702
                                          "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inbranch_tdata_high"]]]}
703
                                        ]]}
704
                                      ]]}
705
                                    ]]}
706
                                  ]]}
707
                                ]]]}
708
                              ], ["EXPRESSION", {
709
                                "args" : [["CALL", ["INDEXED_NAME", {
710
                                  "id" : ["SIMPLE_NAME", "signed"], "exprs" : [["EXPRESSION", {
711
                                    "args" : [["EXPRESSION", {
712
                                      "args" : [["EXPRESSION", {
713
                                        "args" : [["EXPRESSION", {
714
                                          "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inprev_tdata_high"]]]}
715
                                        ]]}
716
                                      ]]}
717
                                    ]]}
718
                                  ]]}
719
                                ]]]}
720
                              ]]}
721
                            ]]}
722
                          ]]}
723
                        ]]}
724
                      ]}
725
                    ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
726
                      "lhs" : ["SIMPLE_NAME", "v_diff"], "rhs" : ["EXPRESSION", {
727
                        "args" : [["EXPRESSION", {
728
                          "args" : [["EXPRESSION", {
729
                            "args" : [["EXPRESSION", {
730
                              "id" : "-", "args" : [["EXPRESSION", {
731
                                "args" : [["CALL", ["SIMPLE_NAME", "v_low"]]]}
732
                              ], ["EXPRESSION", {
733
                                "args" : [["CALL", ["SIMPLE_NAME", "v_high"]]]}
734
                              ]]}
735
                            ]]}
736
                          ]]}
737
                        ]]}
738
                      ]}
739
                    ], ["IF_STATEMENT", {
740
                      "if_cases" : [{
741
                        "if_cond" : ["EXPRESSION", {
742
                          "id" : "<", "args" : [["EXPRESSION", {
743
                            "args" : [["EXPRESSION", {
744
                              "args" : [["EXPRESSION", {
745
                                "args" : [["CALL", ["SIMPLE_NAME", "v_diff"]]]}
746
                              ]]}
747
                            ]]}
748
                          ], ["EXPRESSION", {
749
                            "args" : [["EXPRESSION", {
750
                              "args" : [["EXPRESSION", {
751
                                "args" : [["CONSTANT_VALUE", {
752
                                  "value" : ["CST_LITERAL", "0"]}
753
                                ]]}
754
                              ]]}
755
                            ]]}
756
                          ]]}
757
                        ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
758
                          "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tdata"], "rhs" : [{
759
                            "value" : ["EXPRESSION", {
760
                              "args" : [["EXPRESSION", {
761
                                "args" : [["EXPRESSION", {
762
                                  "args" : [["EXPRESSION", {
763
                                    "args" : [["CONSTANT_VALUE", {
764
                                      "value" : ["CST_LITERAL", "'1'"]}
765
                                    ]]}
766
                                  ]]}
767
                                ]]}
768
                              ]]}
769
                            ]}
770
                          ]}
771
                        ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
772
                          "lhs" : ["SIMPLE_NAME", "m_axis_outprob_tdata"], "rhs" : [{
773
                            "value" : ["EXPRESSION", {
774
                              "args" : [["EXPRESSION", {
775
                                "args" : [["EXPRESSION", {
776
                                  "args" : [["EXPRESSION", {
777
                                    "args" : [["CALL", ["INDEXED_NAME", {
778
                                      "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
779
                                        "args" : [["EXPRESSION", {
780
                                          "args" : [["EXPRESSION", {
781
                                            "args" : [["EXPRESSION", {
782
                                              "args" : [["CALL", ["SIMPLE_NAME", "v_high"]]]}
783
                                            ]]}
784
                                          ]]}
785
                                        ]]}
786
                                      ]]}
787
                                    ]]]}
788
                                  ]]}
789
                                ]]}
790
                              ]]}
791
                            ]}
792
                          ]}
793
                        ]]}
794
                      ], "default" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
795
                        "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tdata"], "rhs" : [{
796
                          "value" : ["EXPRESSION", {
797
                            "args" : [["EXPRESSION", {
798
                              "args" : [["EXPRESSION", {
799
                                "args" : [["EXPRESSION", {
800
                                  "args" : [["CONSTANT_VALUE", {
801
                                    "value" : ["CST_LITERAL", "'0'"]}
802
                                  ]]}
803
                                ]]}
804
                              ]]}
805
                            ]]}
806
                          ]}
807
                        ]}
808
                      ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
809
                        "lhs" : ["SIMPLE_NAME", "m_axis_outprob_tdata"], "rhs" : [{
810
                          "value" : ["EXPRESSION", {
811
                            "args" : [["EXPRESSION", {
812
                              "args" : [["EXPRESSION", {
813
                                "args" : [["EXPRESSION", {
814
                                  "args" : [["CALL", ["INDEXED_NAME", {
815
                                    "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
816
                                      "args" : [["EXPRESSION", {
817
                                        "args" : [["EXPRESSION", {
818
                                          "args" : [["EXPRESSION", {
819
                                            "args" : [["CALL", ["SIMPLE_NAME", "v_low"]]]}
820
                                          ]]}
821
                                        ]]}
822
                                      ]]}
823
                                    ]]}
824
                                  ]]]}
825
                                ]]}
826
                              ]]}
827
                            ]]}
828
                          ]}
829
                        ]}
830
                      ]]}
831
                    ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
832
                      "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tvalid_int"], "rhs" : [{
833
                        "value" : ["EXPRESSION", {
834
                          "args" : [["EXPRESSION", {
835
                            "args" : [["EXPRESSION", {
836
                              "args" : [["EXPRESSION", {
837
                                "args" : [["CONSTANT_VALUE", {
838
                                  "value" : ["CST_LITERAL", "'1'"]}
839
                                ]]}
840
                              ]]}
841
                            ]]}
842
                          ]]}
843
                        ]}
844
                      ]}
845
                    ]]}
846
                  ]}
847
                ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
848
                  "lhs" : ["SIMPLE_NAME", "m_axis_outdec_tlast"], "rhs" : [{
849
                    "value" : ["EXPRESSION", {
850
                      "args" : [["EXPRESSION", {
851
                        "args" : [["EXPRESSION", {
852
                          "args" : [["EXPRESSION", {
853
                            "args" : [["CALL", ["SIMPLE_NAME", "s_axis_inbranch_tlast"]]]}
854
                          ]]}
855
                        ]]}
856
                      ]]}
857
                    ]}
858
                  ]}
859
                ]]}
860
              ]]}
861
            ]}
862
          ]]}
863
        ]]}
864
      ]}
865
    ]}
866
  }