Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / cnes_guidelines / rule / data / best-chronometer-ever / test / simple_sim.json @ 3fd18385

History | View | Annotate | Download (41.7 KB)

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