Project

General

Profile

Revision 3fd18385 vhdl_json/vhdl_files/2-exportOK/cnes_guidelines/rule/data/STD_05900_bad.json

View differences:

vhdl_json/vhdl_files/2-exportOK/cnes_guidelines/rule/data/STD_05900_bad.json
77 77
                "args" : [["EXPRESSION", {
78 78
                  "args" : [["EXPRESSION", {
79 79
                    "args" : [["EXPRESSION", {
80
                      "args" : [["CALL", ["FUNCTION_CALL", {
81
                        "id" : ["SIMPLE_NAME", "to_integer"], "assoc_list" : [{
82
                          "actual_expr" : ["EXPRESSION", {
80
                      "args" : [["CALL", ["INDEXED_NAME", {
81
                        "id" : ["SIMPLE_NAME", "to_integer"], "exprs" : [["EXPRESSION", {
82
                          "args" : [["EXPRESSION", {
83 83
                            "args" : [["EXPRESSION", {
84 84
                              "args" : [["EXPRESSION", {
85
                                "args" : [["EXPRESSION", {
86
                                  "args" : [["CALL", ["FUNCTION_CALL", {
87
                                    "id" : ["SIMPLE_NAME", "unsigned"], "assoc_list" : [{
88
                                      "actual_designator" : ["SIMPLE_NAME", "i_Length"]}
89
                                    ]}
90
                                  ]]]}
91
                                ]]}
85
                                "args" : [["CALL", ["INDEXED_NAME", {
86
                                  "id" : ["SIMPLE_NAME", "unsigned"], "exprs" : [["EXPRESSION", {
87
                                    "args" : [["EXPRESSION", {
88
                                      "args" : [["EXPRESSION", {
89
                                        "args" : [["EXPRESSION", {
90
                                          "args" : [["CALL", ["SIMPLE_NAME", "i_Length"]]]}
91
                                        ]]}
92
                                      ]]}
93
                                    ]]}
94
                                  ]]}
95
                                ]]]}
92 96
                              ]]}
93 97
                            ]]}
94
                          ]}
95
                        ]}
98
                          ]]}
99
                        ]]}
96 100
                      ]]]}
97 101
                    ]]}
98 102
                  ]]}
......
151 155
                        "args" : [["EXPRESSION", {
152 156
                          "args" : [["EXPRESSION", {
153 157
                            "args" : [["EXPRESSION", {
154
                              "args" : [["CALL", ["FUNCTION_CALL", {
155
                                "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
156
                                  "actual_designator" : ["SIMPLE_NAME", "i_Clock"]}
157
                                ]}
158
                              "args" : [["CALL", ["INDEXED_NAME", {
159
                                "id" : ["SIMPLE_NAME", "rising_edge"], "exprs" : [["EXPRESSION", {
160
                                  "args" : [["EXPRESSION", {
161
                                    "args" : [["EXPRESSION", {
162
                                      "args" : [["EXPRESSION", {
163
                                        "args" : [["CALL", ["SIMPLE_NAME", "i_Clock"]]]}
164
                                      ]]}
165
                                    ]]}
166
                                  ]]}
167
                                ]]}
158 168
                              ]]]}
159 169
                            ]]}
160 170
                          ]]}
......
257 267
                "args" : [["EXPRESSION", {
258 268
                  "args" : [["EXPRESSION", {
259 269
                    "args" : [["EXPRESSION", {
260
                      "args" : [["CALL", ["FUNCTION_CALL", {
261
                        "id" : ["SIMPLE_NAME", "std_logic_vector"], "assoc_list" : [{
262
                          "actual_expr" : ["EXPRESSION", {
270
                      "args" : [["CALL", ["INDEXED_NAME", {
271
                        "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
272
                          "args" : [["EXPRESSION", {
263 273
                            "args" : [["EXPRESSION", {
264 274
                              "args" : [["EXPRESSION", {
265
                                "args" : [["EXPRESSION", {
266
                                  "args" : [["CALL", ["FUNCTION_CALL", {
267
                                    "id" : ["SIMPLE_NAME", "to_unsigned"], "assoc_list" : [{
268
                                      "actual_designator" : ["SIMPLE_NAME", "Count"]}
269
                                    , {
270
                                      "actual_designator" : ["ATTRIBUTE_NAME", {
271
                                        "id" : ["SIMPLE_NAME", "o_Count"], "designator" : ["SIMPLE_NAME", "length"]}
272
                                      ]}
273
                                    ]}
274
                                  ]]]}
275
                                ]]}
275
                                "args" : [["CALL", ["INDEXED_NAME", {
276
                                  "id" : ["SIMPLE_NAME", "to_unsigned"], "exprs" : [["EXPRESSION", {
277
                                    "args" : [["EXPRESSION", {
278
                                      "args" : [["EXPRESSION", {
279
                                        "args" : [["EXPRESSION", {
280
                                          "args" : [["CALL", ["SIMPLE_NAME", "Count"]]]}
281
                                        ]]}
282
                                      ]]}
283
                                    ]]}
284
                                  ], ["EXPRESSION", {
285
                                    "args" : [["EXPRESSION", {
286
                                      "args" : [["EXPRESSION", {
287
                                        "args" : [["EXPRESSION", {
288
                                          "args" : [["CALL", ["ATTRIBUTE_NAME", {
289
                                            "id" : ["SIMPLE_NAME", "o_Count"], "designator" : ["SIMPLE_NAME", "length"]}
290
                                          ]]]}
291
                                        ]]}
292
                                      ]]}
293
                                    ]]}
294
                                  ]]}
295
                                ]]]}
276 296
                              ]]}
277 297
                            ]]}
278
                          ]}
279
                        ]}
298
                          ]]}
299
                        ]]}
280 300
                      ]]]}
281 301
                    ]]}
282 302
                  ]]}

Also available in: Unified diff