Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / bug040 / sub_218.json @ 3fd18385

History | View | Annotate | Download (36.9 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_218"], "ports" : [{
6
          "names" : [["IDENTIFIER", "le"]], "mode" : ["out"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "output"]], "mode" : ["out"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
12
              "ranges" : [["RANGE_WITH_DIRECTION", {
13
                "direction" : "downto", "from" : ["EXPRESSION", {
14
                  "args" : [["EXPRESSION", {
15
                    "args" : [["CONSTANT_VALUE", {
16
                      "value" : ["CST_LITERAL", "40"]}
17
                    ]]}
18
                  ]]}
19
                ], "_to" : ["EXPRESSION", {
20
                  "args" : [["EXPRESSION", {
21
                    "args" : [["CONSTANT_VALUE", {
22
                      "value" : ["CST_LITERAL", "0"]}
23
                    ]]}
24
                  ]]}
25
                ]}
26
              ]]}
27
            ]}
28
          }
29
        , {
30
          "names" : [["IDENTIFIER", "sign"]], "mode" : ["in"], "typ" : {
31
            "name" : ["SIMPLE_NAME", "std_logic"]}
32
          }
33
        , {
34
          "names" : [["IDENTIFIER", "in_b"]], "mode" : ["in"], "typ" : {
35
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
36
              "ranges" : [["RANGE_WITH_DIRECTION", {
37
                "direction" : "downto", "from" : ["EXPRESSION", {
38
                  "args" : [["EXPRESSION", {
39
                    "args" : [["CONSTANT_VALUE", {
40
                      "value" : ["CST_LITERAL", "40"]}
41
                    ]]}
42
                  ]]}
43
                ], "_to" : ["EXPRESSION", {
44
                  "args" : [["EXPRESSION", {
45
                    "args" : [["CONSTANT_VALUE", {
46
                      "value" : ["CST_LITERAL", "0"]}
47
                    ]]}
48
                  ]]}
49
                ]}
50
              ]]}
51
            ]}
52
          }
53
        , {
54
          "names" : [["IDENTIFIER", "in_a"]], "mode" : ["in"], "typ" : {
55
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
56
              "ranges" : [["RANGE_WITH_DIRECTION", {
57
                "direction" : "downto", "from" : ["EXPRESSION", {
58
                  "args" : [["EXPRESSION", {
59
                    "args" : [["CONSTANT_VALUE", {
60
                      "value" : ["CST_LITERAL", "40"]}
61
                    ]]}
62
                  ]]}
63
                ], "_to" : ["EXPRESSION", {
64
                  "args" : [["EXPRESSION", {
65
                    "args" : [["CONSTANT_VALUE", {
66
                      "value" : ["CST_LITERAL", "0"]}
67
                    ]]}
68
                  ]]}
69
                ]}
70
              ]]}
71
            ]}
72
          }
73
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
74
      ]}
75
    , {
76
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
77
        "name" : ["IDENTIFIER", "augh"], "entity" : ["IDENTIFIER", "sub_218"], "ARCHITECTURE_DECLARATIVE_PART" : [{
78
          "declaration" : ["SIGNAL_DECLARATION", {
79
            "names" : [["IDENTIFIER", "carry_inA"]], "typ" : {
80
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
81
                "ranges" : [["RANGE_WITH_DIRECTION", {
82
                  "direction" : "downto", "from" : ["EXPRESSION", {
83
                    "args" : [["EXPRESSION", {
84
                      "args" : [["CONSTANT_VALUE", {
85
                        "value" : ["CST_LITERAL", "42"]}
86
                      ]]}
87
                    ]]}
88
                  ], "_to" : ["EXPRESSION", {
89
                    "args" : [["EXPRESSION", {
90
                      "args" : [["CONSTANT_VALUE", {
91
                        "value" : ["CST_LITERAL", "0"]}
92
                      ]]}
93
                    ]]}
94
                  ]}
95
                ]]}
96
              ]}
97
            }
98
          ]}
99
        , {
100
          "declaration" : ["SIGNAL_DECLARATION", {
101
            "names" : [["IDENTIFIER", "carry_inB"]], "typ" : {
102
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
103
                "ranges" : [["RANGE_WITH_DIRECTION", {
104
                  "direction" : "downto", "from" : ["EXPRESSION", {
105
                    "args" : [["EXPRESSION", {
106
                      "args" : [["CONSTANT_VALUE", {
107
                        "value" : ["CST_LITERAL", "42"]}
108
                      ]]}
109
                    ]]}
110
                  ], "_to" : ["EXPRESSION", {
111
                    "args" : [["EXPRESSION", {
112
                      "args" : [["CONSTANT_VALUE", {
113
                        "value" : ["CST_LITERAL", "0"]}
114
                      ]]}
115
                    ]]}
116
                  ]}
117
                ]]}
118
              ]}
119
            }
120
          ]}
121
        , {
122
          "declaration" : ["SIGNAL_DECLARATION", {
123
            "names" : [["IDENTIFIER", "carry_res"]], "typ" : {
124
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
125
                "ranges" : [["RANGE_WITH_DIRECTION", {
126
                  "direction" : "downto", "from" : ["EXPRESSION", {
127
                    "args" : [["EXPRESSION", {
128
                      "args" : [["CONSTANT_VALUE", {
129
                        "value" : ["CST_LITERAL", "42"]}
130
                      ]]}
131
                    ]]}
132
                  ], "_to" : ["EXPRESSION", {
133
                    "args" : [["EXPRESSION", {
134
                      "args" : [["CONSTANT_VALUE", {
135
                        "value" : ["CST_LITERAL", "0"]}
136
                      ]]}
137
                    ]]}
138
                  ]}
139
                ]]}
140
              ]}
141
            }
142
          ]}
143
        , {
144
          "declaration" : ["SIGNAL_DECLARATION", {
145
            "names" : [["IDENTIFIER", "msb_abr"]], "typ" : {
146
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
147
                "ranges" : [["RANGE_WITH_DIRECTION", {
148
                  "direction" : "downto", "from" : ["EXPRESSION", {
149
                    "args" : [["EXPRESSION", {
150
                      "args" : [["CONSTANT_VALUE", {
151
                        "value" : ["CST_LITERAL", "2"]}
152
                      ]]}
153
                    ]]}
154
                  ], "_to" : ["EXPRESSION", {
155
                    "args" : [["EXPRESSION", {
156
                      "args" : [["CONSTANT_VALUE", {
157
                        "value" : ["CST_LITERAL", "0"]}
158
                      ]]}
159
                    ]]}
160
                  ]}
161
                ]]}
162
              ]}
163
            }
164
          ]}
165
        , {
166
          "declaration" : ["SIGNAL_DECLARATION", {
167
            "names" : [["IDENTIFIER", "tmp_sign"]], "typ" : {
168
              "name" : ["SIMPLE_NAME", "std_logic"]}
169
            }
170
          ]}
171
        , {
172
          "declaration" : ["SIGNAL_DECLARATION", {
173
            "names" : [["IDENTIFIER", "tmp_eq"]], "typ" : {
174
              "name" : ["SIMPLE_NAME", "std_logic"]}
175
            }
176
          ]}
177
        , {
178
          "declaration" : ["SIGNAL_DECLARATION", {
179
            "names" : [["IDENTIFIER", "tmp_le"]], "typ" : {
180
              "name" : ["SIMPLE_NAME", "std_logic"]}
181
            }
182
          ]}
183
        , {
184
          "declaration" : ["SIGNAL_DECLARATION", {
185
            "names" : [["IDENTIFIER", "tmp_ge"]], "typ" : {
186
              "name" : ["SIMPLE_NAME", "std_logic"]}
187
            }
188
          ]}
189
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
190
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "carry_inA"], "rhs" : [{
191
            "expr" : [{
192
              "value" : ["EXPRESSION", {
193
                "args" : [["EXPRESSION", {
194
                  "args" : [["EXPRESSION", {
195
                    "args" : [["EXPRESSION", {
196
                      "id" : "&", "args" : [["EXPRESSION", {
197
                        "id" : "&", "args" : [["EXPRESSION", {
198
                          "args" : [["CONSTANT_VALUE", {
199
                            "value" : ["CST_LITERAL", "'0'"]}
200
                          ]]}
201
                        ], ["EXPRESSION", {
202
                          "args" : [["CALL", ["SIMPLE_NAME", "in_a"]]]}
203
                        ]]}
204
                      ], ["EXPRESSION", {
205
                        "args" : [["CONSTANT_VALUE", {
206
                          "value" : ["CST_LITERAL", "'0'"]}
207
                        ]]}
208
                      ]]}
209
                    ]]}
210
                  ]]}
211
                ]]}
212
              ]}
213
            ]}
214
          ]}
215
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
216
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "carry_inB"], "rhs" : [{
217
            "expr" : [{
218
              "value" : ["EXPRESSION", {
219
                "args" : [["EXPRESSION", {
220
                  "args" : [["EXPRESSION", {
221
                    "args" : [["EXPRESSION", {
222
                      "id" : "&", "args" : [["EXPRESSION", {
223
                        "id" : "&", "args" : [["EXPRESSION", {
224
                          "args" : [["CONSTANT_VALUE", {
225
                            "value" : ["CST_LITERAL", "'0'"]}
226
                          ]]}
227
                        ], ["EXPRESSION", {
228
                          "args" : [["CALL", ["SIMPLE_NAME", "in_b"]]]}
229
                        ]]}
230
                      ], ["EXPRESSION", {
231
                        "args" : [["CONSTANT_VALUE", {
232
                          "value" : ["CST_LITERAL", "'0'"]}
233
                        ]]}
234
                      ]]}
235
                    ]]}
236
                  ]]}
237
                ]]}
238
              ]}
239
            ]}
240
          ]}
241
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
242
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "carry_res"], "rhs" : [{
243
            "expr" : [{
244
              "value" : ["EXPRESSION", {
245
                "args" : [["EXPRESSION", {
246
                  "args" : [["EXPRESSION", {
247
                    "args" : [["EXPRESSION", {
248
                      "args" : [["CALL", ["INDEXED_NAME", {
249
                        "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
250
                          "args" : [["EXPRESSION", {
251
                            "args" : [["EXPRESSION", {
252
                              "args" : [["EXPRESSION", {
253
                                "id" : "-", "args" : [["EXPRESSION", {
254
                                  "args" : [["CALL", ["INDEXED_NAME", {
255
                                    "id" : ["SIMPLE_NAME", "unsigned"], "exprs" : [["EXPRESSION", {
256
                                      "args" : [["EXPRESSION", {
257
                                        "args" : [["EXPRESSION", {
258
                                          "args" : [["EXPRESSION", {
259
                                            "args" : [["CALL", ["SIMPLE_NAME", "carry_inA"]]]}
260
                                          ]]}
261
                                        ]]}
262
                                      ]]}
263
                                    ]]}
264
                                  ]]]}
265
                                ], ["EXPRESSION", {
266
                                  "args" : [["CALL", ["INDEXED_NAME", {
267
                                    "id" : ["SIMPLE_NAME", "unsigned"], "exprs" : [["EXPRESSION", {
268
                                      "args" : [["EXPRESSION", {
269
                                        "args" : [["EXPRESSION", {
270
                                          "args" : [["EXPRESSION", {
271
                                            "args" : [["CALL", ["SIMPLE_NAME", "carry_inB"]]]}
272
                                          ]]}
273
                                        ]]}
274
                                      ]]}
275
                                    ]]}
276
                                  ]]]}
277
                                ]]}
278
                              ]]}
279
                            ]]}
280
                          ]]}
281
                        ]]}
282
                      ]]]}
283
                    ]]}
284
                  ]]}
285
                ]]}
286
              ]}
287
            ]}
288
          ]}
289
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
290
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "output"], "rhs" : [{
291
            "expr" : [{
292
              "value" : ["EXPRESSION", {
293
                "args" : [["EXPRESSION", {
294
                  "args" : [["EXPRESSION", {
295
                    "args" : [["EXPRESSION", {
296
                      "args" : [["CALL", ["SLICE_NAME", {
297
                        "id" : ["SIMPLE_NAME", "carry_res"], "range" : ["RANGE_WITH_DIRECTION", {
298
                          "direction" : "downto", "from" : ["EXPRESSION", {
299
                            "args" : [["EXPRESSION", {
300
                              "args" : [["CONSTANT_VALUE", {
301
                                "value" : ["CST_LITERAL", "41"]}
302
                              ]]}
303
                            ]]}
304
                          ], "_to" : ["EXPRESSION", {
305
                            "args" : [["EXPRESSION", {
306
                              "args" : [["CONSTANT_VALUE", {
307
                                "value" : ["CST_LITERAL", "1"]}
308
                              ]]}
309
                            ]]}
310
                          ]}
311
                        ]}
312
                      ]]]}
313
                    ]]}
314
                  ]]}
315
                ]]}
316
              ]}
317
            ]}
318
          ]}
319
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
320
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "msb_abr"], "rhs" : [{
321
            "expr" : [{
322
              "value" : ["EXPRESSION", {
323
                "args" : [["EXPRESSION", {
324
                  "args" : [["EXPRESSION", {
325
                    "args" : [["EXPRESSION", {
326
                      "id" : "&", "args" : [["EXPRESSION", {
327
                        "id" : "&", "args" : [["EXPRESSION", {
328
                          "args" : [["CALL", ["INDEXED_NAME", {
329
                            "id" : ["SIMPLE_NAME", "in_a"], "exprs" : [["EXPRESSION", {
330
                              "args" : [["EXPRESSION", {
331
                                "args" : [["EXPRESSION", {
332
                                  "args" : [["EXPRESSION", {
333
                                    "args" : [["CONSTANT_VALUE", {
334
                                      "value" : ["CST_LITERAL", "40"]}
335
                                    ]]}
336
                                  ]]}
337
                                ]]}
338
                              ]]}
339
                            ]]}
340
                          ]]]}
341
                        ], ["EXPRESSION", {
342
                          "args" : [["CALL", ["INDEXED_NAME", {
343
                            "id" : ["SIMPLE_NAME", "in_b"], "exprs" : [["EXPRESSION", {
344
                              "args" : [["EXPRESSION", {
345
                                "args" : [["EXPRESSION", {
346
                                  "args" : [["EXPRESSION", {
347
                                    "args" : [["CONSTANT_VALUE", {
348
                                      "value" : ["CST_LITERAL", "40"]}
349
                                    ]]}
350
                                  ]]}
351
                                ]]}
352
                              ]]}
353
                            ]]}
354
                          ]]]}
355
                        ]]}
356
                      ], ["EXPRESSION", {
357
                        "args" : [["CALL", ["INDEXED_NAME", {
358
                          "id" : ["SIMPLE_NAME", "carry_res"], "exprs" : [["EXPRESSION", {
359
                            "args" : [["EXPRESSION", {
360
                              "args" : [["EXPRESSION", {
361
                                "args" : [["EXPRESSION", {
362
                                  "args" : [["CONSTANT_VALUE", {
363
                                    "value" : ["CST_LITERAL", "41"]}
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", "le"], "rhs" : [{
907
            "expr" : [{
908
              "value" : ["EXPRESSION", {
909
                "args" : [["EXPRESSION", {
910
                  "args" : [["EXPRESSION", {
911
                    "args" : [["EXPRESSION", {
912
                      "args" : [["CALL", ["SIMPLE_NAME", "tmp_le"]]]}
913
                    ]]}
914
                  ]]}
915
                ]]}
916
              ]}
917
            ]}
918
          ]}
919
        ]]}
920
      ]}
921
    ]}
922
  }