Project

General

Profile

Revision 3fd18385 vhdl_json/vhdl_files/2-exportOK/ghdl/ghdl/testsuite/gna/issue50/vector.d/cp3_test.json

View differences:

vhdl_json/vhdl_files/2-exportOK/ghdl/ghdl/testsuite/gna/issue50/vector.d/cp3_test.json
565 565
                "args" : [["EXPRESSION", {
566 566
                  "args" : [["EXPRESSION", {
567 567
                    "args" : [["EXPRESSION", {
568
                      "args" : [["CALL", ["FUNCTION_CALL", {
569
                        "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
570
                          "actual_designator" : ["SIMPLE_NAME", "clock"]}
571
                        ]}
568
                      "args" : [["CALL", ["INDEXED_NAME", {
569
                        "id" : ["SIMPLE_NAME", "rising_edge"], "exprs" : [["EXPRESSION", {
570
                          "args" : [["EXPRESSION", {
571
                            "args" : [["EXPRESSION", {
572
                              "args" : [["EXPRESSION", {
573
                                "args" : [["CALL", ["SIMPLE_NAME", "clock"]]]}
574
                              ]]}
575
                            ]]}
576
                          ]]}
577
                        ]]}
572 578
                      ]]]}
573 579
                    ]]}
574 580
                  ]]}
......
657 663
                        "args" : [["EXPRESSION", {
658 664
                          "args" : [["EXPRESSION", {
659 665
                            "args" : [["EXPRESSION", {
660
                              "args" : [["CALL", ["FUNCTION_CALL", {
661
                                "id" : ["SIMPLE_NAME", "std_logic_vector"], "assoc_list" : [{
662
                                  "actual_expr" : ["EXPRESSION", {
666
                              "args" : [["CALL", ["INDEXED_NAME", {
667
                                "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
668
                                  "args" : [["EXPRESSION", {
663 669
                                    "args" : [["EXPRESSION", {
664 670
                                      "args" : [["EXPRESSION", {
665
                                        "args" : [["EXPRESSION", {
666
                                          "id" : "+", "args" : [["EXPRESSION", {
667
                                            "args" : [["CALL", ["FUNCTION_CALL", {
668
                                              "id" : ["SIMPLE_NAME", "unsigned"], "assoc_list" : [{
669
                                                "actual_designator" : ["SIMPLE_NAME", "address1"]}
670
                                              ]}
671
                                            ]]]}
672
                                          ], ["EXPRESSION", {
673
                                            "args" : [["CONSTANT_VALUE", {
674
                                              "value" : ["CST_LITERAL", "1"]}
671
                                        "id" : "+", "args" : [["EXPRESSION", {
672
                                          "args" : [["CALL", ["INDEXED_NAME", {
673
                                            "id" : ["SIMPLE_NAME", "unsigned"], "exprs" : [["EXPRESSION", {
674
                                              "args" : [["EXPRESSION", {
675
                                                "args" : [["EXPRESSION", {
676
                                                  "args" : [["EXPRESSION", {
677
                                                    "args" : [["CALL", ["SIMPLE_NAME", "address1"]]]}
678
                                                  ]]}
679
                                                ]]}
680
                                              ]]}
675 681
                                            ]]}
682
                                          ]]]}
683
                                        ], ["EXPRESSION", {
684
                                          "args" : [["CONSTANT_VALUE", {
685
                                            "value" : ["CST_LITERAL", "1"]}
676 686
                                          ]]}
677 687
                                        ]]}
678 688
                                      ]]}
679 689
                                    ]]}
680
                                  ]}
681
                                ]}
690
                                  ]]}
691
                                ]]}
682 692
                              ]]]}
683 693
                            ]]}
684 694
                          ]]}
......
749 759
                "args" : [["EXPRESSION", {
750 760
                  "args" : [["EXPRESSION", {
751 761
                    "args" : [["EXPRESSION", {
752
                      "args" : [["CALL", ["FUNCTION_CALL", {
753
                        "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
754
                          "actual_designator" : ["SIMPLE_NAME", "clock"]}
755
                        ]}
762
                      "args" : [["CALL", ["INDEXED_NAME", {
763
                        "id" : ["SIMPLE_NAME", "rising_edge"], "exprs" : [["EXPRESSION", {
764
                          "args" : [["EXPRESSION", {
765
                            "args" : [["EXPRESSION", {
766
                              "args" : [["EXPRESSION", {
767
                                "args" : [["CALL", ["SIMPLE_NAME", "clock"]]]}
768
                              ]]}
769
                            ]]}
770
                          ]]}
771
                        ]]}
756 772
                      ]]]}
757 773
                    ]]}
758 774
                  ]]}
......
841 857
                        "args" : [["EXPRESSION", {
842 858
                          "args" : [["EXPRESSION", {
843 859
                            "args" : [["EXPRESSION", {
844
                              "args" : [["CALL", ["FUNCTION_CALL", {
845
                                "id" : ["SIMPLE_NAME", "std_logic_vector"], "assoc_list" : [{
846
                                  "actual_expr" : ["EXPRESSION", {
860
                              "args" : [["CALL", ["INDEXED_NAME", {
861
                                "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
862
                                  "args" : [["EXPRESSION", {
847 863
                                    "args" : [["EXPRESSION", {
848 864
                                      "args" : [["EXPRESSION", {
849
                                        "args" : [["EXPRESSION", {
850
                                          "id" : "+", "args" : [["EXPRESSION", {
851
                                            "args" : [["CALL", ["FUNCTION_CALL", {
852
                                              "id" : ["SIMPLE_NAME", "unsigned"], "assoc_list" : [{
853
                                                "actual_designator" : ["SIMPLE_NAME", "address2"]}
854
                                              ]}
855
                                            ]]]}
856
                                          ], ["EXPRESSION", {
857
                                            "args" : [["CONSTANT_VALUE", {
858
                                              "value" : ["CST_LITERAL", "1"]}
865
                                        "id" : "+", "args" : [["EXPRESSION", {
866
                                          "args" : [["CALL", ["INDEXED_NAME", {
867
                                            "id" : ["SIMPLE_NAME", "unsigned"], "exprs" : [["EXPRESSION", {
868
                                              "args" : [["EXPRESSION", {
869
                                                "args" : [["EXPRESSION", {
870
                                                  "args" : [["EXPRESSION", {
871
                                                    "args" : [["CALL", ["SIMPLE_NAME", "address2"]]]}
872
                                                  ]]}
873
                                                ]]}
874
                                              ]]}
859 875
                                            ]]}
876
                                          ]]]}
877
                                        ], ["EXPRESSION", {
878
                                          "args" : [["CONSTANT_VALUE", {
879
                                            "value" : ["CST_LITERAL", "1"]}
860 880
                                          ]]}
861 881
                                        ]]}
862 882
                                      ]]}
863 883
                                    ]]}
864
                                  ]}
865
                                ]}
884
                                  ]]}
885
                                ]]}
866 886
                              ]]]}
867 887
                            ]]}
868 888
                          ]]}

Also available in: Unified diff