Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / bug040 / sub_205.json @ 2051e520

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