Project

General

Profile

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