Project

General

Profile

Revision 3fd18385 vhdl_json/vhdl_files/2-exportOK/ghdl/ghdl/testsuite/vests/vhdl-93/ashenden/compliant/ch_06_ovfl-b.json

View differences:

vhdl_json/vhdl_files/2-exportOK/ghdl/ghdl/testsuite/vests/vhdl-93/ashenden/compliant/ch_06_ovfl-b.json
56 56
                                          "args" : [["EXPRESSION", {
57 57
                                            "args" : [["EXPRESSION", {
58 58
                                              "args" : [["EXPRESSION", {
59
                                                "args" : [["CALL", ["FUNCTION_CALL", {
60
                                                  "id" : ["SIMPLE_NAME", "real_sum"], "assoc_list" : [{
61
                                                    "actual_expr" : ["EXPRESSION", {
59
                                                "args" : [["CALL", ["INDEXED_NAME", {
60
                                                  "id" : ["SIMPLE_NAME", "real_sum"], "exprs" : [["EXPRESSION", {
61
                                                    "args" : [["EXPRESSION", {
62 62
                                                      "args" : [["EXPRESSION", {
63 63
                                                        "args" : [["EXPRESSION", {
64
                                                          "args" : [["EXPRESSION", {
65
                                                            "args" : [["CONSTANT_VALUE", {
66
                                                              "value" : ["CST_LITERAL", "21"]}
67
                                                            ]]}
64
                                                          "args" : [["CONSTANT_VALUE", {
65
                                                            "value" : ["CST_LITERAL", "21"]}
68 66
                                                          ]]}
69 67
                                                        ]]}
70 68
                                                      ]]}
71
                                                    ]}
72
                                                  ]}
69
                                                    ]]}
70
                                                  ]]}
73 71
                                                ]]]}
74 72
                                              ]]}
75 73
                                            ]]}
......
78 76
                                          "args" : [["EXPRESSION", {
79 77
                                            "args" : [["EXPRESSION", {
80 78
                                              "args" : [["EXPRESSION", {
81
                                                "args" : [["CALL", ["FUNCTION_CALL", {
82
                                                  "id" : ["SIMPLE_NAME", "real_sum"], "assoc_list" : [{
83
                                                    "actual_expr" : ["EXPRESSION", {
79
                                                "args" : [["CALL", ["INDEXED_NAME", {
80
                                                  "id" : ["SIMPLE_NAME", "real_sum"], "exprs" : [["EXPRESSION", {
81
                                                    "args" : [["EXPRESSION", {
84 82
                                                      "args" : [["EXPRESSION", {
85 83
                                                        "args" : [["EXPRESSION", {
86
                                                          "args" : [["EXPRESSION", {
87
                                                            "args" : [["CONSTANT_VALUE", {
88
                                                              "value" : ["CST_LITERAL", "20"]}
89
                                                            ]]}
84
                                                          "args" : [["CONSTANT_VALUE", {
85
                                                            "value" : ["CST_LITERAL", "20"]}
90 86
                                                          ]]}
91 87
                                                        ]]}
92 88
                                                      ]]}
93
                                                    ]}
94
                                                  ]}
89
                                                    ]]}
90
                                                  ]]}
95 91
                                                ]]]}
96 92
                                              ]]}
97 93
                                            ]]}
......
111 107
                                        "args" : [["EXPRESSION", {
112 108
                                          "args" : [["EXPRESSION", {
113 109
                                            "args" : [["EXPRESSION", {
114
                                              "args" : [["CALL", ["FUNCTION_CALL", {
115
                                                "id" : ["SIMPLE_NAME", "real_sum"], "assoc_list" : [{
116
                                                  "actual_expr" : ["EXPRESSION", {
110
                                              "args" : [["CALL", ["INDEXED_NAME", {
111
                                                "id" : ["SIMPLE_NAME", "real_sum"], "exprs" : [["EXPRESSION", {
112
                                                  "args" : [["EXPRESSION", {
117 113
                                                    "args" : [["EXPRESSION", {
118 114
                                                      "args" : [["EXPRESSION", {
119
                                                        "args" : [["EXPRESSION", {
120
                                                          "args" : [["CONSTANT_VALUE", {
121
                                                            "value" : ["CST_LITERAL", "21"]}
122
                                                          ]]}
115
                                                        "args" : [["CONSTANT_VALUE", {
116
                                                          "value" : ["CST_LITERAL", "21"]}
123 117
                                                        ]]}
124 118
                                                      ]]}
125 119
                                                    ]]}
126
                                                  ]}
127
                                                ]}
120
                                                  ]]}
121
                                                ]]}
128 122
                                              ]]]}
129 123
                                            ]]}
130 124
                                          ]]}
......
133 127
                                        "args" : [["EXPRESSION", {
134 128
                                          "args" : [["EXPRESSION", {
135 129
                                            "args" : [["EXPRESSION", {
136
                                              "args" : [["CALL", ["FUNCTION_CALL", {
137
                                                "id" : ["SIMPLE_NAME", "real_sum"], "assoc_list" : [{
138
                                                  "actual_expr" : ["EXPRESSION", {
130
                                              "args" : [["CALL", ["INDEXED_NAME", {
131
                                                "id" : ["SIMPLE_NAME", "real_sum"], "exprs" : [["EXPRESSION", {
132
                                                  "args" : [["EXPRESSION", {
139 133
                                                    "args" : [["EXPRESSION", {
140 134
                                                      "args" : [["EXPRESSION", {
141
                                                        "args" : [["EXPRESSION", {
142
                                                          "args" : [["CONSTANT_VALUE", {
143
                                                            "value" : ["CST_LITERAL", "19"]}
144
                                                          ]]}
135
                                                        "args" : [["CONSTANT_VALUE", {
136
                                                          "value" : ["CST_LITERAL", "19"]}
145 137
                                                        ]]}
146 138
                                                      ]]}
147 139
                                                    ]]}
148
                                                  ]}
149
                                                ]}
140
                                                  ]]}
141
                                                ]]}
150 142
                                              ]]]}
151 143
                                            ]]}
152 144
                                          ]]}
......
166 158
                                      "args" : [["EXPRESSION", {
167 159
                                        "args" : [["EXPRESSION", {
168 160
                                          "args" : [["EXPRESSION", {
169
                                            "args" : [["CALL", ["FUNCTION_CALL", {
170
                                              "id" : ["SIMPLE_NAME", "real_sum"], "assoc_list" : [{
171
                                                "actual_expr" : ["EXPRESSION", {
161
                                            "args" : [["CALL", ["INDEXED_NAME", {
162
                                              "id" : ["SIMPLE_NAME", "real_sum"], "exprs" : [["EXPRESSION", {
163
                                                "args" : [["EXPRESSION", {
172 164
                                                  "args" : [["EXPRESSION", {
173 165
                                                    "args" : [["EXPRESSION", {
174
                                                      "args" : [["EXPRESSION", {
175
                                                        "args" : [["CONSTANT_VALUE", {
176
                                                          "value" : ["CST_LITERAL", "21"]}
177
                                                        ]]}
166
                                                      "args" : [["CONSTANT_VALUE", {
167
                                                        "value" : ["CST_LITERAL", "21"]}
178 168
                                                      ]]}
179 169
                                                    ]]}
180 170
                                                  ]]}
181
                                                ]}
182
                                              ]}
171
                                                ]]}
172
                                              ]]}
183 173
                                            ]]]}
184 174
                                          ]]}
185 175
                                        ]]}
......
188 178
                                      "args" : [["EXPRESSION", {
189 179
                                        "args" : [["EXPRESSION", {
190 180
                                          "args" : [["EXPRESSION", {
191
                                            "args" : [["CALL", ["FUNCTION_CALL", {
192
                                              "id" : ["SIMPLE_NAME", "real_sum"], "assoc_list" : [{
193
                                                "actual_expr" : ["EXPRESSION", {
181
                                            "args" : [["CALL", ["INDEXED_NAME", {
182
                                              "id" : ["SIMPLE_NAME", "real_sum"], "exprs" : [["EXPRESSION", {
183
                                                "args" : [["EXPRESSION", {
194 184
                                                  "args" : [["EXPRESSION", {
195 185
                                                    "args" : [["EXPRESSION", {
196
                                                      "args" : [["EXPRESSION", {
197
                                                        "args" : [["CONSTANT_VALUE", {
198
                                                          "value" : ["CST_LITERAL", "18"]}
199
                                                        ]]}
186
                                                      "args" : [["CONSTANT_VALUE", {
187
                                                        "value" : ["CST_LITERAL", "18"]}
200 188
                                                      ]]}
201 189
                                                    ]]}
202 190
                                                  ]]}
203
                                                ]}
204
                                              ]}
191
                                                ]]}
192
                                              ]]}
205 193
                                            ]]]}
206 194
                                          ]]}
207 195
                                        ]]}
......
221 209
                                    "args" : [["EXPRESSION", {
222 210
                                      "args" : [["EXPRESSION", {
223 211
                                        "args" : [["EXPRESSION", {
224
                                          "args" : [["CALL", ["FUNCTION_CALL", {
225
                                            "id" : ["SIMPLE_NAME", "real_sum"], "assoc_list" : [{
226
                                              "actual_expr" : ["EXPRESSION", {
212
                                          "args" : [["CALL", ["INDEXED_NAME", {
213
                                            "id" : ["SIMPLE_NAME", "real_sum"], "exprs" : [["EXPRESSION", {
214
                                              "args" : [["EXPRESSION", {
227 215
                                                "args" : [["EXPRESSION", {
228 216
                                                  "args" : [["EXPRESSION", {
229
                                                    "args" : [["EXPRESSION", {
230
                                                      "args" : [["CONSTANT_VALUE", {
231
                                                        "value" : ["CST_LITERAL", "21"]}
232
                                                      ]]}
217
                                                    "args" : [["CONSTANT_VALUE", {
218
                                                      "value" : ["CST_LITERAL", "21"]}
233 219
                                                    ]]}
234 220
                                                  ]]}
235 221
                                                ]]}
236
                                              ]}
237
                                            ]}
222
                                              ]]}
223
                                            ]]}
238 224
                                          ]]]}
239 225
                                        ]]}
240 226
                                      ]]}
......
243 229
                                    "args" : [["EXPRESSION", {
244 230
                                      "args" : [["EXPRESSION", {
245 231
                                        "args" : [["EXPRESSION", {
246
                                          "args" : [["CALL", ["FUNCTION_CALL", {
247
                                            "id" : ["SIMPLE_NAME", "real_sum"], "assoc_list" : [{
248
                                              "actual_expr" : ["EXPRESSION", {
232
                                          "args" : [["CALL", ["INDEXED_NAME", {
233
                                            "id" : ["SIMPLE_NAME", "real_sum"], "exprs" : [["EXPRESSION", {
234
                                              "args" : [["EXPRESSION", {
249 235
                                                "args" : [["EXPRESSION", {
250 236
                                                  "args" : [["EXPRESSION", {
251
                                                    "args" : [["EXPRESSION", {
252
                                                      "args" : [["CONSTANT_VALUE", {
253
                                                        "value" : ["CST_LITERAL", "17"]}
254
                                                      ]]}
237
                                                    "args" : [["CONSTANT_VALUE", {
238
                                                      "value" : ["CST_LITERAL", "17"]}
255 239
                                                    ]]}
256 240
                                                  ]]}
257 241
                                                ]]}
258
                                              ]}
259
                                            ]}
242
                                              ]]}
243
                                            ]]}
260 244
                                          ]]]}
261 245
                                        ]]}
262 246
                                      ]]}
......
276 260
                                  "args" : [["EXPRESSION", {
277 261
                                    "args" : [["EXPRESSION", {
278 262
                                      "args" : [["EXPRESSION", {
279
                                        "args" : [["CALL", ["FUNCTION_CALL", {
280
                                          "id" : ["SIMPLE_NAME", "imag_sum"], "assoc_list" : [{
281
                                            "actual_expr" : ["EXPRESSION", {
263
                                        "args" : [["CALL", ["INDEXED_NAME", {
264
                                          "id" : ["SIMPLE_NAME", "imag_sum"], "exprs" : [["EXPRESSION", {
265
                                            "args" : [["EXPRESSION", {
282 266
                                              "args" : [["EXPRESSION", {
283 267
                                                "args" : [["EXPRESSION", {
284
                                                  "args" : [["EXPRESSION", {
285
                                                    "args" : [["CONSTANT_VALUE", {
286
                                                      "value" : ["CST_LITERAL", "21"]}
287
                                                    ]]}
268
                                                  "args" : [["CONSTANT_VALUE", {
269
                                                    "value" : ["CST_LITERAL", "21"]}
288 270
                                                  ]]}
289 271
                                                ]]}
290 272
                                              ]]}
291
                                            ]}
292
                                          ]}
273
                                            ]]}
274
                                          ]]}
293 275
                                        ]]]}
294 276
                                      ]]}
295 277
                                    ]]}
......
298 280
                                  "args" : [["EXPRESSION", {
299 281
                                    "args" : [["EXPRESSION", {
300 282
                                      "args" : [["EXPRESSION", {
301
                                        "args" : [["CALL", ["FUNCTION_CALL", {
302
                                          "id" : ["SIMPLE_NAME", "imag_sum"], "assoc_list" : [{
303
                                            "actual_expr" : ["EXPRESSION", {
283
                                        "args" : [["CALL", ["INDEXED_NAME", {
284
                                          "id" : ["SIMPLE_NAME", "imag_sum"], "exprs" : [["EXPRESSION", {
285
                                            "args" : [["EXPRESSION", {
304 286
                                              "args" : [["EXPRESSION", {
305 287
                                                "args" : [["EXPRESSION", {
306
                                                  "args" : [["EXPRESSION", {
307
                                                    "args" : [["CONSTANT_VALUE", {
308
                                                      "value" : ["CST_LITERAL", "20"]}
309
                                                    ]]}
288
                                                  "args" : [["CONSTANT_VALUE", {
289
                                                    "value" : ["CST_LITERAL", "20"]}
310 290
                                                  ]]}
311 291
                                                ]]}
312 292
                                              ]]}
313
                                            ]}
314
                                          ]}
293
                                            ]]}
294
                                          ]]}
315 295
                                        ]]]}
316 296
                                      ]]}
317 297
                                    ]]}
......
331 311
                                "args" : [["EXPRESSION", {
332 312
                                  "args" : [["EXPRESSION", {
333 313
                                    "args" : [["EXPRESSION", {
334
                                      "args" : [["CALL", ["FUNCTION_CALL", {
335
                                        "id" : ["SIMPLE_NAME", "imag_sum"], "assoc_list" : [{
336
                                          "actual_expr" : ["EXPRESSION", {
314
                                      "args" : [["CALL", ["INDEXED_NAME", {
315
                                        "id" : ["SIMPLE_NAME", "imag_sum"], "exprs" : [["EXPRESSION", {
316
                                          "args" : [["EXPRESSION", {
337 317
                                            "args" : [["EXPRESSION", {
338 318
                                              "args" : [["EXPRESSION", {
339
                                                "args" : [["EXPRESSION", {
340
                                                  "args" : [["CONSTANT_VALUE", {
341
                                                    "value" : ["CST_LITERAL", "21"]}
342
                                                  ]]}
319
                                                "args" : [["CONSTANT_VALUE", {
320
                                                  "value" : ["CST_LITERAL", "21"]}
343 321
                                                ]]}
344 322
                                              ]]}
345 323
                                            ]]}
346
                                          ]}
347
                                        ]}
324
                                          ]]}
325
                                        ]]}
348 326
                                      ]]]}
349 327
                                    ]]}
350 328
                                  ]]}
......
353 331
                                "args" : [["EXPRESSION", {
354 332
                                  "args" : [["EXPRESSION", {
355 333
                                    "args" : [["EXPRESSION", {
356
                                      "args" : [["CALL", ["FUNCTION_CALL", {
357
                                        "id" : ["SIMPLE_NAME", "imag_sum"], "assoc_list" : [{
358
                                          "actual_expr" : ["EXPRESSION", {
334
                                      "args" : [["CALL", ["INDEXED_NAME", {
335
                                        "id" : ["SIMPLE_NAME", "imag_sum"], "exprs" : [["EXPRESSION", {
336
                                          "args" : [["EXPRESSION", {
359 337
                                            "args" : [["EXPRESSION", {
360 338
                                              "args" : [["EXPRESSION", {
361
                                                "args" : [["EXPRESSION", {
362
                                                  "args" : [["CONSTANT_VALUE", {
363
                                                    "value" : ["CST_LITERAL", "19"]}
364
                                                  ]]}
339
                                                "args" : [["CONSTANT_VALUE", {
340
                                                  "value" : ["CST_LITERAL", "19"]}
365 341
                                                ]]}
366 342
                                              ]]}
367 343
                                            ]]}
368
                                          ]}
369
                                        ]}
344
                                          ]]}
345
                                        ]]}
370 346
                                      ]]]}
371 347
                                    ]]}
372 348
                                  ]]}
......
386 362
                              "args" : [["EXPRESSION", {
387 363
                                "args" : [["EXPRESSION", {
388 364
                                  "args" : [["EXPRESSION", {
389
                                    "args" : [["CALL", ["FUNCTION_CALL", {
390
                                      "id" : ["SIMPLE_NAME", "imag_sum"], "assoc_list" : [{
391
                                        "actual_expr" : ["EXPRESSION", {
365
                                    "args" : [["CALL", ["INDEXED_NAME", {
366
                                      "id" : ["SIMPLE_NAME", "imag_sum"], "exprs" : [["EXPRESSION", {
367
                                        "args" : [["EXPRESSION", {
392 368
                                          "args" : [["EXPRESSION", {
393 369
                                            "args" : [["EXPRESSION", {
394
                                              "args" : [["EXPRESSION", {
395
                                                "args" : [["CONSTANT_VALUE", {
396
                                                  "value" : ["CST_LITERAL", "21"]}
397
                                                ]]}
370
                                              "args" : [["CONSTANT_VALUE", {
371
                                                "value" : ["CST_LITERAL", "21"]}
398 372
                                              ]]}
399 373
                                            ]]}
400 374
                                          ]]}
401
                                        ]}
402
                                      ]}
375
                                        ]]}
376
                                      ]]}
403 377
                                    ]]]}
404 378
                                  ]]}
405 379
                                ]]}
......
408 382
                              "args" : [["EXPRESSION", {
409 383
                                "args" : [["EXPRESSION", {
410 384
                                  "args" : [["EXPRESSION", {
411
                                    "args" : [["CALL", ["FUNCTION_CALL", {
412
                                      "id" : ["SIMPLE_NAME", "imag_sum"], "assoc_list" : [{
413
                                        "actual_expr" : ["EXPRESSION", {
385
                                    "args" : [["CALL", ["INDEXED_NAME", {
386
                                      "id" : ["SIMPLE_NAME", "imag_sum"], "exprs" : [["EXPRESSION", {
387
                                        "args" : [["EXPRESSION", {
414 388
                                          "args" : [["EXPRESSION", {
415 389
                                            "args" : [["EXPRESSION", {
416
                                              "args" : [["EXPRESSION", {
417
                                                "args" : [["CONSTANT_VALUE", {
418
                                                  "value" : ["CST_LITERAL", "18"]}
419
                                                ]]}
390
                                              "args" : [["CONSTANT_VALUE", {
391
                                                "value" : ["CST_LITERAL", "18"]}
420 392
                                              ]]}
421 393
                                            ]]}
422 394
                                          ]]}
423
                                        ]}
424
                                      ]}
395
                                        ]]}
396
                                      ]]}
425 397
                                    ]]]}
426 398
                                  ]]}
427 399
                                ]]}
......
441 413
                            "args" : [["EXPRESSION", {
442 414
                              "args" : [["EXPRESSION", {
443 415
                                "args" : [["EXPRESSION", {
444
                                  "args" : [["CALL", ["FUNCTION_CALL", {
445
                                    "id" : ["SIMPLE_NAME", "imag_sum"], "assoc_list" : [{
446
                                      "actual_expr" : ["EXPRESSION", {
416
                                  "args" : [["CALL", ["INDEXED_NAME", {
417
                                    "id" : ["SIMPLE_NAME", "imag_sum"], "exprs" : [["EXPRESSION", {
418
                                      "args" : [["EXPRESSION", {
447 419
                                        "args" : [["EXPRESSION", {
448 420
                                          "args" : [["EXPRESSION", {
449
                                            "args" : [["EXPRESSION", {
450
                                              "args" : [["CONSTANT_VALUE", {
451
                                                "value" : ["CST_LITERAL", "21"]}
452
                                              ]]}
421
                                            "args" : [["CONSTANT_VALUE", {
422
                                              "value" : ["CST_LITERAL", "21"]}
453 423
                                            ]]}
454 424
                                          ]]}
455 425
                                        ]]}
456
                                      ]}
457
                                    ]}
426
                                      ]]}
427
                                    ]]}
458 428
                                  ]]]}
459 429
                                ]]}
460 430
                              ]]}
......
463 433
                            "args" : [["EXPRESSION", {
464 434
                              "args" : [["EXPRESSION", {
465 435
                                "args" : [["EXPRESSION", {
466
                                  "args" : [["CALL", ["FUNCTION_CALL", {
467
                                    "id" : ["SIMPLE_NAME", "imag_sum"], "assoc_list" : [{
468
                                      "actual_expr" : ["EXPRESSION", {
436
                                  "args" : [["CALL", ["INDEXED_NAME", {
437
                                    "id" : ["SIMPLE_NAME", "imag_sum"], "exprs" : [["EXPRESSION", {
438
                                      "args" : [["EXPRESSION", {
469 439
                                        "args" : [["EXPRESSION", {
470 440
                                          "args" : [["EXPRESSION", {
471
                                            "args" : [["EXPRESSION", {
472
                                              "args" : [["CONSTANT_VALUE", {
473
                                                "value" : ["CST_LITERAL", "17"]}
474
                                              ]]}
441
                                            "args" : [["CONSTANT_VALUE", {
442
                                              "value" : ["CST_LITERAL", "17"]}
475 443
                                            ]]}
476 444
                                          ]]}
477 445
                                        ]]}
478
                                      ]}
479
                                    ]}
446
                                      ]]}
447
                                    ]]}
480 448
                                  ]]]}
481 449
                                ]]}
482 450
                              ]]}

Also available in: Unified diff