Project

General

Profile

Download (80.5 KB) Statistics
| Branch: | Tag: | Revision:
1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "IEEE"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "IEEE"], ["SIMPLE_NAME", "std_logic_1164"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "IEEE"], ["SIMPLE_NAME", "std_logic_arith"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "IEEE"], ["SIMPLE_NAME", "std_logic_unsigned"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "test"], "ports" : [{
6
          "names" : [["IDENTIFIER", "clk"], ["IDENTIFIER", "rstn"]], "mode" : ["in"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "en"], ["IDENTIFIER", "start_dec"]], "mode" : ["in"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_logic"]}
12
          }
13
        , {
14
          "names" : [["IDENTIFIER", "addr"]], "mode" : ["in"], "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", "2"]}
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", "din"]], "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", "25"]}
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", "we"]], "mode" : ["in"], "typ" : {
55
            "name" : ["SIMPLE_NAME", "std_logic"]}
56
          }
57
        , {
58
          "names" : [["IDENTIFIER", "pixel_in"]], "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", "7"]}
65
                    ]]}
66
                  ]]}
67
                ], "_to" : ["EXPRESSION", {
68
                  "args" : [["EXPRESSION", {
69
                    "args" : [["CONSTANT_VALUE", {
70
                      "value" : ["CST_LITERAL", "0"]}
71
                    ]]}
72
                  ]]}
73
                ]}
74
              ]]}
75
            ]}
76
          }
77
        , {
78
          "names" : [["IDENTIFIER", "pix_req"]], "mode" : ["in"], "typ" : {
79
            "name" : ["SIMPLE_NAME", "std_logic"]}
80
          }
81
        , {
82
          "names" : [["IDENTIFIER", "config"], ["IDENTIFIER", "bip"]], "mode" : ["in"], "typ" : {
83
            "name" : ["SIMPLE_NAME", "std_logic"]}
84
          }
85
        , {
86
          "names" : [["IDENTIFIER", "a"], ["IDENTIFIER", "b"]], "mode" : ["in"], "typ" : {
87
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
88
              "ranges" : [["RANGE_WITH_DIRECTION", {
89
                "direction" : "downto", "from" : ["EXPRESSION", {
90
                  "args" : [["EXPRESSION", {
91
                    "args" : [["CONSTANT_VALUE", {
92
                      "value" : ["CST_LITERAL", "7"]}
93
                    ]]}
94
                  ]]}
95
                ], "_to" : ["EXPRESSION", {
96
                  "args" : [["EXPRESSION", {
97
                    "args" : [["CONSTANT_VALUE", {
98
                      "value" : ["CST_LITERAL", "0"]}
99
                    ]]}
100
                  ]]}
101
                ]}
102
              ]]}
103
            ]}
104
          }
105
        , {
106
          "names" : [["IDENTIFIER", "c"], ["IDENTIFIER", "load"]], "mode" : ["in"], "typ" : {
107
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
108
              "ranges" : [["RANGE_WITH_DIRECTION", {
109
                "direction" : "downto", "from" : ["EXPRESSION", {
110
                  "args" : [["EXPRESSION", {
111
                    "args" : [["CONSTANT_VALUE", {
112
                      "value" : ["CST_LITERAL", "7"]}
113
                    ]]}
114
                  ]]}
115
                ], "_to" : ["EXPRESSION", {
116
                  "args" : [["EXPRESSION", {
117
                    "args" : [["CONSTANT_VALUE", {
118
                      "value" : ["CST_LITERAL", "0"]}
119
                    ]]}
120
                  ]]}
121
                ]}
122
              ]]}
123
            ]}
124
          }
125
        , {
126
          "names" : [["IDENTIFIER", "pack"]], "mode" : ["in"], "typ" : {
127
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
128
              "ranges" : [["RANGE_WITH_DIRECTION", {
129
                "direction" : "downto", "from" : ["EXPRESSION", {
130
                  "args" : [["EXPRESSION", {
131
                    "args" : [["CONSTANT_VALUE", {
132
                      "value" : ["CST_LITERAL", "6"]}
133
                    ]]}
134
                  ]]}
135
                ], "_to" : ["EXPRESSION", {
136
                  "args" : [["EXPRESSION", {
137
                    "args" : [["CONSTANT_VALUE", {
138
                      "value" : ["CST_LITERAL", "0"]}
139
                    ]]}
140
                  ]]}
141
                ]}
142
              ]]}
143
            ]}
144
          }
145
        , {
146
          "names" : [["IDENTIFIER", "base"]], "mode" : ["in"], "typ" : {
147
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
148
              "ranges" : [["RANGE_WITH_DIRECTION", {
149
                "direction" : "downto", "from" : ["EXPRESSION", {
150
                  "args" : [["EXPRESSION", {
151
                    "args" : [["CONSTANT_VALUE", {
152
                      "value" : ["CST_LITERAL", "2"]}
153
                    ]]}
154
                  ]]}
155
                ], "_to" : ["EXPRESSION", {
156
                  "args" : [["EXPRESSION", {
157
                    "args" : [["CONSTANT_VALUE", {
158
                      "value" : ["CST_LITERAL", "0"]}
159
                    ]]}
160
                  ]]}
161
                ]}
162
              ]]}
163
            ]}
164
          }
165
        , {
166
          "names" : [["IDENTIFIER", "qtd"]], "mode" : ["in"], "typ" : {
167
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
168
              "ranges" : [["RANGE_WITH_DIRECTION", {
169
                "direction" : "downto", "from" : ["EXPRESSION", {
170
                  "args" : [["EXPRESSION", {
171
                    "args" : [["CONSTANT_VALUE", {
172
                      "value" : ["CST_LITERAL", "21"]}
173
                    ]]}
174
                  ]]}
175
                ], "_to" : ["EXPRESSION", {
176
                  "args" : [["EXPRESSION", {
177
                    "args" : [["CONSTANT_VALUE", {
178
                      "value" : ["CST_LITERAL", "0"]}
179
                    ]]}
180
                  ]]}
181
                ]}
182
              ]]}
183
            ]}
184
          }
185
        , {
186
          "names" : [["IDENTIFIER", "dout"]], "mode" : ["out"], "typ" : {
187
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
188
              "ranges" : [["RANGE_WITH_DIRECTION", {
189
                "direction" : "downto", "from" : ["EXPRESSION", {
190
                  "args" : [["EXPRESSION", {
191
                    "args" : [["CONSTANT_VALUE", {
192
                      "value" : ["CST_LITERAL", "25"]}
193
                    ]]}
194
                  ]]}
195
                ], "_to" : ["EXPRESSION", {
196
                  "args" : [["EXPRESSION", {
197
                    "args" : [["CONSTANT_VALUE", {
198
                      "value" : ["CST_LITERAL", "0"]}
199
                    ]]}
200
                  ]]}
201
                ]}
202
              ]]}
203
            ]}
204
          }
205
        , {
206
          "names" : [["IDENTIFIER", "pixel_out"]], "mode" : ["out"], "typ" : {
207
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
208
              "ranges" : [["RANGE_WITH_DIRECTION", {
209
                "direction" : "downto", "from" : ["EXPRESSION", {
210
                  "args" : [["EXPRESSION", {
211
                    "args" : [["CONSTANT_VALUE", {
212
                      "value" : ["CST_LITERAL", "7"]}
213
                    ]]}
214
                  ]]}
215
                ], "_to" : ["EXPRESSION", {
216
                  "args" : [["EXPRESSION", {
217
                    "args" : [["CONSTANT_VALUE", {
218
                      "value" : ["CST_LITERAL", "0"]}
219
                    ]]}
220
                  ]]}
221
                ]}
222
              ]]}
223
            ]}
224
          }
225
        , {
226
          "names" : [["IDENTIFIER", "pixel_valid"]], "mode" : ["out"], "typ" : {
227
            "name" : ["SIMPLE_NAME", "std_logic"]}
228
          }
229
        , {
230
          "names" : [["IDENTIFIER", "code"]], "mode" : ["out"], "typ" : {
231
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
232
              "ranges" : [["RANGE_WITH_DIRECTION", {
233
                "direction" : "downto", "from" : ["EXPRESSION", {
234
                  "args" : [["EXPRESSION", {
235
                    "args" : [["CONSTANT_VALUE", {
236
                      "value" : ["CST_LITERAL", "9"]}
237
                    ]]}
238
                  ]]}
239
                ], "_to" : ["EXPRESSION", {
240
                  "args" : [["EXPRESSION", {
241
                    "args" : [["CONSTANT_VALUE", {
242
                      "value" : ["CST_LITERAL", "0"]}
243
                    ]]}
244
                  ]]}
245
                ]}
246
              ]]}
247
            ]}
248
          }
249
        , {
250
          "names" : [["IDENTIFIER", "code1"]], "mode" : ["out"], "typ" : {
251
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
252
              "ranges" : [["RANGE_WITH_DIRECTION", {
253
                "direction" : "downto", "from" : ["EXPRESSION", {
254
                  "args" : [["EXPRESSION", {
255
                    "args" : [["CONSTANT_VALUE", {
256
                      "value" : ["CST_LITERAL", "9"]}
257
                    ]]}
258
                  ]]}
259
                ], "_to" : ["EXPRESSION", {
260
                  "args" : [["EXPRESSION", {
261
                    "args" : [["CONSTANT_VALUE", {
262
                      "value" : ["CST_LITERAL", "0"]}
263
                    ]]}
264
                  ]]}
265
                ]}
266
              ]]}
267
            ]}
268
          }
269
        , {
270
          "names" : [["IDENTIFIER", "complex"]], "mode" : ["out"], "typ" : {
271
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
272
              "ranges" : [["RANGE_WITH_DIRECTION", {
273
                "direction" : "downto", "from" : ["EXPRESSION", {
274
                  "args" : [["EXPRESSION", {
275
                    "args" : [["CONSTANT_VALUE", {
276
                      "value" : ["CST_LITERAL", "23"]}
277
                    ]]}
278
                  ]]}
279
                ], "_to" : ["EXPRESSION", {
280
                  "args" : [["EXPRESSION", {
281
                    "args" : [["CONSTANT_VALUE", {
282
                      "value" : ["CST_LITERAL", "0"]}
283
                    ]]}
284
                  ]]}
285
                ]}
286
              ]]}
287
            ]}
288
          }
289
        , {
290
          "names" : [["IDENTIFIER", "eno"]], "mode" : ["out"], "typ" : {
291
            "name" : ["SIMPLE_NAME", "std_logic"]}
292
          }
293
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
294
      ]}
295
    , {
296
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
297
        "name" : ["IDENTIFIER", "rtl"], "entity" : ["IDENTIFIER", "test"], "ARCHITECTURE_DECLARATIVE_PART" : [{
298
          "declaration" : ["COMPONENT_DECLARATION", {
299
            "name" : ["IDENTIFIER", "dsp"], "ports" : [{
300
              "names" : [["IDENTIFIER", "clk"], ["IDENTIFIER", "rstn"]], "mode" : ["in"], "typ" : {
301
                "name" : ["SIMPLE_NAME", "std_logic"]}
302
              }
303
            , {
304
              "names" : [["IDENTIFIER", "en"], ["IDENTIFIER", "start"]], "mode" : ["in"], "typ" : {
305
                "name" : ["SIMPLE_NAME", "std_logic"]}
306
              }
307
            , {
308
              "names" : [["IDENTIFIER", "param"]], "mode" : ["in"], "typ" : {
309
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
310
                  "ranges" : [["RANGE_WITH_DIRECTION", {
311
                    "direction" : "downto", "from" : ["EXPRESSION", {
312
                      "args" : [["EXPRESSION", {
313
                        "args" : [["CONSTANT_VALUE", {
314
                          "value" : ["CST_LITERAL", "7"]}
315
                        ]]}
316
                      ]]}
317
                    ], "_to" : ["EXPRESSION", {
318
                      "args" : [["EXPRESSION", {
319
                        "args" : [["CONSTANT_VALUE", {
320
                          "value" : ["CST_LITERAL", "0"]}
321
                        ]]}
322
                      ]]}
323
                    ]}
324
                  ]]}
325
                ]}
326
              }
327
            , {
328
              "names" : [["IDENTIFIER", "addr"]], "mode" : ["in"], "typ" : {
329
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
330
                  "ranges" : [["RANGE_WITH_DIRECTION", {
331
                    "direction" : "downto", "from" : ["EXPRESSION", {
332
                      "args" : [["EXPRESSION", {
333
                        "args" : [["CONSTANT_VALUE", {
334
                          "value" : ["CST_LITERAL", "2"]}
335
                        ]]}
336
                      ]]}
337
                    ], "_to" : ["EXPRESSION", {
338
                      "args" : [["EXPRESSION", {
339
                        "args" : [["CONSTANT_VALUE", {
340
                          "value" : ["CST_LITERAL", "0"]}
341
                        ]]}
342
                      ]]}
343
                    ]}
344
                  ]]}
345
                ]}
346
              }
347
            , {
348
              "names" : [["IDENTIFIER", "din"]], "mode" : ["in"], "typ" : {
349
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
350
                  "ranges" : [["RANGE_WITH_DIRECTION", {
351
                    "direction" : "downto", "from" : ["EXPRESSION", {
352
                      "args" : [["EXPRESSION", {
353
                        "args" : [["CONSTANT_VALUE", {
354
                          "value" : ["CST_LITERAL", "25"]}
355
                        ]]}
356
                      ]]}
357
                    ], "_to" : ["EXPRESSION", {
358
                      "args" : [["EXPRESSION", {
359
                        "args" : [["CONSTANT_VALUE", {
360
                          "value" : ["CST_LITERAL", "0"]}
361
                        ]]}
362
                      ]]}
363
                    ]}
364
                  ]]}
365
                ]}
366
              }
367
            , {
368
              "names" : [["IDENTIFIER", "we"]], "mode" : ["in"], "typ" : {
369
                "name" : ["SIMPLE_NAME", "std_logic"]}
370
              }
371
            , {
372
              "names" : [["IDENTIFIER", "memdin"]], "mode" : ["out"], "typ" : {
373
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
374
                  "ranges" : [["RANGE_WITH_DIRECTION", {
375
                    "direction" : "downto", "from" : ["EXPRESSION", {
376
                      "args" : [["EXPRESSION", {
377
                        "args" : [["CONSTANT_VALUE", {
378
                          "value" : ["CST_LITERAL", "13"]}
379
                        ]]}
380
                      ]]}
381
                    ], "_to" : ["EXPRESSION", {
382
                      "args" : [["EXPRESSION", {
383
                        "args" : [["CONSTANT_VALUE", {
384
                          "value" : ["CST_LITERAL", "0"]}
385
                        ]]}
386
                      ]]}
387
                    ]}
388
                  ]]}
389
                ]}
390
              }
391
            , {
392
              "names" : [["IDENTIFIER", "dout"]], "mode" : ["out"], "typ" : {
393
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
394
                  "ranges" : [["RANGE_WITH_DIRECTION", {
395
                    "direction" : "downto", "from" : ["EXPRESSION", {
396
                      "args" : [["EXPRESSION", {
397
                        "args" : [["CONSTANT_VALUE", {
398
                          "value" : ["CST_LITERAL", "25"]}
399
                        ]]}
400
                      ]]}
401
                    ], "_to" : ["EXPRESSION", {
402
                      "args" : [["EXPRESSION", {
403
                        "args" : [["CONSTANT_VALUE", {
404
                          "value" : ["CST_LITERAL", "0"]}
405
                        ]]}
406
                      ]]}
407
                    ]}
408
                  ]]}
409
                ]}
410
              }
411
            , {
412
              "names" : [["IDENTIFIER", "memaddr"]], "mode" : ["out"], "typ" : {
413
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
414
                  "ranges" : [["RANGE_WITH_DIRECTION", {
415
                    "direction" : "downto", "from" : ["EXPRESSION", {
416
                      "args" : [["EXPRESSION", {
417
                        "args" : [["CONSTANT_VALUE", {
418
                          "value" : ["CST_LITERAL", "5"]}
419
                        ]]}
420
                      ]]}
421
                    ], "_to" : ["EXPRESSION", {
422
                      "args" : [["EXPRESSION", {
423
                        "args" : [["CONSTANT_VALUE", {
424
                          "value" : ["CST_LITERAL", "0"]}
425
                        ]]}
426
                      ]]}
427
                    ]}
428
                  ]]}
429
                ]}
430
              }
431
            , {
432
              "names" : [["IDENTIFIER", "memdout"]], "mode" : ["out"], "typ" : {
433
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
434
                  "ranges" : [["RANGE_WITH_DIRECTION", {
435
                    "direction" : "downto", "from" : ["EXPRESSION", {
436
                      "args" : [["EXPRESSION", {
437
                        "args" : [["CONSTANT_VALUE", {
438
                          "value" : ["CST_LITERAL", "13"]}
439
                        ]]}
440
                      ]]}
441
                    ], "_to" : ["EXPRESSION", {
442
                      "args" : [["EXPRESSION", {
443
                        "args" : [["CONSTANT_VALUE", {
444
                          "value" : ["CST_LITERAL", "0"]}
445
                        ]]}
446
                      ]]}
447
                    ]}
448
                  ]]}
449
                ]}
450
              }
451
            ]}
452
          ]}
453
        , {
454
          "declaration" : ["COMPONENT_DECLARATION", {
455
            "name" : ["IDENTIFIER", "mem"], "ports" : [{
456
              "names" : [["IDENTIFIER", "clk"], ["IDENTIFIER", "rstn"]], "mode" : ["in"], "typ" : {
457
                "name" : ["SIMPLE_NAME", "std_logic"]}
458
              }
459
            , {
460
              "names" : [["IDENTIFIER", "en"]], "mode" : ["in"], "typ" : {
461
                "name" : ["SIMPLE_NAME", "std_logic"]}
462
              }
463
            , {
464
              "names" : [["IDENTIFIER", "cs"]], "mode" : ["in"], "typ" : {
465
                "name" : ["SIMPLE_NAME", "std_logic"]}
466
              }
467
            , {
468
              "names" : [["IDENTIFIER", "addr"]], "mode" : ["in"], "typ" : {
469
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
470
                  "ranges" : [["RANGE_WITH_DIRECTION", {
471
                    "direction" : "downto", "from" : ["EXPRESSION", {
472
                      "args" : [["EXPRESSION", {
473
                        "args" : [["CONSTANT_VALUE", {
474
                          "value" : ["CST_LITERAL", "5"]}
475
                        ]]}
476
                      ]]}
477
                    ], "_to" : ["EXPRESSION", {
478
                      "args" : [["EXPRESSION", {
479
                        "args" : [["CONSTANT_VALUE", {
480
                          "value" : ["CST_LITERAL", "0"]}
481
                        ]]}
482
                      ]]}
483
                    ]}
484
                  ]]}
485
                ]}
486
              }
487
            , {
488
              "names" : [["IDENTIFIER", "din"]], "mode" : ["in"], "typ" : {
489
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
490
                  "ranges" : [["RANGE_WITH_DIRECTION", {
491
                    "direction" : "downto", "from" : ["EXPRESSION", {
492
                      "args" : [["EXPRESSION", {
493
                        "args" : [["CONSTANT_VALUE", {
494
                          "value" : ["CST_LITERAL", "13"]}
495
                        ]]}
496
                      ]]}
497
                    ], "_to" : ["EXPRESSION", {
498
                      "args" : [["EXPRESSION", {
499
                        "args" : [["CONSTANT_VALUE", {
500
                          "value" : ["CST_LITERAL", "0"]}
501
                        ]]}
502
                      ]]}
503
                    ]}
504
                  ]]}
505
                ]}
506
              }
507
            , {
508
              "names" : [["IDENTIFIER", "dout"]], "mode" : ["out"], "typ" : {
509
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
510
                  "ranges" : [["RANGE_WITH_DIRECTION", {
511
                    "direction" : "downto", "from" : ["EXPRESSION", {
512
                      "args" : [["EXPRESSION", {
513
                        "args" : [["CONSTANT_VALUE", {
514
                          "value" : ["CST_LITERAL", "13"]}
515
                        ]]}
516
                      ]]}
517
                    ], "_to" : ["EXPRESSION", {
518
                      "args" : [["EXPRESSION", {
519
                        "args" : [["CONSTANT_VALUE", {
520
                          "value" : ["CST_LITERAL", "0"]}
521
                        ]]}
522
                      ]]}
523
                    ]}
524
                  ]]}
525
                ]}
526
              }
527
            ]}
528
          ]}
529
        , {
530
          "definition" : ["TYPE_DECLARATION", {
531
            "name" : ["IDENTIFIER", "state"], "definition" : ["ENUMERATION_TYPE_DEFINITION", [["IDENTIFIER", "red"], ["IDENTIFIER", "green"], ["IDENTIFIER", "blue"], ["IDENTIFIER", "yellow"]]]}
532
          ]}
533
        , {
534
          "declaration" : ["SIGNAL_DECLARATION", {
535
            "names" : [["IDENTIFIER", "status"]], "typ" : {
536
              "name" : ["SIMPLE_NAME", "state"]}
537
            }
538
          ]}
539
        , {
540
          "declaration" : ["CONSTANT_DECLARATION", {
541
            "names" : [["IDENTIFIER", "PARAM1"]], "typ" : {
542
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
543
                "ranges" : [["RANGE_WITH_DIRECTION", {
544
                  "direction" : "downto", "from" : ["EXPRESSION", {
545
                    "args" : [["EXPRESSION", {
546
                      "args" : [["CONSTANT_VALUE", {
547
                        "value" : ["CST_LITERAL", "7"]}
548
                      ]]}
549
                    ]]}
550
                  ], "_to" : ["EXPRESSION", {
551
                    "args" : [["EXPRESSION", {
552
                      "args" : [["CONSTANT_VALUE", {
553
                        "value" : ["CST_LITERAL", "0"]}
554
                      ]]}
555
                    ]]}
556
                  ]}
557
                ]]}
558
              ]}
559
            , "init_val" : ["EXPRESSION", {
560
              "args" : [["EXPRESSION", {
561
                "args" : [["EXPRESSION", {
562
                  "args" : [["EXPRESSION", {
563
                    "args" : [["CONSTANT_VALUE", {
564
                      "value" : ["CST_LITERAL", "\"01101101\""]}
565
                    ]]}
566
                  ]]}
567
                ]]}
568
              ]]}
569
            ]}
570
          ]}
571
        , {
572
          "declaration" : ["CONSTANT_DECLARATION", {
573
            "names" : [["IDENTIFIER", "PARAM2"]], "typ" : {
574
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
575
                "ranges" : [["RANGE_WITH_DIRECTION", {
576
                  "direction" : "downto", "from" : ["EXPRESSION", {
577
                    "args" : [["EXPRESSION", {
578
                      "args" : [["CONSTANT_VALUE", {
579
                        "value" : ["CST_LITERAL", "7"]}
580
                      ]]}
581
                    ]]}
582
                  ], "_to" : ["EXPRESSION", {
583
                    "args" : [["EXPRESSION", {
584
                      "args" : [["CONSTANT_VALUE", {
585
                        "value" : ["CST_LITERAL", "0"]}
586
                      ]]}
587
                    ]]}
588
                  ]}
589
                ]]}
590
              ]}
591
            , "init_val" : ["EXPRESSION", {
592
              "args" : [["EXPRESSION", {
593
                "args" : [["EXPRESSION", {
594
                  "args" : [["EXPRESSION", {
595
                    "args" : [["CONSTANT_VALUE", {
596
                      "value" : ["CST_LITERAL", "\"11001101\""]}
597
                    ]]}
598
                  ]]}
599
                ]]}
600
              ]]}
601
            ]}
602
          ]}
603
        , {
604
          "declaration" : ["CONSTANT_DECLARATION", {
605
            "names" : [["IDENTIFIER", "PARAM3"]], "typ" : {
606
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
607
                "ranges" : [["RANGE_WITH_DIRECTION", {
608
                  "direction" : "downto", "from" : ["EXPRESSION", {
609
                    "args" : [["EXPRESSION", {
610
                      "args" : [["CONSTANT_VALUE", {
611
                        "value" : ["CST_LITERAL", "7"]}
612
                      ]]}
613
                    ]]}
614
                  ], "_to" : ["EXPRESSION", {
615
                    "args" : [["EXPRESSION", {
616
                      "args" : [["CONSTANT_VALUE", {
617
                        "value" : ["CST_LITERAL", "0"]}
618
                      ]]}
619
                    ]]}
620
                  ]}
621
                ]]}
622
              ]}
623
            , "init_val" : ["EXPRESSION", {
624
              "args" : [["EXPRESSION", {
625
                "args" : [["EXPRESSION", {
626
                  "args" : [["EXPRESSION", {
627
                    "args" : [["CONSTANT_VALUE", {
628
                      "value" : ["CST_LITERAL", "\"00010111\""]}
629
                    ]]}
630
                  ]]}
631
                ]]}
632
              ]]}
633
            ]}
634
          ]}
635
        , {
636
          "declaration" : ["SIGNAL_DECLARATION", {
637
            "names" : [["IDENTIFIER", "param"]], "typ" : {
638
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
639
                "ranges" : [["RANGE_WITH_DIRECTION", {
640
                  "direction" : "downto", "from" : ["EXPRESSION", {
641
                    "args" : [["EXPRESSION", {
642
                      "args" : [["CONSTANT_VALUE", {
643
                        "value" : ["CST_LITERAL", "7"]}
644
                      ]]}
645
                    ]]}
646
                  ], "_to" : ["EXPRESSION", {
647
                    "args" : [["EXPRESSION", {
648
                      "args" : [["CONSTANT_VALUE", {
649
                        "value" : ["CST_LITERAL", "0"]}
650
                      ]]}
651
                    ]]}
652
                  ]}
653
                ]]}
654
              ]}
655
            }
656
          ]}
657
        , {
658
          "declaration" : ["SIGNAL_DECLARATION", {
659
            "names" : [["IDENTIFIER", "selection"]], "typ" : {
660
              "name" : ["SIMPLE_NAME", "std_logic"]}
661
            }
662
          ]}
663
        , {
664
          "declaration" : ["SIGNAL_DECLARATION", {
665
            "names" : [["IDENTIFIER", "start"], ["IDENTIFIER", "enf"]], "typ" : {
666
              "name" : ["SIMPLE_NAME", "std_logic"]}
667
            }
668
          ]}
669
        , {
670
          "declaration" : ["SIGNAL_DECLARATION", {
671
            "names" : [["IDENTIFIER", "memdin"]], "typ" : {
672
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
673
                "ranges" : [["RANGE_WITH_DIRECTION", {
674
                  "direction" : "downto", "from" : ["EXPRESSION", {
675
                    "args" : [["EXPRESSION", {
676
                      "args" : [["CONSTANT_VALUE", {
677
                        "value" : ["CST_LITERAL", "13"]}
678
                      ]]}
679
                    ]]}
680
                  ], "_to" : ["EXPRESSION", {
681
                    "args" : [["EXPRESSION", {
682
                      "args" : [["CONSTANT_VALUE", {
683
                        "value" : ["CST_LITERAL", "0"]}
684
                      ]]}
685
                    ]]}
686
                  ]}
687
                ]]}
688
              ]}
689
            }
690
          ]}
691
        , {
692
          "declaration" : ["SIGNAL_DECLARATION", {
693
            "names" : [["IDENTIFIER", "memaddr"]], "typ" : {
694
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
695
                "ranges" : [["RANGE_WITH_DIRECTION", {
696
                  "direction" : "downto", "from" : ["EXPRESSION", {
697
                    "args" : [["EXPRESSION", {
698
                      "args" : [["CONSTANT_VALUE", {
699
                        "value" : ["CST_LITERAL", "5"]}
700
                      ]]}
701
                    ]]}
702
                  ], "_to" : ["EXPRESSION", {
703
                    "args" : [["EXPRESSION", {
704
                      "args" : [["CONSTANT_VALUE", {
705
                        "value" : ["CST_LITERAL", "0"]}
706
                      ]]}
707
                    ]]}
708
                  ]}
709
                ]]}
710
              ]}
711
            }
712
          ]}
713
        , {
714
          "declaration" : ["SIGNAL_DECLARATION", {
715
            "names" : [["IDENTIFIER", "memdout"]], "typ" : {
716
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
717
                "ranges" : [["RANGE_WITH_DIRECTION", {
718
                  "direction" : "downto", "from" : ["EXPRESSION", {
719
                    "args" : [["EXPRESSION", {
720
                      "args" : [["CONSTANT_VALUE", {
721
                        "value" : ["CST_LITERAL", "13"]}
722
                      ]]}
723
                    ]]}
724
                  ], "_to" : ["EXPRESSION", {
725
                    "args" : [["EXPRESSION", {
726
                      "args" : [["CONSTANT_VALUE", {
727
                        "value" : ["CST_LITERAL", "0"]}
728
                      ]]}
729
                    ]]}
730
                  ]}
731
                ]]}
732
              ]}
733
            }
734
          ]}
735
        , {
736
          "declaration" : ["SIGNAL_DECLARATION", {
737
            "names" : [["IDENTIFIER", "colour"]], "typ" : {
738
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
739
                "ranges" : [["RANGE_WITH_DIRECTION", {
740
                  "direction" : "downto", "from" : ["EXPRESSION", {
741
                    "args" : [["EXPRESSION", {
742
                      "args" : [["CONSTANT_VALUE", {
743
                        "value" : ["CST_LITERAL", "1"]}
744
                      ]]}
745
                    ]]}
746
                  ], "_to" : ["EXPRESSION", {
747
                    "args" : [["EXPRESSION", {
748
                      "args" : [["CONSTANT_VALUE", {
749
                        "value" : ["CST_LITERAL", "0"]}
750
                      ]]}
751
                    ]]}
752
                  ]}
753
                ]]}
754
              ]}
755
            }
756
          ]}
757
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
758
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "param"], "rhs" : [{
759
            "expr" : [{
760
              "value" : ["EXPRESSION", {
761
                "args" : [["EXPRESSION", {
762
                  "args" : [["EXPRESSION", {
763
                    "args" : [["EXPRESSION", {
764
                      "args" : [["CALL", ["SIMPLE_NAME", "PARAM1"]]]}
765
                    ]]}
766
                  ]]}
767
                ]]}
768
              ]}
769
            ], "cond" : ["EXPRESSION", {
770
              "id" : "=", "args" : [["EXPRESSION", {
771
                "args" : [["EXPRESSION", {
772
                  "args" : [["EXPRESSION", {
773
                    "args" : [["CALL", ["SIMPLE_NAME", "config"]]]}
774
                  ]]}
775
                ]]}
776
              ], ["EXPRESSION", {
777
                "args" : [["EXPRESSION", {
778
                  "args" : [["EXPRESSION", {
779
                    "args" : [["CONSTANT_VALUE", {
780
                      "value" : ["CST_LITERAL", "'1'"]}
781
                    ]]}
782
                  ]]}
783
                ]]}
784
              ]]}
785
            ]}
786
          , {
787
            "expr" : [{
788
              "value" : ["EXPRESSION", {
789
                "args" : [["EXPRESSION", {
790
                  "args" : [["EXPRESSION", {
791
                    "args" : [["EXPRESSION", {
792
                      "args" : [["CALL", ["SIMPLE_NAME", "PARAM2"]]]}
793
                    ]]}
794
                  ]]}
795
                ]]}
796
              ]}
797
            ], "cond" : ["EXPRESSION", {
798
              "id" : "=", "args" : [["EXPRESSION", {
799
                "args" : [["EXPRESSION", {
800
                  "args" : [["EXPRESSION", {
801
                    "args" : [["CALL", ["SIMPLE_NAME", "status"]]]}
802
                  ]]}
803
                ]]}
804
              ], ["EXPRESSION", {
805
                "args" : [["EXPRESSION", {
806
                  "args" : [["EXPRESSION", {
807
                    "args" : [["CALL", ["SIMPLE_NAME", "green"]]]}
808
                  ]]}
809
                ]]}
810
              ]]}
811
            ]}
812
          , {
813
            "expr" : [{
814
              "value" : ["EXPRESSION", {
815
                "args" : [["EXPRESSION", {
816
                  "args" : [["EXPRESSION", {
817
                    "args" : [["EXPRESSION", {
818
                      "args" : [["CALL", ["SIMPLE_NAME", "PARAM3"]]]}
819
                    ]]}
820
                  ]]}
821
                ]]}
822
              ]}
823
            ]}
824
          ]}
825
        ], ["PROCESS_STATEMENT", {
826
          "active_sigs" : [["SIMPLE_NAME", "clk"]], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
827
            "if_cases" : [{
828
              "if_cond" : ["EXPRESSION", {
829
                "id" : "and", "args" : [["EXPRESSION", {
830
                  "args" : [["EXPRESSION", {
831
                    "args" : [["EXPRESSION", {
832
                      "args" : [["EXPRESSION", {
833
                        "args" : [["CALL", ["ATTRIBUTE_NAME", {
834
                          "id" : ["SIMPLE_NAME", "clk"], "designator" : ["SIMPLE_NAME", "event"]}
835
                        ]]]}
836
                      ]]}
837
                    ]]}
838
                  ]]}
839
                ], ["EXPRESSION", {
840
                  "id" : "=", "args" : [["EXPRESSION", {
841
                    "args" : [["EXPRESSION", {
842
                      "args" : [["EXPRESSION", {
843
                        "args" : [["CALL", ["SIMPLE_NAME", "clk"]]]}
844
                      ]]}
845
                    ]]}
846
                  ], ["EXPRESSION", {
847
                    "args" : [["EXPRESSION", {
848
                      "args" : [["EXPRESSION", {
849
                        "args" : [["CONSTANT_VALUE", {
850
                          "value" : ["CST_LITERAL", "'1'"]}
851
                        ]]}
852
                      ]]}
853
                    ]]}
854
                  ]]}
855
                ]]}
856
              ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
857
                "lhs" : ["SIMPLE_NAME", "pixel_out"], "rhs" : [{
858
                  "value" : ["EXPRESSION", {
859
                    "id" : "xor", "args" : [["EXPRESSION", {
860
                      "args" : [["EXPRESSION", {
861
                        "args" : [["EXPRESSION", {
862
                          "args" : [["EXPRESSION", {
863
                            "args" : [["CALL", ["SIMPLE_NAME", "pixel_in"]]]}
864
                          ]]}
865
                        ]]}
866
                      ]]}
867
                    ], ["EXPRESSION", {
868
                      "args" : [["EXPRESSION", {
869
                        "args" : [["EXPRESSION", {
870
                          "args" : [["EXPRESSION", {
871
                            "args" : [["CONSTANT_VALUE", {
872
                              "value" : ["CST_LITERAL", "\"11001100\""]}
873
                            ]]}
874
                          ]]}
875
                        ]]}
876
                      ]]}
877
                    ]]}
878
                  ]}
879
                ]}
880
              ]]}
881
            ]}
882
          ]]}
883
        ], ["PROCESS_STATEMENT", {
884
          "active_sigs" : [["SIMPLE_NAME", "clk"]], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
885
            "if_cases" : [{
886
              "if_cond" : ["EXPRESSION", {
887
                "args" : [["EXPRESSION", {
888
                  "args" : [["EXPRESSION", {
889
                    "args" : [["EXPRESSION", {
890
                      "args" : [["CALL", ["FUNCTION_CALL", {
891
                        "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
892
                          "actual_designator" : ["SIMPLE_NAME", "clk"]}
893
                        ]}
894
                      ]]]}
895
                    ]]}
896
                  ]]}
897
                ]]}
898
              ], "if_block" : [["CASE_STATEMENT_TREE", {
899
                "guard" : ["EXPRESSION", {
900
                  "args" : [["EXPRESSION", {
901
                    "args" : [["EXPRESSION", {
902
                      "args" : [["EXPRESSION", {
903
                        "args" : [["CALL", ["SIMPLE_NAME", "status"]]]}
904
                      ]]}
905
                    ]]}
906
                  ]]}
907
                ], "branches" : [{
908
                  "when_cond" : [["EXPRESSION", {
909
                    "args" : [["EXPRESSION", {
910
                      "args" : [["CALL", ["SIMPLE_NAME", "red"]]]}
911
                    ]]}
912
                  ]], "when_stmt" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
913
                    "lhs" : ["SIMPLE_NAME", "colour"], "rhs" : [{
914
                      "value" : ["EXPRESSION", {
915
                        "args" : [["EXPRESSION", {
916
                          "args" : [["EXPRESSION", {
917
                            "args" : [["EXPRESSION", {
918
                              "args" : [["CONSTANT_VALUE", {
919
                                "value" : ["CST_LITERAL", "\"00\""]}
920
                              ]]}
921
                            ]]}
922
                          ]]}
923
                        ]]}
924
                      ]}
925
                    ]}
926
                  ]]}
927
                , {
928
                  "when_cond" : [["EXPRESSION", {
929
                    "args" : [["EXPRESSION", {
930
                      "args" : [["CALL", ["SIMPLE_NAME", "green"]]]}
931
                    ]]}
932
                  ]], "when_stmt" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
933
                    "lhs" : ["SIMPLE_NAME", "colour"], "rhs" : [{
934
                      "value" : ["EXPRESSION", {
935
                        "args" : [["EXPRESSION", {
936
                          "args" : [["EXPRESSION", {
937
                            "args" : [["EXPRESSION", {
938
                              "args" : [["CONSTANT_VALUE", {
939
                                "value" : ["CST_LITERAL", "\"01\""]}
940
                              ]]}
941
                            ]]}
942
                          ]]}
943
                        ]]}
944
                      ]}
945
                    ]}
946
                  ]]}
947
                , {
948
                  "when_cond" : [["EXPRESSION", {
949
                    "args" : [["EXPRESSION", {
950
                      "args" : [["CALL", ["SIMPLE_NAME", "blue"]]]}
951
                    ]]}
952
                  ]], "when_stmt" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
953
                    "lhs" : ["SIMPLE_NAME", "colour"], "rhs" : [{
954
                      "value" : ["EXPRESSION", {
955
                        "args" : [["EXPRESSION", {
956
                          "args" : [["EXPRESSION", {
957
                            "args" : [["EXPRESSION", {
958
                              "args" : [["CONSTANT_VALUE", {
959
                                "value" : ["CST_LITERAL", "\"10\""]}
960
                              ]]}
961
                            ]]}
962
                          ]]}
963
                        ]]}
964
                      ]}
965
                    ]}
966
                  ]]}
967
                , {
968
                  "when_cond" : [["OTHERS"]], "when_stmt" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
969
                    "lhs" : ["SIMPLE_NAME", "colour"], "rhs" : [{
970
                      "value" : ["EXPRESSION", {
971
                        "args" : [["EXPRESSION", {
972
                          "args" : [["EXPRESSION", {
973
                            "args" : [["EXPRESSION", {
974
                              "args" : [["CONSTANT_VALUE", {
975
                                "value" : ["CST_LITERAL", "\"11\""]}
976
                              ]]}
977
                            ]]}
978
                          ]]}
979
                        ]]}
980
                      ]}
981
                    ]}
982
                  ]]}
983
                ]}
984
              ]]}
985
            ]}
986
          ]]}
987
        ], ["PROCESS_STATEMENT", {
988
          "active_sigs" : [["SIMPLE_NAME", "clk"], ["SIMPLE_NAME", "rstn"]], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
989
            "if_cases" : [{
990
              "if_cond" : ["EXPRESSION", {
991
                "id" : "=", "args" : [["EXPRESSION", {
992
                  "args" : [["EXPRESSION", {
993
                    "args" : [["EXPRESSION", {
994
                      "args" : [["CALL", ["SIMPLE_NAME", "rstn"]]]}
995
                    ]]}
996
                  ]]}
997
                ], ["EXPRESSION", {
998
                  "args" : [["EXPRESSION", {
999
                    "args" : [["EXPRESSION", {
1000
                      "args" : [["CONSTANT_VALUE", {
1001
                        "value" : ["CST_LITERAL", "'0'"]}
1002
                      ]]}
1003
                    ]]}
1004
                  ]]}
1005
                ]]}
1006
              ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1007
                "lhs" : ["SIMPLE_NAME", "status"], "rhs" : [{
1008
                  "value" : ["EXPRESSION", {
1009
                    "args" : [["EXPRESSION", {
1010
                      "args" : [["EXPRESSION", {
1011
                        "args" : [["EXPRESSION", {
1012
                          "args" : [["CALL", ["SIMPLE_NAME", "red"]]]}
1013
                        ]]}
1014
                      ]]}
1015
                    ]]}
1016
                  ]}
1017
                ]}
1018
              ]]}
1019
            , {
1020
              "if_cond" : ["EXPRESSION", {
1021
                "args" : [["EXPRESSION", {
1022
                  "args" : [["EXPRESSION", {
1023
                    "args" : [["EXPRESSION", {
1024
                      "args" : [["CALL", ["FUNCTION_CALL", {
1025
                        "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
1026
                          "actual_designator" : ["SIMPLE_NAME", "clk"]}
1027
                        ]}
1028
                      ]]]}
1029
                    ]]}
1030
                  ]]}
1031
                ]]}
1032
              ], "if_block" : [["CASE_STATEMENT_TREE", {
1033
                "guard" : ["EXPRESSION", {
1034
                  "args" : [["EXPRESSION", {
1035
                    "args" : [["EXPRESSION", {
1036
                      "args" : [["EXPRESSION", {
1037
                        "args" : [["CALL", ["SIMPLE_NAME", "status"]]]}
1038
                      ]]}
1039
                    ]]}
1040
                  ]]}
1041
                ], "branches" : [{
1042
                  "when_cond" : [["EXPRESSION", {
1043
                    "args" : [["EXPRESSION", {
1044
                      "args" : [["CALL", ["SIMPLE_NAME", "red"]]]}
1045
                    ]]}
1046
                  ]], "when_stmt" : [["IF_STATEMENT", {
1047
                    "if_cases" : [{
1048
                      "if_cond" : ["EXPRESSION", {
1049
                        "id" : "=", "args" : [["EXPRESSION", {
1050
                          "args" : [["EXPRESSION", {
1051
                            "args" : [["EXPRESSION", {
1052
                              "args" : [["CALL", ["SIMPLE_NAME", "pix_req"]]]}
1053
                            ]]}
1054
                          ]]}
1055
                        ], ["EXPRESSION", {
1056
                          "args" : [["EXPRESSION", {
1057
                            "args" : [["EXPRESSION", {
1058
                              "args" : [["CONSTANT_VALUE", {
1059
                                "value" : ["CST_LITERAL", "'1'"]}
1060
                              ]]}
1061
                            ]]}
1062
                          ]]}
1063
                        ]]}
1064
                      ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1065
                        "lhs" : ["SIMPLE_NAME", "status"], "rhs" : [{
1066
                          "value" : ["EXPRESSION", {
1067
                            "args" : [["EXPRESSION", {
1068
                              "args" : [["EXPRESSION", {
1069
                                "args" : [["EXPRESSION", {
1070
                                  "args" : [["CALL", ["SIMPLE_NAME", "green"]]]}
1071
                                ]]}
1072
                              ]]}
1073
                            ]]}
1074
                          ]}
1075
                        ]}
1076
                      ]]}
1077
                    ]}
1078
                  ]]}
1079
                , {
1080
                  "when_cond" : [["EXPRESSION", {
1081
                    "args" : [["EXPRESSION", {
1082
                      "args" : [["CALL", ["SIMPLE_NAME", "green"]]]}
1083
                    ]]}
1084
                  ]], "when_stmt" : [["IF_STATEMENT", {
1085
                    "if_cases" : [{
1086
                      "if_cond" : ["EXPRESSION", {
1087
                        "id" : "=", "args" : [["EXPRESSION", {
1088
                          "args" : [["EXPRESSION", {
1089
                            "args" : [["EXPRESSION", {
1090
                              "args" : [["CALL", ["FUNCTION_CALL", {
1091
                                "id" : ["SIMPLE_NAME", "a"], "assoc_list" : [{
1092
                                  "actual_expr" : ["EXPRESSION", {
1093
                                    "args" : [["EXPRESSION", {
1094
                                      "args" : [["EXPRESSION", {
1095
                                        "args" : [["EXPRESSION", {
1096
                                          "args" : [["CONSTANT_VALUE", {
1097
                                            "value" : ["CST_LITERAL", "3"]}
1098
                                          ]]}
1099
                                        ]]}
1100
                                      ]]}
1101
                                    ]]}
1102
                                  ]}
1103
                                ]}
1104
                              ]]]}
1105
                            ]]}
1106
                          ]]}
1107
                        ], ["EXPRESSION", {
1108
                          "args" : [["EXPRESSION", {
1109
                            "args" : [["EXPRESSION", {
1110
                              "args" : [["CONSTANT_VALUE", {
1111
                                "value" : ["CST_LITERAL", "'1'"]}
1112
                              ]]}
1113
                            ]]}
1114
                          ]]}
1115
                        ]]}
1116
                      ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1117
                        "lhs" : ["SIMPLE_NAME", "start"], "rhs" : [{
1118
                          "value" : ["EXPRESSION", {
1119
                            "args" : [["EXPRESSION", {
1120
                              "args" : [["EXPRESSION", {
1121
                                "args" : [["EXPRESSION", {
1122
                                  "args" : [["CALL", ["SIMPLE_NAME", "start_dec"]]]}
1123
                                ]]}
1124
                              ]]}
1125
                            ]]}
1126
                          ]}
1127
                        ]}
1128
                      ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
1129
                        "lhs" : ["SIMPLE_NAME", "status"], "rhs" : [{
1130
                          "value" : ["EXPRESSION", {
1131
                            "args" : [["EXPRESSION", {
1132
                              "args" : [["EXPRESSION", {
1133
                                "args" : [["EXPRESSION", {
1134
                                  "args" : [["CALL", ["SIMPLE_NAME", "blue"]]]}
1135
                                ]]}
1136
                              ]]}
1137
                            ]]}
1138
                          ]}
1139
                        ]}
1140
                      ]]}
1141
                    , {
1142
                      "if_cond" : ["EXPRESSION", {
1143
                        "id" : "=", "args" : [["EXPRESSION", {
1144
                          "args" : [["EXPRESSION", {
1145
                            "args" : [["EXPRESSION", {
1146
                              "args" : [["EXPRESSION", {
1147
                                "args" : [["EXPRESSION", {
1148
                                  "args" : [["EXPRESSION", {
1149
                                    "args" : [["EXPRESSION", {
1150
                                      "id" : "&", "args" : [["EXPRESSION", {
1151
                                        "args" : [["CALL", ["FUNCTION_CALL", {
1152
                                          "id" : ["SIMPLE_NAME", "b"], "assoc_list" : [{
1153
                                            "actual_expr" : ["EXPRESSION", {
1154
                                              "args" : [["EXPRESSION", {
1155
                                                "args" : [["EXPRESSION", {
1156
                                                  "args" : [["EXPRESSION", {
1157
                                                    "args" : [["CONSTANT_VALUE", {
1158
                                                      "value" : ["CST_LITERAL", "5"]}
1159
                                                    ]]}
1160
                                                  ]]}
1161
                                                ]]}
1162
                                              ]]}
1163
                                            ]}
1164
                                          ]}
1165
                                        ]]]}
1166
                                      ], ["EXPRESSION", {
1167
                                        "args" : [["CALL", ["SLICE_NAME", {
1168
                                          "id" : ["SIMPLE_NAME", "a"], "range" : ["RANGE_WITH_DIRECTION", {
1169
                                            "direction" : "downto", "from" : ["EXPRESSION", {
1170
                                              "args" : [["EXPRESSION", {
1171
                                                "args" : [["CONSTANT_VALUE", {
1172
                                                  "value" : ["CST_LITERAL", "3"]}
1173
                                                ]]}
1174
                                              ]]}
1175
                                            ], "_to" : ["EXPRESSION", {
1176
                                              "args" : [["EXPRESSION", {
1177
                                                "args" : [["CONSTANT_VALUE", {
1178
                                                  "value" : ["CST_LITERAL", "2"]}
1179
                                                ]]}
1180
                                              ]]}
1181
                                            ]}
1182
                                          ]}
1183
                                        ]]]}
1184
                                      ]]}
1185
                                    ]]}
1186
                                  ]]}
1187
                                ]]}
1188
                              ]]}
1189
                            ]]}
1190
                          ]]}
1191
                        ], ["EXPRESSION", {
1192
                          "args" : [["EXPRESSION", {
1193
                            "args" : [["EXPRESSION", {
1194
                              "args" : [["CONSTANT_VALUE", {
1195
                                "value" : ["CST_LITERAL", "\"001\""]}
1196
                              ]]}
1197
                            ]]}
1198
                          ]]}
1199
                        ]]}
1200
                      ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1201
                        "lhs" : ["SIMPLE_NAME", "status"], "rhs" : [{
1202
                          "value" : ["EXPRESSION", {
1203
                            "args" : [["EXPRESSION", {
1204
                              "args" : [["EXPRESSION", {
1205
                                "args" : [["EXPRESSION", {
1206
                                  "args" : [["CALL", ["SIMPLE_NAME", "yellow"]]]}
1207
                                ]]}
1208
                              ]]}
1209
                            ]]}
1210
                          ]}
1211
                        ]}
1212
                      ]]}
1213
                    ]}
1214
                  ]]}
1215
                , {
1216
                  "when_cond" : [["EXPRESSION", {
1217
                    "args" : [["EXPRESSION", {
1218
                      "args" : [["CALL", ["SIMPLE_NAME", "blue"]]]}
1219
                    ]]}
1220
                  ]], "when_stmt" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1221
                    "lhs" : ["SIMPLE_NAME", "status"], "rhs" : [{
1222
                      "value" : ["EXPRESSION", {
1223
                        "args" : [["EXPRESSION", {
1224
                          "args" : [["EXPRESSION", {
1225
                            "args" : [["EXPRESSION", {
1226
                              "args" : [["CALL", ["SIMPLE_NAME", "yellow"]]]}
1227
                            ]]}
1228
                          ]]}
1229
                        ]]}
1230
                      ]}
1231
                    ]}
1232
                  ]]}
1233
                , {
1234
                  "when_cond" : [["OTHERS"]], "when_stmt" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1235
                    "lhs" : ["SIMPLE_NAME", "start"], "rhs" : [{
1236
                      "value" : ["EXPRESSION", {
1237
                        "args" : [["EXPRESSION", {
1238
                          "args" : [["EXPRESSION", {
1239
                            "args" : [["EXPRESSION", {
1240
                              "args" : [["CONSTANT_VALUE", {
1241
                                "value" : ["CST_LITERAL", "'0'"]}
1242
                              ]]}
1243
                            ]]}
1244
                          ]]}
1245
                        ]]}
1246
                      ]}
1247
                    ]}
1248
                  ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
1249
                    "lhs" : ["SIMPLE_NAME", "status"], "rhs" : [{
1250
                      "value" : ["EXPRESSION", {
1251
                        "args" : [["EXPRESSION", {
1252
                          "args" : [["EXPRESSION", {
1253
                            "args" : [["EXPRESSION", {
1254
                              "args" : [["CALL", ["SIMPLE_NAME", "red"]]]}
1255
                            ]]}
1256
                          ]]}
1257
                        ]]}
1258
                      ]}
1259
                    ]}
1260
                  ]]}
1261
                ]}
1262
              ]]}
1263
            ]}
1264
          ]]}
1265
        ], ["SELECTED_SIGNAL_ASSIGNMENT", {
1266
          "postponed" : false, "lhs" : ["SLICE_NAME", {
1267
            "id" : ["SIMPLE_NAME", "code"], "range" : ["RANGE_WITH_DIRECTION", {
1268
              "direction" : "downto", "from" : ["EXPRESSION", {
1269
                "args" : [["EXPRESSION", {
1270
                  "args" : [["CONSTANT_VALUE", {
1271
                    "value" : ["CST_LITERAL", "9"]}
1272
                  ]]}
1273
                ]]}
1274
              ], "_to" : ["EXPRESSION", {
1275
                "args" : [["EXPRESSION", {
1276
                  "args" : [["CONSTANT_VALUE", {
1277
                    "value" : ["CST_LITERAL", "2"]}
1278
                  ]]}
1279
                ]]}
1280
              ]}
1281
            ]}
1282
          ], "sel" : ["EXPRESSION", {
1283
            "args" : [["EXPRESSION", {
1284
              "args" : [["EXPRESSION", {
1285
                "args" : [["EXPRESSION", {
1286
                  "args" : [["CALL", ["SLICE_NAME", {
1287
                    "id" : ["SIMPLE_NAME", "memaddr"], "range" : ["RANGE_WITH_DIRECTION", {
1288
                      "direction" : "downto", "from" : ["EXPRESSION", {
1289
                        "args" : [["EXPRESSION", {
1290
                          "args" : [["CONSTANT_VALUE", {
1291
                            "value" : ["CST_LITERAL", "2"]}
1292
                          ]]}
1293
                        ]]}
1294
                      ], "_to" : ["EXPRESSION", {
1295
                        "args" : [["EXPRESSION", {
1296
                          "args" : [["CONSTANT_VALUE", {
1297
                            "value" : ["CST_LITERAL", "0"]}
1298
                          ]]}
1299
                        ]]}
1300
                      ]}
1301
                    ]}
1302
                  ]]]}
1303
                ]]}
1304
              ]]}
1305
            ]]}
1306
          ], "branches" : [{
1307
            "expr" : [{
1308
              "value" : ["EXPRESSION", {
1309
                "args" : [["EXPRESSION", {
1310
                  "args" : [["EXPRESSION", {
1311
                    "args" : [["EXPRESSION", {
1312
                      "id" : "&", "args" : [["EXPRESSION", {
1313
                        "args" : [["CONSTANT_VALUE", {
1314
                          "value" : ["CST_LITERAL", "\"110\""]}
1315
                        ]]}
1316
                      ], ["EXPRESSION", {
1317
                        "args" : [["CALL", ["SLICE_NAME", {
1318
                          "id" : ["SIMPLE_NAME", "pack"], "range" : ["RANGE_WITH_DIRECTION", {
1319
                            "direction" : "downto", "from" : ["EXPRESSION", {
1320
                              "args" : [["EXPRESSION", {
1321
                                "args" : [["CONSTANT_VALUE", {
1322
                                  "value" : ["CST_LITERAL", "6"]}
1323
                                ]]}
1324
                              ]]}
1325
                            ], "_to" : ["EXPRESSION", {
1326
                              "args" : [["EXPRESSION", {
1327
                                "args" : [["CONSTANT_VALUE", {
1328
                                  "value" : ["CST_LITERAL", "2"]}
1329
                                ]]}
1330
                              ]]}
1331
                            ]}
1332
                          ]}
1333
                        ]]]}
1334
                      ]]}
1335
                    ]]}
1336
                  ]]}
1337
                ]]}
1338
              ]}
1339
            ], "when_sel" : [["EXPRESSION", {
1340
              "args" : [["EXPRESSION", {
1341
                "args" : [["CONSTANT_VALUE", {
1342
                  "value" : ["CST_LITERAL", "\"000\""]}
1343
                ]]}
1344
              ]]}
1345
            ], ["EXPRESSION", {
1346
              "args" : [["EXPRESSION", {
1347
                "args" : [["CONSTANT_VALUE", {
1348
                  "value" : ["CST_LITERAL", "\"110\""]}
1349
                ]]}
1350
              ]]}
1351
            ]]}
1352
          , {
1353
            "expr" : [{
1354
              "value" : ["EXPRESSION", {
1355
                "args" : [["EXPRESSION", {
1356
                  "args" : [["EXPRESSION", {
1357
                    "args" : [["EXPRESSION", {
1358
                      "args" : [["CONSTANT_VALUE", {
1359
                        "value" : ["CST_LITERAL", "\"11100010\""]}
1360
                      ]]}
1361
                    ]]}
1362
                  ]]}
1363
                ]]}
1364
              ]}
1365
            ], "when_sel" : [["EXPRESSION", {
1366
              "args" : [["EXPRESSION", {
1367
                "args" : [["CONSTANT_VALUE", {
1368
                  "value" : ["CST_LITERAL", "\"101\""]}
1369
                ]]}
1370
              ]]}
1371
            ]]}
1372
          , {
1373
            "expr" : [{
1374
              "value" : ["EXPRESSION", {
1375
                "args" : [["EXPRESSION", {
1376
                  "args" : [["EXPRESSION", {
1377
                    "args" : [["EXPRESSION", {
1378
                      "args" : [["AGGREGATE", {
1379
                        "elems" : [{
1380
                          "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
1381
                            "args" : [["EXPRESSION", {
1382
                              "args" : [["EXPRESSION", {
1383
                                "args" : [["EXPRESSION", {
1384
                                  "args" : [["CONSTANT_VALUE", {
1385
                                    "value" : ["CST_LITERAL", "'1'"]}
1386
                                  ]]}
1387
                                ]]}
1388
                              ]]}
1389
                            ]]}
1390
                          ]}
1391
                        ]}
1392
                      ]]}
1393
                    ]]}
1394
                  ]]}
1395
                ]]}
1396
              ]}
1397
            ], "when_sel" : [["EXPRESSION", {
1398
              "args" : [["EXPRESSION", {
1399
                "args" : [["CONSTANT_VALUE", {
1400
                  "value" : ["CST_LITERAL", "\"010\""]}
1401
                ]]}
1402
              ]]}
1403
            ]]}
1404
          , {
1405
            "expr" : [{
1406
              "value" : ["EXPRESSION", {
1407
                "args" : [["EXPRESSION", {
1408
                  "args" : [["EXPRESSION", {
1409
                    "args" : [["EXPRESSION", {
1410
                      "args" : [["AGGREGATE", {
1411
                        "elems" : [{
1412
                          "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
1413
                            "args" : [["EXPRESSION", {
1414
                              "args" : [["EXPRESSION", {
1415
                                "args" : [["EXPRESSION", {
1416
                                  "args" : [["CONSTANT_VALUE", {
1417
                                    "value" : ["CST_LITERAL", "'0'"]}
1418
                                  ]]}
1419
                                ]]}
1420
                              ]]}
1421
                            ]]}
1422
                          ]}
1423
                        ]}
1424
                      ]]}
1425
                    ]]}
1426
                  ]]}
1427
                ]]}
1428
              ]}
1429
            ], "when_sel" : [["EXPRESSION", {
1430
              "args" : [["EXPRESSION", {
1431
                "args" : [["CONSTANT_VALUE", {
1432
                  "value" : ["CST_LITERAL", "\"011\""]}
1433
                ]]}
1434
              ]]}
1435
            ]]}
1436
          , {
1437
            "expr" : [{
1438
              "value" : ["EXPRESSION", {
1439
                "args" : [["EXPRESSION", {
1440
                  "args" : [["EXPRESSION", {
1441
                    "args" : [["EXPRESSION", {
1442
                      "id" : "+", "args" : [["EXPRESSION", {
1443
                        "id" : "+", "args" : [["EXPRESSION", {
1444
                          "args" : [["CALL", ["SIMPLE_NAME", "a"]]]}
1445
                        ], ["EXPRESSION", {
1446
                          "args" : [["CALL", ["SIMPLE_NAME", "b"]]]}
1447
                        ]]}
1448
                      ], ["EXPRESSION", {
1449
                        "args" : [["CONSTANT_VALUE", {
1450
                          "value" : ["CST_LITERAL", "'1'"]}
1451
                        ]]}
1452
                      ]]}
1453
                    ]]}
1454
                  ]]}
1455
                ]]}
1456
              ]}
1457
            ], "when_sel" : [["OTHERS"]]}
1458
          ]}
1459
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1460
          "postponed" : false, "lhs" : ["SLICE_NAME", {
1461
            "id" : ["SIMPLE_NAME", "code1"], "range" : ["RANGE_WITH_DIRECTION", {
1462
              "direction" : "downto", "from" : ["EXPRESSION", {
1463
                "args" : [["EXPRESSION", {
1464
                  "args" : [["CONSTANT_VALUE", {
1465
                    "value" : ["CST_LITERAL", "1"]}
1466
                  ]]}
1467
                ]]}
1468
              ], "_to" : ["EXPRESSION", {
1469
                "args" : [["EXPRESSION", {
1470
                  "args" : [["CONSTANT_VALUE", {
1471
                    "value" : ["CST_LITERAL", "0"]}
1472
                  ]]}
1473
                ]]}
1474
              ]}
1475
            ]}
1476
          ], "rhs" : [{
1477
            "expr" : [{
1478
              "value" : ["EXPRESSION", {
1479
                "id" : "xor", "args" : [["EXPRESSION", {
1480
                  "args" : [["EXPRESSION", {
1481
                    "args" : [["EXPRESSION", {
1482
                      "args" : [["EXPRESSION", {
1483
                        "args" : [["CALL", ["SLICE_NAME", {
1484
                          "id" : ["SIMPLE_NAME", "a"], "range" : ["RANGE_WITH_DIRECTION", {
1485
                            "direction" : "downto", "from" : ["EXPRESSION", {
1486
                              "args" : [["EXPRESSION", {
1487
                                "args" : [["CONSTANT_VALUE", {
1488
                                  "value" : ["CST_LITERAL", "6"]}
1489
                                ]]}
1490
                              ]]}
1491
                            ], "_to" : ["EXPRESSION", {
1492
                              "args" : [["EXPRESSION", {
1493
                                "args" : [["CONSTANT_VALUE", {
1494
                                  "value" : ["CST_LITERAL", "5"]}
1495
                                ]]}
1496
                              ]]}
1497
                            ]}
1498
                          ]}
1499
                        ]]]}
1500
                      ]]}
1501
                    ]]}
1502
                  ]]}
1503
                ], ["EXPRESSION", {
1504
                  "args" : [["EXPRESSION", {
1505
                    "args" : [["EXPRESSION", {
1506
                      "args" : [["EXPRESSION", {
1507
                        "args" : [["EXPRESSION", {
1508
                          "args" : [["EXPRESSION", {
1509
                            "args" : [["EXPRESSION", {
1510
                              "args" : [["EXPRESSION", {
1511
                                "id" : "&", "args" : [["EXPRESSION", {
1512
                                  "args" : [["CALL", ["FUNCTION_CALL", {
1513
                                    "id" : ["SIMPLE_NAME", "a"], "assoc_list" : [{
1514
                                      "actual_expr" : ["EXPRESSION", {
1515
                                        "args" : [["EXPRESSION", {
1516
                                          "args" : [["EXPRESSION", {
1517
                                            "args" : [["EXPRESSION", {
1518
                                              "args" : [["CONSTANT_VALUE", {
1519
                                                "value" : ["CST_LITERAL", "4"]}
1520
                                              ]]}
1521
                                            ]]}
1522
                                          ]]}
1523
                                        ]]}
1524
                                      ]}
1525
                                    ]}
1526
                                  ]]]}
1527
                                ], ["EXPRESSION", {
1528
                                  "args" : [["CALL", ["FUNCTION_CALL", {
1529
                                    "id" : ["SIMPLE_NAME", "b"], "assoc_list" : [{
1530
                                      "actual_expr" : ["EXPRESSION", {
1531
                                        "args" : [["EXPRESSION", {
1532
                                          "args" : [["EXPRESSION", {
1533
                                            "args" : [["EXPRESSION", {
1534
                                              "args" : [["CONSTANT_VALUE", {
1535
                                                "value" : ["CST_LITERAL", "6"]}
1536
                                              ]]}
1537
                                            ]]}
1538
                                          ]]}
1539
                                        ]]}
1540
                                      ]}
1541
                                    ]}
1542
                                  ]]]}
1543
                                ]]}
1544
                              ]]}
1545
                            ]]}
1546
                          ]]}
1547
                        ]]}
1548
                      ]]}
1549
                    ]]}
1550
                  ]]}
1551
                ]]}
1552
              ]}
1553
            ]}
1554
          ]}
1555
        ], ["PROCESS_STATEMENT", {
1556
          "id" : ["IDENTIFIER", "decode"], "active_sigs" : [["SIMPLE_NAME", "we"], ["SIMPLE_NAME", "addr"], ["SIMPLE_NAME", "config"], ["SIMPLE_NAME", "bip"]], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
1557
            "if_cases" : [{
1558
              "if_cond" : ["EXPRESSION", {
1559
                "id" : "=", "args" : [["EXPRESSION", {
1560
                  "args" : [["EXPRESSION", {
1561
                    "args" : [["EXPRESSION", {
1562
                      "args" : [["CALL", ["SIMPLE_NAME", "we"]]]}
1563
                    ]]}
1564
                  ]]}
1565
                ], ["EXPRESSION", {
1566
                  "args" : [["EXPRESSION", {
1567
                    "args" : [["EXPRESSION", {
1568
                      "args" : [["CONSTANT_VALUE", {
1569
                        "value" : ["CST_LITERAL", "'1'"]}
1570
                      ]]}
1571
                    ]]}
1572
                  ]]}
1573
                ]]}
1574
              ], "if_block" : [["IF_STATEMENT", {
1575
                "if_cases" : [{
1576
                  "if_cond" : ["EXPRESSION", {
1577
                    "id" : "=", "args" : [["EXPRESSION", {
1578
                      "args" : [["EXPRESSION", {
1579
                        "args" : [["EXPRESSION", {
1580
                          "args" : [["CALL", ["SLICE_NAME", {
1581
                            "id" : ["SIMPLE_NAME", "addr"], "range" : ["RANGE_WITH_DIRECTION", {
1582
                              "direction" : "downto", "from" : ["EXPRESSION", {
1583
                                "args" : [["EXPRESSION", {
1584
                                  "args" : [["CONSTANT_VALUE", {
1585
                                    "value" : ["CST_LITERAL", "2"]}
1586
                                  ]]}
1587
                                ]]}
1588
                              ], "_to" : ["EXPRESSION", {
1589
                                "args" : [["EXPRESSION", {
1590
                                  "args" : [["CONSTANT_VALUE", {
1591
                                    "value" : ["CST_LITERAL", "0"]}
1592
                                  ]]}
1593
                                ]]}
1594
                              ]}
1595
                            ]}
1596
                          ]]]}
1597
                        ]]}
1598
                      ]]}
1599
                    ], ["EXPRESSION", {
1600
                      "args" : [["EXPRESSION", {
1601
                        "args" : [["EXPRESSION", {
1602
                          "args" : [["CONSTANT_VALUE", {
1603
                            "value" : ["CST_LITERAL", "\"100\""]}
1604
                          ]]}
1605
                        ]]}
1606
                      ]]}
1607
                    ]]}
1608
                  ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1609
                    "lhs" : ["SIMPLE_NAME", "selection"], "rhs" : [{
1610
                      "value" : ["EXPRESSION", {
1611
                        "args" : [["EXPRESSION", {
1612
                          "args" : [["EXPRESSION", {
1613
                            "args" : [["EXPRESSION", {
1614
                              "args" : [["CONSTANT_VALUE", {
1615
                                "value" : ["CST_LITERAL", "'1'"]}
1616
                              ]]}
1617
                            ]]}
1618
                          ]]}
1619
                        ]]}
1620
                      ]}
1621
                    ]}
1622
                  ]]}
1623
                , {
1624
                  "if_cond" : ["EXPRESSION", {
1625
                    "id" : "and", "args" : [["EXPRESSION", {
1626
                      "id" : "=", "args" : [["EXPRESSION", {
1627
                        "args" : [["EXPRESSION", {
1628
                          "args" : [["EXPRESSION", {
1629
                            "args" : [["EXPRESSION", {
1630
                              "args" : [["EXPRESSION", {
1631
                                "args" : [["EXPRESSION", {
1632
                                  "args" : [["EXPRESSION", {
1633
                                    "id" : "&", "args" : [["EXPRESSION", {
1634
                                      "args" : [["CALL", ["SIMPLE_NAME", "b"]]]}
1635
                                    ], ["EXPRESSION", {
1636
                                      "args" : [["CALL", ["SIMPLE_NAME", "a"]]]}
1637
                                    ]]}
1638
                                  ]]}
1639
                                ]]}
1640
                              ]]}
1641
                            ]]}
1642
                          ]]}
1643
                        ]]}
1644
                      ], ["EXPRESSION", {
1645
                        "args" : [["EXPRESSION", {
1646
                          "args" : [["EXPRESSION", {
1647
                            "id" : "&", "args" : [["EXPRESSION", {
1648
                              "args" : [["CALL", ["SIMPLE_NAME", "a"]]]}
1649
                            ], ["EXPRESSION", {
1650
                              "args" : [["CALL", ["SIMPLE_NAME", "b"]]]}
1651
                            ]]}
1652
                          ]]}
1653
                        ]]}
1654
                      ]]}
1655
                    ], ["EXPRESSION", {
1656
                      "id" : "=", "args" : [["EXPRESSION", {
1657
                        "args" : [["EXPRESSION", {
1658
                          "args" : [["EXPRESSION", {
1659
                            "args" : [["CALL", ["SIMPLE_NAME", "bip"]]]}
1660
                          ]]}
1661
                        ]]}
1662
                      ], ["EXPRESSION", {
1663
                        "args" : [["EXPRESSION", {
1664
                          "args" : [["EXPRESSION", {
1665
                            "args" : [["CONSTANT_VALUE", {
1666
                              "value" : ["CST_LITERAL", "'0'"]}
1667
                            ]]}
1668
                          ]]}
1669
                        ]]}
1670
                      ]]}
1671
                    ]]}
1672
                  ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1673
                    "lhs" : ["SIMPLE_NAME", "selection"], "rhs" : [{
1674
                      "value" : ["EXPRESSION", {
1675
                        "args" : [["EXPRESSION", {
1676
                          "args" : [["EXPRESSION", {
1677
                            "args" : [["EXPRESSION", {
1678
                              "args" : [["CALL", ["SIMPLE_NAME", "config"]]]}
1679
                            ]]}
1680
                          ]]}
1681
                        ]]}
1682
                      ]}
1683
                    ]}
1684
                  ]]}
1685
                ], "default" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1686
                  "lhs" : ["SIMPLE_NAME", "selection"], "rhs" : [{
1687
                    "value" : ["EXPRESSION", {
1688
                      "args" : [["EXPRESSION", {
1689
                        "args" : [["EXPRESSION", {
1690
                          "args" : [["EXPRESSION", {
1691
                            "args" : [["CONSTANT_VALUE", {
1692
                              "value" : ["CST_LITERAL", "'1'"]}
1693
                            ]]}
1694
                          ]]}
1695
                        ]]}
1696
                      ]]}
1697
                    ]}
1698
                  ]}
1699
                ]]}
1700
              ]]}
1701
            ], "default" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
1702
              "lhs" : ["SIMPLE_NAME", "selection"], "rhs" : [{
1703
                "value" : ["EXPRESSION", {
1704
                  "args" : [["EXPRESSION", {
1705
                    "args" : [["EXPRESSION", {
1706
                      "args" : [["EXPRESSION", {
1707
                        "args" : [["CONSTANT_VALUE", {
1708
                          "value" : ["CST_LITERAL", "'0'"]}
1709
                        ]]}
1710
                      ]]}
1711
                    ]]}
1712
                  ]]}
1713
                ]}
1714
              ]}
1715
            ]]}
1716
          ]]}
1717
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
1718
          "name" : ["IDENTIFIER", "dsp_inst"], "inst_unit" : ["SIMPLE_NAME", "dsp"], "inst_unit_type" : "component", "port_map" : [{
1719
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
1720
          , {
1721
            "formal_name" : ["SIMPLE_NAME", "rstn"], "actual_designator" : ["SIMPLE_NAME", "rstn"]}
1722
          , {
1723
            "formal_name" : ["SIMPLE_NAME", "en"], "actual_designator" : ["SIMPLE_NAME", "en"]}
1724
          , {
1725
            "formal_name" : ["SIMPLE_NAME", "start"], "actual_designator" : ["SIMPLE_NAME", "start"]}
1726
          , {
1727
            "formal_name" : ["SIMPLE_NAME", "param"], "actual_designator" : ["SIMPLE_NAME", "param"]}
1728
          , {
1729
            "formal_name" : ["SIMPLE_NAME", "addr"], "actual_designator" : ["SIMPLE_NAME", "addr"]}
1730
          , {
1731
            "formal_name" : ["SIMPLE_NAME", "din"], "actual_designator" : ["SIMPLE_NAME", "din"]}
1732
          , {
1733
            "formal_name" : ["SIMPLE_NAME", "we"], "actual_designator" : ["SIMPLE_NAME", "we"]}
1734
          , {
1735
            "formal_name" : ["SIMPLE_NAME", "memdin"], "actual_designator" : ["SIMPLE_NAME", "memdin"]}
1736
          , {
1737
            "formal_name" : ["SIMPLE_NAME", "dout"], "actual_designator" : ["SIMPLE_NAME", "dout"]}
1738
          , {
1739
            "formal_name" : ["SIMPLE_NAME", "memaddr"], "actual_designator" : ["SIMPLE_NAME", "memaddr"]}
1740
          , {
1741
            "formal_name" : ["SIMPLE_NAME", "memdout"], "actual_designator" : ["SIMPLE_NAME", "memdout"]}
1742
          ]}
1743
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
1744
          "name" : ["IDENTIFIER", "dsp_mem"], "inst_unit" : ["SIMPLE_NAME", "mem"], "inst_unit_type" : "component", "port_map" : [{
1745
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
1746
          , {
1747
            "formal_name" : ["SIMPLE_NAME", "rstn"], "actual_designator" : ["SIMPLE_NAME", "rstn"]}
1748
          , {
1749
            "formal_name" : ["SIMPLE_NAME", "en"], "actual_designator" : ["SIMPLE_NAME", "en"]}
1750
          , {
1751
            "formal_name" : ["SIMPLE_NAME", "cs"], "actual_designator" : ["SIMPLE_NAME", "selection"]}
1752
          , {
1753
            "formal_name" : ["SIMPLE_NAME", "addr"], "actual_designator" : ["SIMPLE_NAME", "memaddr"]}
1754
          , {
1755
            "formal_name" : ["SIMPLE_NAME", "din"], "actual_designator" : ["SIMPLE_NAME", "memdout"]}
1756
          , {
1757
            "formal_name" : ["SIMPLE_NAME", "dout"], "actual_designator" : ["SIMPLE_NAME", "memdin"]}
1758
          ]}
1759
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1760
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "complex"], "rhs" : [{
1761
            "expr" : [{
1762
              "value" : ["EXPRESSION", {
1763
                "args" : [["EXPRESSION", {
1764
                  "args" : [["EXPRESSION", {
1765
                    "args" : [["EXPRESSION", {
1766
                      "id" : "&", "args" : [["EXPRESSION", {
1767
                        "id" : "&", "args" : [["EXPRESSION", {
1768
                          "id" : "&", "args" : [["EXPRESSION", {
1769
                            "id" : "&", "args" : [["EXPRESSION", {
1770
                              "args" : [["CALL", ["SIMPLE_NAME", "enf"]]]}
1771
                            ], ["EXPRESSION", {
1772
                              "args" : [["EXPRESSION", {
1773
                                "args" : [["EXPRESSION", {
1774
                                  "args" : [["EXPRESSION", {
1775
                                    "args" : [["EXPRESSION", {
1776
                                      "id" : "*", "args" : [["EXPRESSION", {
1777
                                        "args" : [["CONSTANT_VALUE", {
1778
                                          "value" : ["CST_LITERAL", "\"110\""]}
1779
                                        ]]}
1780
                                      ], ["EXPRESSION", {
1781
                                        "args" : [["CALL", ["SIMPLE_NAME", "load"]]]}
1782
                                      ]]}
1783
                                    ]]}
1784
                                  ]]}
1785
                                ]]}
1786
                              ]]}
1787
                            ]]}
1788
                          ], ["EXPRESSION", {
1789
                            "args" : [["CALL", ["SLICE_NAME", {
1790
                              "id" : ["SIMPLE_NAME", "qtd"], "range" : ["RANGE_WITH_DIRECTION", {
1791
                                "direction" : "downto", "from" : ["EXPRESSION", {
1792
                                  "args" : [["EXPRESSION", {
1793
                                    "args" : [["CONSTANT_VALUE", {
1794
                                      "value" : ["CST_LITERAL", "3"]}
1795
                                    ]]}
1796
                                  ]]}
1797
                                ], "_to" : ["EXPRESSION", {
1798
                                  "args" : [["EXPRESSION", {
1799
                                    "args" : [["CONSTANT_VALUE", {
1800
                                      "value" : ["CST_LITERAL", "0"]}
1801
                                    ]]}
1802
                                  ]]}
1803
                                ]}
1804
                              ]}
1805
                            ]]]}
1806
                          ]]}
1807
                        ], ["EXPRESSION", {
1808
                          "args" : [["CALL", ["SIMPLE_NAME", "base"]]]}
1809
                        ]]}
1810
                      ], ["EXPRESSION", {
1811
                        "args" : [["CONSTANT_VALUE", {
1812
                          "value" : ["CST_LITERAL", "\"11001\""]}
1813
                        ]]}
1814
                      ]]}
1815
                    ]]}
1816
                  ]]}
1817
                ]]}
1818
              ]}
1819
            ]}
1820
          ]}
1821
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1822
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "enf"], "rhs" : [{
1823
            "expr" : [{
1824
              "value" : ["EXPRESSION", {
1825
                "args" : [["EXPRESSION", {
1826
                  "args" : [["EXPRESSION", {
1827
                    "args" : [["EXPRESSION", {
1828
                      "args" : [["CONSTANT_VALUE", {
1829
                        "value" : ["CST_LITERAL", "'1'"]}
1830
                      ]]}
1831
                    ]]}
1832
                  ]]}
1833
                ]]}
1834
              ]}
1835
            ], "cond" : ["EXPRESSION", {
1836
              "id" : "and", "args" : [["EXPRESSION", {
1837
                "id" : "=", "args" : [["EXPRESSION", {
1838
                  "args" : [["EXPRESSION", {
1839
                    "args" : [["EXPRESSION", {
1840
                      "args" : [["CALL", ["SIMPLE_NAME", "a"]]]}
1841
                    ]]}
1842
                  ]]}
1843
                ], ["EXPRESSION", {
1844
                  "args" : [["EXPRESSION", {
1845
                    "args" : [["EXPRESSION", {
1846
                      "id" : "+", "args" : [["EXPRESSION", {
1847
                        "args" : [["CONSTANT_VALUE", {
1848
                          "value" : ["CST_LITERAL", "\"1101111\""]}
1849
                        ]]}
1850
                      ], ["EXPRESSION", {
1851
                        "args" : [["CALL", ["SIMPLE_NAME", "load"]]]}
1852
                      ]]}
1853
                    ]]}
1854
                  ]]}
1855
                ]]}
1856
              ], ["EXPRESSION", {
1857
                "id" : "<", "args" : [["EXPRESSION", {
1858
                  "args" : [["EXPRESSION", {
1859
                    "args" : [["EXPRESSION", {
1860
                      "args" : [["CALL", ["SIMPLE_NAME", "c"]]]}
1861
                    ]]}
1862
                  ]]}
1863
                ], ["EXPRESSION", {
1864
                  "args" : [["EXPRESSION", {
1865
                    "args" : [["EXPRESSION", {
1866
                      "args" : [["CONSTANT_VALUE", {
1867
                        "value" : ["CST_LITERAL", "\"1000111\""]}
1868
                      ]]}
1869
                    ]]}
1870
                  ]]}
1871
                ]]}
1872
              ]]}
1873
            ]}
1874
          , {
1875
            "expr" : [{
1876
              "value" : ["EXPRESSION", {
1877
                "args" : [["EXPRESSION", {
1878
                  "args" : [["EXPRESSION", {
1879
                    "args" : [["EXPRESSION", {
1880
                      "args" : [["CONSTANT_VALUE", {
1881
                        "value" : ["CST_LITERAL", "'0'"]}
1882
                      ]]}
1883
                    ]]}
1884
                  ]]}
1885
                ]]}
1886
              ]}
1887
            ]}
1888
          ]}
1889
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1890
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "eno"], "rhs" : [{
1891
            "expr" : [{
1892
              "value" : ["EXPRESSION", {
1893
                "args" : [["EXPRESSION", {
1894
                  "args" : [["EXPRESSION", {
1895
                    "args" : [["EXPRESSION", {
1896
                      "args" : [["CALL", ["SIMPLE_NAME", "enf"]]]}
1897
                    ]]}
1898
                  ]]}
1899
                ]]}
1900
              ]}
1901
            ]}
1902
          ]}
1903
        ]]}
1904
      ]}
1905
    ]}
1906
  }
(13-13/14)