Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / vests / vhdl-93 / ashenden / compliant / ch_06_multt-b.json @ 3fd18385

History | View | Annotate | Download (13.9 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" : ["ARCHITECTURE_BODY", {
5
        "name" : ["IDENTIFIER", "bench"], "entity" : ["IDENTIFIER", "multiplier_test"], "ARCHITECTURE_DECLARATIVE_PART" : [{
6
          "declaration" : ["SIGNAL_DECLARATION", {
7
            "names" : [["IDENTIFIER", "a"], ["IDENTIFIER", "b"]], "typ" : {
8
              "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
9
                "ranges" : [["RANGE_WITH_DIRECTION", {
10
                  "direction" : "downto", "from" : ["EXPRESSION", {
11
                    "args" : [["EXPRESSION", {
12
                      "args" : [["CONSTANT_VALUE", {
13
                        "value" : ["CST_LITERAL", "15"]}
14
                      ]]}
15
                    ]]}
16
                  ], "_to" : ["EXPRESSION", {
17
                    "args" : [["EXPRESSION", {
18
                      "args" : [["CONSTANT_VALUE", {
19
                        "value" : ["CST_LITERAL", "0"]}
20
                      ]]}
21
                    ]]}
22
                  ]}
23
                ]]}
24
              ]}
25
            , "init_val" : ["EXPRESSION", {
26
              "args" : [["EXPRESSION", {
27
                "args" : [["EXPRESSION", {
28
                  "args" : [["EXPRESSION", {
29
                    "args" : [["AGGREGATE", {
30
                      "elems" : [{
31
                        "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
32
                          "args" : [["EXPRESSION", {
33
                            "args" : [["EXPRESSION", {
34
                              "args" : [["EXPRESSION", {
35
                                "args" : [["CONSTANT_VALUE", {
36
                                  "value" : ["CST_LITERAL", "'0'"]}
37
                                ]]}
38
                              ]]}
39
                            ]]}
40
                          ]]}
41
                        ]}
42
                      ]}
43
                    ]]}
44
                  ]]}
45
                ]]}
46
              ]]}
47
            ]}
48
          ]}
49
        , {
50
          "declaration" : ["SIGNAL_DECLARATION", {
51
            "names" : [["IDENTIFIER", "p"]], "typ" : {
52
              "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
53
                "ranges" : [["RANGE_WITH_DIRECTION", {
54
                  "direction" : "downto", "from" : ["EXPRESSION", {
55
                    "args" : [["EXPRESSION", {
56
                      "args" : [["CONSTANT_VALUE", {
57
                        "value" : ["CST_LITERAL", "31"]}
58
                      ]]}
59
                    ]]}
60
                  ], "_to" : ["EXPRESSION", {
61
                    "args" : [["EXPRESSION", {
62
                      "args" : [["CONSTANT_VALUE", {
63
                        "value" : ["CST_LITERAL", "0"]}
64
                      ]]}
65
                    ]]}
66
                  ]}
67
                ]]}
68
              ]}
69
            }
70
          ]}
71
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
72
          "name" : ["IDENTIFIER", "dut"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "multiplier"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
73
            "actual_designator" : ["SIMPLE_NAME", "a"]}
74
          , {
75
            "actual_designator" : ["SIMPLE_NAME", "b"]}
76
          , {
77
            "actual_designator" : ["SIMPLE_NAME", "p"]}
78
          ]}
79
        ], ["PROCESS_STATEMENT", {
80
          "id" : ["IDENTIFIER", "stimulus"], "PROCESS_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
81
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
82
              "value" : ["EXPRESSION", {
83
                "args" : [["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "args" : [["EXPRESSION", {
86
                      "args" : [["CONSTANT_VALUE", {
87
                        "value" : ["CST_LITERAL", "X\"8000\""]}
88
                      ]]}
89
                    ]]}
90
                  ]]}
91
                ]]}
92
              ]}
93
            ]}
94
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
95
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
96
              "value" : ["EXPRESSION", {
97
                "args" : [["EXPRESSION", {
98
                  "args" : [["EXPRESSION", {
99
                    "args" : [["EXPRESSION", {
100
                      "args" : [["CONSTANT_VALUE", {
101
                        "value" : ["CST_LITERAL", "X\"8000\""]}
102
                      ]]}
103
                    ]]}
104
                  ]]}
105
                ]]}
106
              ]}
107
            ]}
108
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
109
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
110
              "value" : ["EXPRESSION", {
111
                "args" : [["EXPRESSION", {
112
                  "args" : [["EXPRESSION", {
113
                    "args" : [["EXPRESSION", {
114
                      "args" : [["CONSTANT_VALUE", {
115
                        "value" : ["CST_LITERAL", "X\"0001\""]}
116
                      ]]}
117
                    ]]}
118
                  ]]}
119
                ]]}
120
              ]}
121
            ]}
122
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
123
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
124
              "value" : ["EXPRESSION", {
125
                "args" : [["EXPRESSION", {
126
                  "args" : [["EXPRESSION", {
127
                    "args" : [["EXPRESSION", {
128
                      "args" : [["CONSTANT_VALUE", {
129
                        "value" : ["CST_LITERAL", "X\"0001\""]}
130
                      ]]}
131
                    ]]}
132
                  ]]}
133
                ]]}
134
              ]}
135
            ]}
136
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
137
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
138
              "value" : ["EXPRESSION", {
139
                "args" : [["EXPRESSION", {
140
                  "args" : [["EXPRESSION", {
141
                    "args" : [["EXPRESSION", {
142
                      "args" : [["CONSTANT_VALUE", {
143
                        "value" : ["CST_LITERAL", "X\"0001\""]}
144
                      ]]}
145
                    ]]}
146
                  ]]}
147
                ]]}
148
              ]}
149
            ]}
150
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
151
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
152
              "value" : ["EXPRESSION", {
153
                "args" : [["EXPRESSION", {
154
                  "args" : [["EXPRESSION", {
155
                    "args" : [["EXPRESSION", {
156
                      "args" : [["CONSTANT_VALUE", {
157
                        "value" : ["CST_LITERAL", "X\"0000\""]}
158
                      ]]}
159
                    ]]}
160
                  ]]}
161
                ]]}
162
              ]}
163
            ]}
164
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
165
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
166
              "value" : ["EXPRESSION", {
167
                "args" : [["EXPRESSION", {
168
                  "args" : [["EXPRESSION", {
169
                    "args" : [["EXPRESSION", {
170
                      "args" : [["CONSTANT_VALUE", {
171
                        "value" : ["CST_LITERAL", "X\"0000\""]}
172
                      ]]}
173
                    ]]}
174
                  ]]}
175
                ]]}
176
              ]}
177
            ]}
178
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
179
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
180
              "value" : ["EXPRESSION", {
181
                "args" : [["EXPRESSION", {
182
                  "args" : [["EXPRESSION", {
183
                    "args" : [["EXPRESSION", {
184
                      "args" : [["CONSTANT_VALUE", {
185
                        "value" : ["CST_LITERAL", "X\"0001\""]}
186
                      ]]}
187
                    ]]}
188
                  ]]}
189
                ]]}
190
              ]}
191
            ]}
192
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
193
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
194
              "value" : ["EXPRESSION", {
195
                "args" : [["EXPRESSION", {
196
                  "args" : [["EXPRESSION", {
197
                    "args" : [["EXPRESSION", {
198
                      "args" : [["CONSTANT_VALUE", {
199
                        "value" : ["CST_LITERAL", "X\"0001\""]}
200
                      ]]}
201
                    ]]}
202
                  ]]}
203
                ]]}
204
              ]}
205
            ]}
206
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
207
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
208
              "value" : ["EXPRESSION", {
209
                "args" : [["EXPRESSION", {
210
                  "args" : [["EXPRESSION", {
211
                    "args" : [["EXPRESSION", {
212
                      "args" : [["CONSTANT_VALUE", {
213
                        "value" : ["CST_LITERAL", "X\"8000\""]}
214
                      ]]}
215
                    ]]}
216
                  ]]}
217
                ]]}
218
              ]}
219
            ]}
220
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
221
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
222
              "value" : ["EXPRESSION", {
223
                "args" : [["EXPRESSION", {
224
                  "args" : [["EXPRESSION", {
225
                    "args" : [["EXPRESSION", {
226
                      "args" : [["CONSTANT_VALUE", {
227
                        "value" : ["CST_LITERAL", "X\"8000\""]}
228
                      ]]}
229
                    ]]}
230
                  ]]}
231
                ]]}
232
              ]}
233
            ]}
234
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
235
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
236
              "value" : ["EXPRESSION", {
237
                "args" : [["EXPRESSION", {
238
                  "args" : [["EXPRESSION", {
239
                    "args" : [["EXPRESSION", {
240
                      "args" : [["CONSTANT_VALUE", {
241
                        "value" : ["CST_LITERAL", "X\"0001\""]}
242
                      ]]}
243
                    ]]}
244
                  ]]}
245
                ]]}
246
              ]}
247
            ]}
248
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
249
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
250
              "value" : ["EXPRESSION", {
251
                "args" : [["EXPRESSION", {
252
                  "args" : [["EXPRESSION", {
253
                    "args" : [["EXPRESSION", {
254
                      "args" : [["CONSTANT_VALUE", {
255
                        "value" : ["CST_LITERAL", "X\"4000\""]}
256
                      ]]}
257
                    ]]}
258
                  ]]}
259
                ]]}
260
              ]}
261
            ]}
262
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
263
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
264
              "value" : ["EXPRESSION", {
265
                "args" : [["EXPRESSION", {
266
                  "args" : [["EXPRESSION", {
267
                    "args" : [["EXPRESSION", {
268
                      "args" : [["CONSTANT_VALUE", {
269
                        "value" : ["CST_LITERAL", "X\"4000\""]}
270
                      ]]}
271
                    ]]}
272
                  ]]}
273
                ]]}
274
              ]}
275
            ]}
276
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
277
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
278
              "value" : ["EXPRESSION", {
279
                "args" : [["EXPRESSION", {
280
                  "args" : [["EXPRESSION", {
281
                    "args" : [["EXPRESSION", {
282
                      "args" : [["CONSTANT_VALUE", {
283
                        "value" : ["CST_LITERAL", "X\"C000\""]}
284
                      ]]}
285
                    ]]}
286
                  ]]}
287
                ]]}
288
              ]}
289
            ]}
290
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
291
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
292
              "value" : ["EXPRESSION", {
293
                "args" : [["EXPRESSION", {
294
                  "args" : [["EXPRESSION", {
295
                    "args" : [["EXPRESSION", {
296
                      "args" : [["CONSTANT_VALUE", {
297
                        "value" : ["CST_LITERAL", "X\"4000\""]}
298
                      ]]}
299
                    ]]}
300
                  ]]}
301
                ]]}
302
              ]}
303
            ]}
304
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
305
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
306
              "value" : ["EXPRESSION", {
307
                "args" : [["EXPRESSION", {
308
                  "args" : [["EXPRESSION", {
309
                    "args" : [["EXPRESSION", {
310
                      "args" : [["CONSTANT_VALUE", {
311
                        "value" : ["CST_LITERAL", "X\"4000\""]}
312
                      ]]}
313
                    ]]}
314
                  ]]}
315
                ]]}
316
              ]}
317
            ]}
318
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
319
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
320
              "value" : ["EXPRESSION", {
321
                "args" : [["EXPRESSION", {
322
                  "args" : [["EXPRESSION", {
323
                    "args" : [["EXPRESSION", {
324
                      "args" : [["CONSTANT_VALUE", {
325
                        "value" : ["CST_LITERAL", "X\"C000\""]}
326
                      ]]}
327
                    ]]}
328
                  ]]}
329
                ]]}
330
              ]}
331
            ]}
332
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
333
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : [{
334
              "value" : ["EXPRESSION", {
335
                "args" : [["EXPRESSION", {
336
                  "args" : [["EXPRESSION", {
337
                    "args" : [["EXPRESSION", {
338
                      "args" : [["CONSTANT_VALUE", {
339
                        "value" : ["CST_LITERAL", "X\"C000\""]}
340
                      ]]}
341
                    ]]}
342
                  ]]}
343
                ]]}
344
              ]}
345
            ]}
346
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
347
            "lhs" : ["SIMPLE_NAME", "b"], "rhs" : [{
348
              "value" : ["EXPRESSION", {
349
                "args" : [["EXPRESSION", {
350
                  "args" : [["EXPRESSION", {
351
                    "args" : [["EXPRESSION", {
352
                      "args" : [["CONSTANT_VALUE", {
353
                        "value" : ["CST_LITERAL", "X\"C000\""]}
354
                      ]]}
355
                    ]]}
356
                  ]]}
357
                ]]}
358
              ]}
359
            ]}
360
          ], ["WAIT_STATEMENT"], ["WAIT_STATEMENT"]]}
361
        ]]}
362
      ]}
363
    ]}
364
  }