Project

General

Profile

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

View differences:

vhdl_json/vhdl_files/2-exportOK/ghdl/ghdl/testsuite/vests/vhdl-93/ashenden/compliant/ch_06_mac-b.json
203 203
                "args" : [["EXPRESSION", {
204 204
                  "args" : [["EXPRESSION", {
205 205
                    "args" : [["EXPRESSION", {
206
                      "args" : [["CALL", ["FUNCTION_CALL", {
207
                        "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
208
                          "actual_designator" : ["SIMPLE_NAME", "clk"]}
209
                        ]}
206
                      "args" : [["CALL", ["INDEXED_NAME", {
207
                        "id" : ["SIMPLE_NAME", "rising_edge"], "exprs" : [["EXPRESSION", {
208
                          "args" : [["EXPRESSION", {
209
                            "args" : [["EXPRESSION", {
210
                              "args" : [["EXPRESSION", {
211
                                "args" : [["CALL", ["SIMPLE_NAME", "clk"]]]}
212
                              ]]}
213
                            ]]}
214
                          ]]}
215
                        ]]}
210 216
                      ]]]}
211 217
                    ]]}
212 218
                  ]]}
......
217 223
                    "id" : "=", "args" : [["EXPRESSION", {
218 224
                      "args" : [["EXPRESSION", {
219 225
                        "args" : [["EXPRESSION", {
220
                          "args" : [["CALL", ["FUNCTION_CALL", {
221
                            "id" : ["SIMPLE_NAME", "To_X01"], "assoc_list" : [{
222
                              "actual_designator" : ["SIMPLE_NAME", "clr"]}
223
                            ]}
226
                          "args" : [["CALL", ["INDEXED_NAME", {
227
                            "id" : ["SIMPLE_NAME", "To_X01"], "exprs" : [["EXPRESSION", {
228
                              "args" : [["EXPRESSION", {
229
                                "args" : [["EXPRESSION", {
230
                                  "args" : [["EXPRESSION", {
231
                                    "args" : [["CALL", ["SIMPLE_NAME", "clr"]]]}
232
                                  ]]}
233
                                ]]}
234
                              ]]}
235
                            ]]}
224 236
                          ]]]}
225 237
                        ]]}
226 238
                      ]]}
......
445 457
                    "args" : [["EXPRESSION", {
446 458
                      "args" : [["EXPRESSION", {
447 459
                        "args" : [["EXPRESSION", {
448
                          "args" : [["CALL", ["FUNCTION_CALL", {
449
                            "id" : ["SIMPLE_NAME", "boolean_to_stdulogic"], "assoc_list" : [{
450
                              "actual_expr" : ["EXPRESSION", {
460
                          "args" : [["CALL", ["INDEXED_NAME", {
461
                            "id" : ["SIMPLE_NAME", "boolean_to_stdulogic"], "exprs" : [["EXPRESSION", {
462
                              "id" : "or", "args" : [["EXPRESSION", {
451 463
                                "id" : "or", "args" : [["EXPRESSION", {
452 464
                                  "id" : "or", "args" : [["EXPRESSION", {
453 465
                                    "id" : "or", "args" : [["EXPRESSION", {
454 466
                                      "id" : "or", "args" : [["EXPRESSION", {
455
                                        "id" : "or", "args" : [["EXPRESSION", {
456
                                          "args" : [["EXPRESSION", {
457
                                            "args" : [["EXPRESSION", {
458
                                              "args" : [["EXPRESSION", {
459
                                                "args" : [["CALL", ["SIMPLE_NAME", "real_accumulator_ovf"]]]}
460
                                              ]]}
461
                                            ]]}
462
                                          ]]}
463
                                        ], ["EXPRESSION", {
467
                                        "args" : [["EXPRESSION", {
464 468
                                          "args" : [["EXPRESSION", {
465 469
                                            "args" : [["EXPRESSION", {
466
                                              "args" : [["EXPRESSION", {
467
                                                "args" : [["CALL", ["SIMPLE_NAME", "imag_accumulator_ovf"]]]}
468
                                              ]]}
470
                                              "args" : [["CALL", ["SIMPLE_NAME", "real_accumulator_ovf"]]]}
469 471
                                            ]]}
470 472
                                          ]]}
471 473
                                        ]]}
472 474
                                      ], ["EXPRESSION", {
473
                                        "id" : "<", "args" : [["EXPRESSION", {
475
                                        "args" : [["EXPRESSION", {
474 476
                                          "args" : [["EXPRESSION", {
475 477
                                            "args" : [["EXPRESSION", {
476
                                              "args" : [["CALL", ["SIMPLE_NAME", "real_sum"]]]}
477
                                            ]]}
478
                                          ]]}
479
                                        ], ["EXPRESSION", {
480
                                          "args" : [["EXPRESSION", {
481
                                            "id" : "-", "args" : [["EXPRESSION", {
482
                                              "args" : [["CONSTANT_VALUE", {
483
                                                "value" : ["CST_LITERAL", "1.0"]}
484
                                              ]]}
478
                                              "args" : [["CALL", ["SIMPLE_NAME", "imag_accumulator_ovf"]]]}
485 479
                                            ]]}
486 480
                                          ]]}
487 481
                                        ]]}
488 482
                                      ]]}
489 483
                                    ], ["EXPRESSION", {
490
                                      "id" : ">=", "args" : [["EXPRESSION", {
484
                                      "id" : "<", "args" : [["EXPRESSION", {
491 485
                                        "args" : [["EXPRESSION", {
492 486
                                          "args" : [["EXPRESSION", {
493 487
                                            "args" : [["CALL", ["SIMPLE_NAME", "real_sum"]]]}
......
495 489
                                        ]]}
496 490
                                      ], ["EXPRESSION", {
497 491
                                        "args" : [["EXPRESSION", {
498
                                          "id" : "+", "args" : [["EXPRESSION", {
492
                                          "id" : "-", "args" : [["EXPRESSION", {
499 493
                                            "args" : [["CONSTANT_VALUE", {
500 494
                                              "value" : ["CST_LITERAL", "1.0"]}
501 495
                                            ]]}
......
504 498
                                      ]]}
505 499
                                    ]]}
506 500
                                  ], ["EXPRESSION", {
507
                                    "id" : "<", "args" : [["EXPRESSION", {
501
                                    "id" : ">=", "args" : [["EXPRESSION", {
508 502
                                      "args" : [["EXPRESSION", {
509 503
                                        "args" : [["EXPRESSION", {
510
                                          "args" : [["CALL", ["SIMPLE_NAME", "imag_sum"]]]}
504
                                          "args" : [["CALL", ["SIMPLE_NAME", "real_sum"]]]}
511 505
                                        ]]}
512 506
                                      ]]}
513 507
                                    ], ["EXPRESSION", {
514 508
                                      "args" : [["EXPRESSION", {
515
                                        "id" : "-", "args" : [["EXPRESSION", {
509
                                        "id" : "+", "args" : [["EXPRESSION", {
516 510
                                          "args" : [["CONSTANT_VALUE", {
517 511
                                            "value" : ["CST_LITERAL", "1.0"]}
518 512
                                          ]]}
......
521 515
                                    ]]}
522 516
                                  ]]}
523 517
                                ], ["EXPRESSION", {
524
                                  "id" : ">=", "args" : [["EXPRESSION", {
518
                                  "id" : "<", "args" : [["EXPRESSION", {
525 519
                                    "args" : [["EXPRESSION", {
526 520
                                      "args" : [["EXPRESSION", {
527 521
                                        "args" : [["CALL", ["SIMPLE_NAME", "imag_sum"]]]}
......
529 523
                                    ]]}
530 524
                                  ], ["EXPRESSION", {
531 525
                                    "args" : [["EXPRESSION", {
532
                                      "id" : "+", "args" : [["EXPRESSION", {
526
                                      "id" : "-", "args" : [["EXPRESSION", {
533 527
                                        "args" : [["CONSTANT_VALUE", {
534 528
                                          "value" : ["CST_LITERAL", "1.0"]}
535 529
                                        ]]}
......
537 531
                                    ]]}
538 532
                                  ]]}
539 533
                                ]]}
540
                              ]}
541
                            ]}
534
                              ], ["EXPRESSION", {
535
                                "id" : ">=", "args" : [["EXPRESSION", {
536
                                  "args" : [["EXPRESSION", {
537
                                    "args" : [["EXPRESSION", {
538
                                      "args" : [["CALL", ["SIMPLE_NAME", "imag_sum"]]]}
539
                                    ]]}
540
                                  ]]}
541
                                ], ["EXPRESSION", {
542
                                  "args" : [["EXPRESSION", {
543
                                    "id" : "+", "args" : [["EXPRESSION", {
544
                                      "args" : [["CONSTANT_VALUE", {
545
                                        "value" : ["CST_LITERAL", "1.0"]}
546
                                      ]]}
547
                                    ]]}
548
                                  ]]}
549
                                ]]}
550
                              ]]}
551
                            ]]}
542 552
                          ]]]}
543 553
                        ]]}
544 554
                      ]]}

Also available in: Unified diff