Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

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