Project

General

Profile

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