Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (24.8 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_1164"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_textio"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "std"], ["SIMPLE_NAME", "textio"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "lfsr_updown_tb"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "test"], "entity" : ["IDENTIFIER", "lfsr_updown_tb"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["CONSTANT_DECLARATION", {
11
            "names" : [["IDENTIFIER", "WIDTH"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "integer"]}
13
            , "init_val" : ["EXPRESSION", {
14
              "args" : [["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["CONSTANT_VALUE", {
18
                      "value" : ["CST_LITERAL", "8"]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]]}
23
            ]}
24
          ]}
25
        , {
26
          "declaration" : ["SIGNAL_DECLARATION", {
27
            "names" : [["IDENTIFIER", "clk"]], "typ" : {
28
              "name" : ["SIMPLE_NAME", "std_logic"]}
29
            , "init_val" : ["EXPRESSION", {
30
              "args" : [["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["CONSTANT_VALUE", {
34
                      "value" : ["CST_LITERAL", "'0'"]}
35
                    ]]}
36
                  ]]}
37
                ]]}
38
              ]]}
39
            ]}
40
          ]}
41
        , {
42
          "declaration" : ["SIGNAL_DECLARATION", {
43
            "names" : [["IDENTIFIER", "reset"]], "typ" : {
44
              "name" : ["SIMPLE_NAME", "std_logic"]}
45
            , "init_val" : ["EXPRESSION", {
46
              "args" : [["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["CONSTANT_VALUE", {
50
                      "value" : ["CST_LITERAL", "'1'"]}
51
                    ]]}
52
                  ]]}
53
                ]]}
54
              ]]}
55
            ]}
56
          ]}
57
        , {
58
          "declaration" : ["SIGNAL_DECLARATION", {
59
            "names" : [["IDENTIFIER", "enable"]], "typ" : {
60
              "name" : ["SIMPLE_NAME", "std_logic"]}
61
            , "init_val" : ["EXPRESSION", {
62
              "args" : [["EXPRESSION", {
63
                "args" : [["EXPRESSION", {
64
                  "args" : [["EXPRESSION", {
65
                    "args" : [["CONSTANT_VALUE", {
66
                      "value" : ["CST_LITERAL", "'0'"]}
67
                    ]]}
68
                  ]]}
69
                ]]}
70
              ]]}
71
            ]}
72
          ]}
73
        , {
74
          "declaration" : ["SIGNAL_DECLARATION", {
75
            "names" : [["IDENTIFIER", "up_down"]], "typ" : {
76
              "name" : ["SIMPLE_NAME", "std_logic"]}
77
            , "init_val" : ["EXPRESSION", {
78
              "args" : [["EXPRESSION", {
79
                "args" : [["EXPRESSION", {
80
                  "args" : [["EXPRESSION", {
81
                    "args" : [["CONSTANT_VALUE", {
82
                      "value" : ["CST_LITERAL", "'0'"]}
83
                    ]]}
84
                  ]]}
85
                ]]}
86
              ]]}
87
            ]}
88
          ]}
89
        , {
90
          "declaration" : ["SIGNAL_DECLARATION", {
91
            "names" : [["IDENTIFIER", "count"]], "typ" : {
92
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
93
                "ranges" : [["RANGE_WITH_DIRECTION", {
94
                  "direction" : "downto", "from" : ["EXPRESSION", {
95
                    "args" : [["EXPRESSION", {
96
                      "id" : "-", "args" : [["EXPRESSION", {
97
                        "args" : [["CALL", ["SIMPLE_NAME", "WIDTH"]]]}
98
                      ], ["EXPRESSION", {
99
                        "args" : [["CONSTANT_VALUE", {
100
                          "value" : ["CST_LITERAL", "1"]}
101
                        ]]}
102
                      ]]}
103
                    ]]}
104
                  ], "_to" : ["EXPRESSION", {
105
                    "args" : [["EXPRESSION", {
106
                      "args" : [["CONSTANT_VALUE", {
107
                        "value" : ["CST_LITERAL", "0"]}
108
                      ]]}
109
                    ]]}
110
                  ]}
111
                ]]}
112
              ]}
113
            }
114
          ]}
115
        , {
116
          "declaration" : ["SIGNAL_DECLARATION", {
117
            "names" : [["IDENTIFIER", "overflow"]], "typ" : {
118
              "name" : ["SIMPLE_NAME", "std_logic"]}
119
            }
120
          ]}
121
        , {
122
          "declaration" : ["COMPONENT_DECLARATION", {
123
            "name" : ["IDENTIFIER", "lfsr_updown"], "generics" : [{
124
              "names" : [["IDENTIFIER", "WIDTH"]], "typ" : {
125
                "name" : ["SIMPLE_NAME", "integer"]}
126
              , "expr" : ["EXPRESSION", {
127
                "args" : [["EXPRESSION", {
128
                  "args" : [["EXPRESSION", {
129
                    "args" : [["EXPRESSION", {
130
                      "args" : [["CONSTANT_VALUE", {
131
                        "value" : ["CST_LITERAL", "8"]}
132
                      ]]}
133
                    ]]}
134
                  ]]}
135
                ]]}
136
              ]}
137
            ], "ports" : [{
138
              "names" : [["IDENTIFIER", "clk"]], "mode" : ["in"], "typ" : {
139
                "name" : ["SIMPLE_NAME", "std_logic"]}
140
              }
141
            , {
142
              "names" : [["IDENTIFIER", "reset"]], "mode" : ["in"], "typ" : {
143
                "name" : ["SIMPLE_NAME", "std_logic"]}
144
              }
145
            , {
146
              "names" : [["IDENTIFIER", "enable"]], "mode" : ["in"], "typ" : {
147
                "name" : ["SIMPLE_NAME", "std_logic"]}
148
              }
149
            , {
150
              "names" : [["IDENTIFIER", "up_down"]], "mode" : ["in"], "typ" : {
151
                "name" : ["SIMPLE_NAME", "std_logic"]}
152
              }
153
            , {
154
              "names" : [["IDENTIFIER", "count"]], "mode" : ["out"], "typ" : {
155
                "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
156
                  "ranges" : [["RANGE_WITH_DIRECTION", {
157
                    "direction" : "downto", "from" : ["EXPRESSION", {
158
                      "args" : [["EXPRESSION", {
159
                        "id" : "-", "args" : [["EXPRESSION", {
160
                          "args" : [["CALL", ["SIMPLE_NAME", "WIDTH"]]]}
161
                        ], ["EXPRESSION", {
162
                          "args" : [["CONSTANT_VALUE", {
163
                            "value" : ["CST_LITERAL", "1"]}
164
                          ]]}
165
                        ]]}
166
                      ]]}
167
                    ], "_to" : ["EXPRESSION", {
168
                      "args" : [["EXPRESSION", {
169
                        "args" : [["CONSTANT_VALUE", {
170
                          "value" : ["CST_LITERAL", "0"]}
171
                        ]]}
172
                      ]]}
173
                    ]}
174
                  ]]}
175
                ]}
176
              }
177
            , {
178
              "names" : [["IDENTIFIER", "overflow"]], "mode" : ["out"], "typ" : {
179
                "name" : ["SIMPLE_NAME", "std_logic"]}
180
              }
181
            ]}
182
          ]}
183
        , {
184
          "declaration" : ["CONSTANT_DECLARATION", {
185
            "names" : [["IDENTIFIER", "PERIOD"]], "typ" : {
186
              "name" : ["SIMPLE_NAME", "time"]}
187
            , "init_val" : ["EXPRESSION", {
188
              "args" : [["EXPRESSION", {
189
                "args" : [["EXPRESSION", {
190
                  "args" : [["EXPRESSION", {
191
                    "args" : [["CONSTANT_VALUE", {
192
                      "value" : ["CST_LITERAL", "20"], "unit_name" : ["SIMPLE_NAME", "ns"]}
193
                    ]]}
194
                  ]]}
195
                ]]}
196
              ]]}
197
            ]}
198
          ]}
199
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
200
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "clk"], "rhs" : [{
201
            "expr" : [{
202
              "value" : ["EXPRESSION", {
203
                "args" : [["EXPRESSION", {
204
                  "args" : [["EXPRESSION", {
205
                    "args" : [["EXPRESSION", {
206
                      "id" : "not", "args" : [["CALL", ["SIMPLE_NAME", "clk"]]]}
207
                    ]]}
208
                  ]]}
209
                ]]}
210
              ], "delay" : ["EXPRESSION", {
211
                "args" : [["EXPRESSION", {
212
                  "args" : [["EXPRESSION", {
213
                    "args" : [["EXPRESSION", {
214
                      "id" : "/", "args" : [["EXPRESSION", {
215
                        "args" : [["CALL", ["SIMPLE_NAME", "PERIOD"]]]}
216
                      ], ["EXPRESSION", {
217
                        "args" : [["CONSTANT_VALUE", {
218
                          "value" : ["CST_LITERAL", "2"]}
219
                        ]]}
220
                      ]]}
221
                    ]]}
222
                  ]]}
223
                ]]}
224
              ]}
225
            ]}
226
          ]}
227
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
228
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "reset"], "rhs" : [{
229
            "expr" : [{
230
              "value" : ["EXPRESSION", {
231
                "args" : [["EXPRESSION", {
232
                  "args" : [["EXPRESSION", {
233
                    "args" : [["EXPRESSION", {
234
                      "args" : [["CONSTANT_VALUE", {
235
                        "value" : ["CST_LITERAL", "'0'"]}
236
                      ]]}
237
                    ]]}
238
                  ]]}
239
                ]]}
240
              ], "delay" : ["EXPRESSION", {
241
                "args" : [["EXPRESSION", {
242
                  "args" : [["EXPRESSION", {
243
                    "args" : [["EXPRESSION", {
244
                      "id" : "*", "args" : [["EXPRESSION", {
245
                        "args" : [["CALL", ["SIMPLE_NAME", "PERIOD"]]]}
246
                      ], ["EXPRESSION", {
247
                        "args" : [["CONSTANT_VALUE", {
248
                          "value" : ["CST_LITERAL", "10"]}
249
                        ]]}
250
                      ]]}
251
                    ]]}
252
                  ]]}
253
                ]]}
254
              ]}
255
            ]}
256
          ]}
257
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
258
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "enable"], "rhs" : [{
259
            "expr" : [{
260
              "value" : ["EXPRESSION", {
261
                "args" : [["EXPRESSION", {
262
                  "args" : [["EXPRESSION", {
263
                    "args" : [["EXPRESSION", {
264
                      "args" : [["CONSTANT_VALUE", {
265
                        "value" : ["CST_LITERAL", "'1'"]}
266
                      ]]}
267
                    ]]}
268
                  ]]}
269
                ]]}
270
              ], "delay" : ["EXPRESSION", {
271
                "args" : [["EXPRESSION", {
272
                  "args" : [["EXPRESSION", {
273
                    "args" : [["EXPRESSION", {
274
                      "id" : "*", "args" : [["EXPRESSION", {
275
                        "args" : [["CALL", ["SIMPLE_NAME", "PERIOD"]]]}
276
                      ], ["EXPRESSION", {
277
                        "args" : [["CONSTANT_VALUE", {
278
                          "value" : ["CST_LITERAL", "11"]}
279
                        ]]}
280
                      ]]}
281
                    ]]}
282
                  ]]}
283
                ]]}
284
              ]}
285
            ]}
286
          ]}
287
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
288
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "up_down"], "rhs" : [{
289
            "expr" : [{
290
              "value" : ["EXPRESSION", {
291
                "args" : [["EXPRESSION", {
292
                  "args" : [["EXPRESSION", {
293
                    "args" : [["EXPRESSION", {
294
                      "args" : [["CONSTANT_VALUE", {
295
                        "value" : ["CST_LITERAL", "'1'"]}
296
                      ]]}
297
                    ]]}
298
                  ]]}
299
                ]]}
300
              ], "delay" : ["EXPRESSION", {
301
                "args" : [["EXPRESSION", {
302
                  "args" : [["EXPRESSION", {
303
                    "args" : [["EXPRESSION", {
304
                      "id" : "*", "args" : [["EXPRESSION", {
305
                        "args" : [["CALL", ["SIMPLE_NAME", "PERIOD"]]]}
306
                      ], ["EXPRESSION", {
307
                        "args" : [["CONSTANT_VALUE", {
308
                          "value" : ["CST_LITERAL", "22"]}
309
                        ]]}
310
                      ]]}
311
                    ]]}
312
                  ]]}
313
                ]]}
314
              ]}
315
            ]}
316
          ]}
317
        ], ["PROCESS_STATEMENT", {
318
          "PROCESS_DECLARATIVE_PART" : [{
319
            "declaration" : ["VARIABLE_DECLARATION", {
320
              "names" : [["IDENTIFIER", "wrbuf"]], "typ" : {
321
                "name" : ["SIMPLE_NAME", "line"]}
322
              }
323
            ]}
324
          ], "active_sigs" : [["SIMPLE_NAME", "reset"], ["SIMPLE_NAME", "enable"], ["SIMPLE_NAME", "up_down"], ["SIMPLE_NAME", "count"], ["SIMPLE_NAME", "overflow"]], "PROCESS_STATEMENT_PART" : [["PROCEDURE_CALL_STATEMENT", {
325
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
326
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
327
            , {
328
              "actual_expr" : ["EXPRESSION", {
329
                "args" : [["EXPRESSION", {
330
                  "args" : [["EXPRESSION", {
331
                    "args" : [["EXPRESSION", {
332
                      "args" : [["QUALIFIED_EXPRESSION", {
333
                        "type_mark" : ["SIMPLE_NAME", "string"], "expression" : ["EXPRESSION", {
334
                          "args" : [["EXPRESSION", {
335
                            "args" : [["EXPRESSION", {
336
                              "args" : [["EXPRESSION", {
337
                                "args" : [["CONSTANT_VALUE", {
338
                                  "value" : ["CST_LITERAL", "\"Time: \""]}
339
                                ]]}
340
                              ]]}
341
                            ]]}
342
                          ]]}
343
                        ]}
344
                      ]]}
345
                    ]]}
346
                  ]]}
347
                ]]}
348
              ]}
349
            ]}
350
          ], ["PROCEDURE_CALL_STATEMENT", {
351
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
352
              "actual_designator" : ["SIMPLE_NAME", "output"]}
353
            , {
354
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
355
            ]}
356
          ], ["PROCEDURE_CALL_STATEMENT", {
357
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
358
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
359
            , {
360
              "actual_designator" : ["SIMPLE_NAME", "now"]}
361
            ]}
362
          ], ["PROCEDURE_CALL_STATEMENT", {
363
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
364
              "actual_designator" : ["SIMPLE_NAME", "output"]}
365
            , {
366
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
367
            ]}
368
          ], ["PROCEDURE_CALL_STATEMENT", {
369
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
370
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
371
            , {
372
              "actual_expr" : ["EXPRESSION", {
373
                "args" : [["EXPRESSION", {
374
                  "args" : [["EXPRESSION", {
375
                    "args" : [["EXPRESSION", {
376
                      "args" : [["QUALIFIED_EXPRESSION", {
377
                        "type_mark" : ["SIMPLE_NAME", "string"], "expression" : ["EXPRESSION", {
378
                          "args" : [["EXPRESSION", {
379
                            "args" : [["EXPRESSION", {
380
                              "args" : [["EXPRESSION", {
381
                                "args" : [["CONSTANT_VALUE", {
382
                                  "value" : ["CST_LITERAL", "\" rst: \""]}
383
                                ]]}
384
                              ]]}
385
                            ]]}
386
                          ]]}
387
                        ]}
388
                      ]]}
389
                    ]]}
390
                  ]]}
391
                ]]}
392
              ]}
393
            ]}
394
          ], ["PROCEDURE_CALL_STATEMENT", {
395
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
396
              "actual_designator" : ["SIMPLE_NAME", "output"]}
397
            , {
398
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
399
            ]}
400
          ], ["PROCEDURE_CALL_STATEMENT", {
401
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
402
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
403
            , {
404
              "actual_designator" : ["SIMPLE_NAME", "reset"]}
405
            ]}
406
          ], ["PROCEDURE_CALL_STATEMENT", {
407
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
408
              "actual_designator" : ["SIMPLE_NAME", "output"]}
409
            , {
410
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
411
            ]}
412
          ], ["PROCEDURE_CALL_STATEMENT", {
413
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
414
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
415
            , {
416
              "actual_expr" : ["EXPRESSION", {
417
                "args" : [["EXPRESSION", {
418
                  "args" : [["EXPRESSION", {
419
                    "args" : [["EXPRESSION", {
420
                      "args" : [["QUALIFIED_EXPRESSION", {
421
                        "type_mark" : ["SIMPLE_NAME", "string"], "expression" : ["EXPRESSION", {
422
                          "args" : [["EXPRESSION", {
423
                            "args" : [["EXPRESSION", {
424
                              "args" : [["EXPRESSION", {
425
                                "args" : [["CONSTANT_VALUE", {
426
                                  "value" : ["CST_LITERAL", "\" enable: \""]}
427
                                ]]}
428
                              ]]}
429
                            ]]}
430
                          ]]}
431
                        ]}
432
                      ]]}
433
                    ]]}
434
                  ]]}
435
                ]]}
436
              ]}
437
            ]}
438
          ], ["PROCEDURE_CALL_STATEMENT", {
439
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
440
              "actual_designator" : ["SIMPLE_NAME", "output"]}
441
            , {
442
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
443
            ]}
444
          ], ["PROCEDURE_CALL_STATEMENT", {
445
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
446
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
447
            , {
448
              "actual_designator" : ["SIMPLE_NAME", "enable"]}
449
            ]}
450
          ], ["PROCEDURE_CALL_STATEMENT", {
451
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
452
              "actual_designator" : ["SIMPLE_NAME", "output"]}
453
            , {
454
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
455
            ]}
456
          ], ["PROCEDURE_CALL_STATEMENT", {
457
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
458
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
459
            , {
460
              "actual_expr" : ["EXPRESSION", {
461
                "args" : [["EXPRESSION", {
462
                  "args" : [["EXPRESSION", {
463
                    "args" : [["EXPRESSION", {
464
                      "args" : [["QUALIFIED_EXPRESSION", {
465
                        "type_mark" : ["SIMPLE_NAME", "string"], "expression" : ["EXPRESSION", {
466
                          "args" : [["EXPRESSION", {
467
                            "args" : [["EXPRESSION", {
468
                              "args" : [["EXPRESSION", {
469
                                "args" : [["CONSTANT_VALUE", {
470
                                  "value" : ["CST_LITERAL", "\" up_down: \""]}
471
                                ]]}
472
                              ]]}
473
                            ]]}
474
                          ]]}
475
                        ]}
476
                      ]]}
477
                    ]]}
478
                  ]]}
479
                ]]}
480
              ]}
481
            ]}
482
          ], ["PROCEDURE_CALL_STATEMENT", {
483
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
484
              "actual_designator" : ["SIMPLE_NAME", "output"]}
485
            , {
486
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
487
            ]}
488
          ], ["PROCEDURE_CALL_STATEMENT", {
489
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
490
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
491
            , {
492
              "actual_designator" : ["SIMPLE_NAME", "up_down"]}
493
            ]}
494
          ], ["PROCEDURE_CALL_STATEMENT", {
495
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
496
              "actual_designator" : ["SIMPLE_NAME", "output"]}
497
            , {
498
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
499
            ]}
500
          ], ["PROCEDURE_CALL_STATEMENT", {
501
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
502
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
503
            , {
504
              "actual_expr" : ["EXPRESSION", {
505
                "args" : [["EXPRESSION", {
506
                  "args" : [["EXPRESSION", {
507
                    "args" : [["EXPRESSION", {
508
                      "args" : [["QUALIFIED_EXPRESSION", {
509
                        "type_mark" : ["SIMPLE_NAME", "string"], "expression" : ["EXPRESSION", {
510
                          "args" : [["EXPRESSION", {
511
                            "args" : [["EXPRESSION", {
512
                              "args" : [["EXPRESSION", {
513
                                "args" : [["CONSTANT_VALUE", {
514
                                  "value" : ["CST_LITERAL", "\" count: \""]}
515
                                ]]}
516
                              ]]}
517
                            ]]}
518
                          ]]}
519
                        ]}
520
                      ]]}
521
                    ]]}
522
                  ]]}
523
                ]]}
524
              ]}
525
            ]}
526
          ], ["PROCEDURE_CALL_STATEMENT", {
527
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
528
              "actual_designator" : ["SIMPLE_NAME", "output"]}
529
            , {
530
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
531
            ]}
532
          ], ["PROCEDURE_CALL_STATEMENT", {
533
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
534
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
535
            , {
536
              "actual_designator" : ["SIMPLE_NAME", "count"]}
537
            ]}
538
          ], ["PROCEDURE_CALL_STATEMENT", {
539
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
540
              "actual_designator" : ["SIMPLE_NAME", "output"]}
541
            , {
542
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
543
            ]}
544
          ], ["PROCEDURE_CALL_STATEMENT", {
545
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
546
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
547
            , {
548
              "actual_expr" : ["EXPRESSION", {
549
                "args" : [["EXPRESSION", {
550
                  "args" : [["EXPRESSION", {
551
                    "args" : [["EXPRESSION", {
552
                      "args" : [["QUALIFIED_EXPRESSION", {
553
                        "type_mark" : ["SIMPLE_NAME", "string"], "expression" : ["EXPRESSION", {
554
                          "args" : [["EXPRESSION", {
555
                            "args" : [["EXPRESSION", {
556
                              "args" : [["EXPRESSION", {
557
                                "args" : [["CONSTANT_VALUE", {
558
                                  "value" : ["CST_LITERAL", "\" overflow: \""]}
559
                                ]]}
560
                              ]]}
561
                            ]]}
562
                          ]]}
563
                        ]}
564
                      ]]}
565
                    ]]}
566
                  ]]}
567
                ]]}
568
              ]}
569
            ]}
570
          ], ["PROCEDURE_CALL_STATEMENT", {
571
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
572
              "actual_designator" : ["SIMPLE_NAME", "output"]}
573
            , {
574
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
575
            ]}
576
          ], ["PROCEDURE_CALL_STATEMENT", {
577
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
578
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
579
            , {
580
              "actual_designator" : ["SIMPLE_NAME", "overflow"]}
581
            ]}
582
          ], ["PROCEDURE_CALL_STATEMENT", {
583
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
584
              "actual_designator" : ["SIMPLE_NAME", "output"]}
585
            , {
586
              "actual_designator" : ["SIMPLE_NAME", "wrbuf"]}
587
            ]}
588
          ]]}
589
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
590
          "name" : ["IDENTIFIER", "Inst_lfsr_updown"], "inst_unit" : ["SIMPLE_NAME", "lfsr_updown"], "port_map" : [{
591
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
592
          , {
593
            "formal_name" : ["SIMPLE_NAME", "reset"], "actual_designator" : ["SIMPLE_NAME", "reset"]}
594
          , {
595
            "formal_name" : ["SIMPLE_NAME", "enable"], "actual_designator" : ["SIMPLE_NAME", "enable"]}
596
          , {
597
            "formal_name" : ["SIMPLE_NAME", "up_down"], "actual_designator" : ["SIMPLE_NAME", "up_down"]}
598
          , {
599
            "formal_name" : ["SIMPLE_NAME", "count"], "actual_designator" : ["SIMPLE_NAME", "count"]}
600
          , {
601
            "formal_name" : ["SIMPLE_NAME", "overflow"], "actual_designator" : ["SIMPLE_NAME", "overflow"]}
602
          ]}
603
        ]]}
604
      ]}
605
    ]}
606
  }